[TYPO3-german] RECORDS - gelöst
andi zaugg
az at cabag.ch
Thu Jan 26 16:13:35 CET 2006
hallo zusammen
nun, das ganze ist gelöst! hier mein schnippsel:
lib.contentleft = COA
lib.contentleft {
stdWrap.ifEmpty.cObject = RECORDS
stdWrap.ifEmpty.cObject {
source.postUserFunc = tx_kbtvcontslide_pi1->main
source.postUserFunc.field = tmplmaincontentright
#source.postUserFunc.collect = 1
source.postUserFunc.typolink = 43
tables = tt_content
}
10 = RECORDS
10{
source.current=1
tables = tt_content
}
}
anmerkung:
tx_kbtvcontslide_pi1->main ist die 'kb_tv_cont_slide' extension
anmerkung2:
source.postUserFunc.typolink = 43
dies hatte keine funktion. eigendlich wollte ich sowas ähnliches wie
"pidInList", das existiert aber nicht in dieser funktion. nun habe ich die
extension angepasst "class.tx_kbtvcontslide_pi1.php" zeile 69 habe ich
ersetzt mit:
if(empty($conf['typolink'])){
$page = $GLOBALS['TSFE']->sys_page->getPage($page['uid']);
}
else{
$page = $GLOBALS['TSFE']->sys_page->getPage($conf['typolink']);
}
ist zwar ein "gebastel" aber es funktioniert!
anmerkungen gerne willkommen!
gruss andi
More information about the TYPO3-german
mailing list