[TYPO3] using different templates (outside the ext folder)
Rob De Vries
spam_this at pandora.be
Wed May 28 21:18:59 CEST 2008
JUAN GONZALEZ wrote:
> Hi everyone!
>
>
>
> Can somebody tell me how can I use different templates (outside the ext
> folder)??
dive into the tt_news typoscript constant text files in
/typo3conf/ext/tt_news/static/ts_new/
you'll see:
plugin.tt_news.file.templateFile=EXT:tt_news/pi/tt_news_v2_template.html
add this line to the constant part of your news page (or in your root
page) and change the path to the tt_news_v2_template.html file you have
copied and pasted in your fileadmin dir.
you'll get something like:
plugin.tt_news.file.templateFile=
fileadmin/templates/news/tt_news_v2_template.html
if you choose a template in the tt_news content element on a page, this
will be presedent. best thing is to define your template with
typoscript, and not in the element itself (it gets cached)
good luck
--
------------------------------------------------------------
web : http://www.rob-ot.be
skype : rob-ot
------------------------------------------------------------
[O_o] -- Don't feed the rob-ot
More information about the TYPO3-english
mailing list