[TYPO3] content rendering
JoH
info at cybercraft.de
Thu May 4 02:25:54 CEST 2006
> i am not really a newbie to typo3 but sometimes i really feel like
> one ;)
>
> actually i have some extensions that get included at some point of my
> page. but i would like the extension to occupy different content
> places of my layout. so is there a way of achieving this
> directly and NOT to put different instances in different content
> places? Perfect would be something like
> $conf['page.']['10.']['value'] = $myextensionoutput - thats possible
> somehow?
>
> Any ideas highly appreciated!
Try the stdWrap Function setCurrent.
page.10 = COA
page.10 {
stdWrap.setCurrent.cObject < plugin.myextension
stdWrap.setCurrent.cObject {
# some modifications if necessary
}
10 = TEXT
10.value = whatever
10.wrap = <div>|</div>
20 = TEXT
20.current = 1
20.wrap = <div>|</div>
30 = TEXT
30.value = whatever
30.wrap = <div>|</div>
40 = TEXT
40.current = 1
40.wrap = <div>|</div>
}
This code will insert the content of plugin.myextension in sections 20 and
40 of the COA.
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
More information about the TYPO3-english
mailing list