[TYPO3] Using extension templates

Geir-Tore Lindsve geir-tore at jabber.no
Mon Sep 11 15:19:54 CEST 2006


Den 11. sep. 2006 kl. 14.48 skrev Dmitry Dulepov:

> Hi!
>
> Geir-Tore Lindsve wrote:
>> What I want to achieve is to add content to subparts in extension
>> templates in my site tree, but I can't seem to figure it out. Can  
>> anyone
>> please advise me to this?
>
> You can define TS properties in main template and override them in
> extension template.

That is what I have been trying. What I tried now is in my main  
template:

temp.navimage = TEXT
temp.navimage.value = <img src=""/>

In my template section in main TS setup:
subparts.nav_image < temp.navimage


And in my extension templates I have:

temp.navimage.value = <img src="correctUrl" />

But it loads the image listed in the main template which I want to  
override.
--
Mvh/Regards
Geir-Tore Lindsve
geir-tore at jabber.no
http://lindsve.net





More information about the TYPO3-english mailing list