[TYPO3-dev] Customtag inside of a List

Carsten bleicker at boros.de
Sat Mar 29 15:40:55 CET 2008


hi there,
i have to define a customtag for the rte.
so i defined a tag like <courselink>3,Linkname<courselink>
this means <courselink>$course,$linktitle</courelink>.

my ts i told the following:
lib.parseFunc.tags{
	courselink = TEXT
	courselink{
		current = 1
		listNum = 1
		typolink.parameter = {$cenit_schulung.pages.coursedetail}
		typolink.additionalParams.cObject = COA
		typolink.additionalParams.cObject {
			10 = TEXT
			10.current = 1
			10.listNum = 0
			10.wrap = &tx_cenitschulung[course]=|
			10.required = 1
		}
		parseFunc.constants = 1
	}
}

lib.parseFunc_RTE.tags.courselink < lib.parseFunc.tags.courselink

what happens now is that the <courselink> is parsed correctly inside a <p>
but not insite a <li>. i tried now to define a customtag "li" and give it
the parsefunf for <courselink>. doesnt work =(

help is needed =)

thanks a lot

carsten




More information about the TYPO3-dev mailing list