[TYPO3-german] tt_products list-ansicht mit leerem link

thorsten greiner ng-reply at brainoutput.net
Wed Jun 7 12:25:31 CEST 2006


moin...

leider ergibt das wieder einen leeren link... also schlicht <a href="">

bisher hat das alles nicht geholfen. ich hab auch schon alles mögliche an
plugins rausgeworfen, tidy und xhtml-cleaning deaktiviert aber nichts...

vielleicht hilft mein setup:

# ausgabe
page = PAGE
page.typeNum = 0

###############################################
#remove non-valid attributes from body-tag
page.bodyTag = <body>
###############################################

###############################################
#generate xhtml-code
config.xhtml_cleaning = all
###############################################

###############################################
#remove <br> after <h1>
lib.stdheader.10.stdWrap.wrap =
###############################################

tt_content.stdWrap.dataWrap =
lib.stdheader.stdWrap.dataWrap =

###############################################
#CSS-Angaben fuer p-tags bereinigen
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
P.style=
PRE.style=;
}
###############################################

###############################################
#no wrapping of RTE lines
tt_content.text.20.parseFunc {
  nonTypoTagStdWrap.encapsLines.nonWrappedTag >
  nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <p>|</p>
  allowTags = a,h1,h2,h3,p,br,b,i,strong,em
}

###############################################

###############################################
#bullet lists
tt_content.bullets.20.2.wrap = <ul>|</ul>
tt_content.bullets.20.2.split.1.wrap =
tt_content.bullets.20.3.wrap = <ul>|</ul>
tt_content.bullets.20.3.split.1.wrap =
tt_content.bullets.20.default.split.1.wrap =
tt_content.bullets.20.default.wrap = <ul>|</ul>
###############################################

###############################################
# Einstellungen für Listen aus RTE
tt_content.text.20.parseFunc.tags.typolist.default.wrap = <ul class="list1">
| </ul>
tt_content.text.20.parseFunc.tags.typolist.default.split.1.wrap =
tt_content.text.20.parseFunc.tags.typolist.1.fontTag = <ol class="list1"> |
</ol>
tt_content.text.20.parseFunc.tags.typolist.1.split.1.wrap =
###############################################

###############################################
# space über und unter bildern
tt_content.image.20.spaceBelowAbove = 0
###############################################

###############################################
# Konfiguration der Sprachen

# Standardsprache deutsch wird festgelegt
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
date_stdWrap.strftime = %d. %B %Y
time_stdWrap.strftime= %H:%M
 
# die Variable zur Sprachauswahl wird definiert
config.linkVars = L

# die verschieden Seiten-Sprachen werden definiert
# Deutsch, sys_language.uid = 0

[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
date_stdWrap.strftime = %d. %B %Y
time_stdWrap.strftime= %H:%M
[global]
 
# English language, sys_language.uid = 1

[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = english
date_stdWrap.strftime = %d of %B %Y
time_stdWrap.strftime= %I:%M %p
[global]
###############################################

###############################################
# tt_products
plugin.tt_products.templateFile = fileadmin/templates/produkte_template.html
[globalVar = GP:L = 1]
plugin.tt_products.templateFile = fileadmin/templates/produkte_template.html
[global]
plugin.tt_products.PIDitemDisplay {
  10.type = pid
} 
###############################################

###############################################
# visitor tracking
page.1015 >
page.1015< plugin.tx_dephpot_pi1
###############################################

###############################################
# indexing
page.config.index_enable = 1
page.config.index_externals = 1
page.config.no_cache = 0
###############################################

###############################################
# seiten einstellungen

config.admPanel = 0

# awstats
config.stat = 1
config.stat_apache = 1
config.stat_typeNumList = 0
config.stat_excludeBEuserHits = 1
config.stat_apache_logfile = gosys-log.txt

# anderes
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
config.disablePrefixComment = 1
###############################################

###############################################
# content-slide
plugin.tx_kbcontslide_pi1.content.select.where = colPos=1
###############################################

###############################################
# stylesheet
[browser = msie,opera]
page.stylesheet = fileadmin/templates/styles/styles.css
[browser = netscape,unknown]
page.stylesheet = fileadmin/templates/styles/styles.css
[global]
###############################################

###############################################
# news
plugin.tt_news._LOCAL_LANG.de {
  latestHeader = Aktuelle Meldungen
  textRelated = Lesen Sie hierzu auch:
  backlink = zur&uuml;ck zu:
}
plugin.tt_news._LOCAL_LANG.en {
  latestHeader = Latest News
  textRelated = Related to this article:
  backlink = back to:
}
plugin.tt_news.general_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines {
  addAttributes {
    P.style =
  }
  #nonWrappedTag >
}

plugin.tt_news.displayList.content_stdWrap.HTMLparser = 1
plugin.tt_news.displayList.content_stdWrap.HTMLparser.removeTags = span
plugin.tt_news.displayList.content_stdWrap.crop = 150|...|1 # die 1 am
schluss sorgt dafuer, dass woerter nicht abgebrochen, sondern ausgeschrieben
werden 
plugin.tt_news.displayList.date_stdWrap.strftime = %A %d. %B %Y
plugin.tt_news.displaySingle.date_stdWrap.strftime = %A %d. %B %Y
###############################################

###############################################
# suche
plugin.tx_macinasearchbox_pi1.templateFile =
fileadmin/templates/searchbox_template.html
plugin.tx_macinasearchbox_pi1._LOCAL_LANG.de.headline = Suchen
plugin.tx_macinasearchbox_pi1.pidSearchpage = 73

plugin.tx_indexedsearch.templateFile =
fileadmin/templates/indexed_search_template.html
plugin.tx_indexedsearch.show.rules = 0
plugin.tx_indexedsearch.show.L1sections = 0
plugin.tx_indexedsearch.show.parsetimes = 1
plugin.tx_indexedsearch.tableParams.secHead = border="0" cellpadding="2"
cellspacing="0" width="100%"
plugin.tx_indexedsearch.tableParams.searchRes = border="0" cellpadding="2"
cellspacing="0" width="100%"
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
###############################################


plugin.tx_loginboxmacmade_pi2.template =
fileadmin/templates/loginbox_template.html

###############################################
# ausgabe
page.20 = TEMPLATE
page.20 {
  template = FILE
  template.file = fileadmin/templates/main_template.html
  workOnSubpart = DOCUMENT_ALL
  ### Definieren der Marker ###
  marks.BREADCRUMBS = TEXT
  marks.BREADCRUMBS < temp.breadcrumbs
  marks.MENU = TEXT
  marks.MENU < temp.menu
  marks.HEADLINE = TEXT
  marks.HEADLINE.field = subtitle//title
  marks.CONTENT = TEXT
  marks.CONTENT < styles.content.get
  marks.INFONAV = TEXT
  marks.INFONAV < temp.infonav
  marks.NEWS_LATEST = TEXT
  marks.NEWS_LATEST < plugin.tx_kbcontslide_pi1
  marks.LANGUAGE = PHP_SCRIPT
  marks.LANGUAGE.file = fileadmin/scripts/my_language.php
  marks.SEARCHBOX = TEXT
  marks.SEARCHBOX < plugin.tx_macinasearchbox_pi1
  marks.FOOTER = TEXT
  marks.FOOTER < temp.footer
}

# news single auf gleicher seite wie news list
plugin.tt_news.code >
plugin.tt_news.code = LIST
[globalVar  = GP:tx_ttnews|tt_news > 0]
plugin.tt_news.code = SINGLE
page.20.marks.CONTENT >
page.20.marks.CONTENT < plugin.tt_news
[global]

###############################################

ich weiß nun echt nicht mehr weiter... würd ja gern die 2.4.10 benutzen,
aber da hab ich wie gesagt das problem, daß die artikel der alternativen
sprache nicht angezeigt werden...

danke bis hierher...

cheers, thorsten

Am 07.06.2006 9:17 Uhr schrieb "Franz Holzinger" unter
<franz at fholzinger.com> in
mailman.1.1149664381.13185.typo3-german at lists.netfielders.de:

>> 
>> allerdings kommt dann ein solcher link dabei raus:
>> 
>> index.php?id=79&L=1&backPID=58&tt_products=1
>> 
>> was folglich zu folgender fehlermeldung führt:
>> 
>> Wrong parameters, GET/POST var 'tt_products' was missing or no product with
>> uid = 1 found.
>> 
> Da ist PIDitemDisplay falsch gesetzt worden. Erst mit 2.4.10 wurde das
> etwas vereinfacht.
> 
> In früheren Versionen muß das gesetzt sein, falls die Einzelansicht auf
> der Listenseite erscheinen soll:
> plugin.tt_products.PIDitemDisplay {
>   10.type = pid
> }
> 
> 
> Gruß,
> 
> Franz
> 
> 
> 

-- 
there are only 10 types of people who understand binary... those who do and
those who don't...




More information about the TYPO3-german mailing list