[TYPO3] using different templates (outside the ext folder)
JUAN GONZALEZ
jgutirre at uax.es
Thu May 29 11:44:52 CEST 2008
Thanks to everyone for the support!
I think I didn´t explain very well what the problem is..
I´ve got a whole site for the tt_news and I´m trying to use different
templates from outside the tt_news folder so I can share the tt_news´s news
with all the sites, but applying each site´s template iin order to display
the news in different styles and formats
I think this is the best option for not modifying 2 templates each time I
want to change something.
Thanks again!
-----Mensaje original-----
De: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] En nombre de Rob De
Vries
Enviado el: miércoles, 28 de mayo de 2008 21:19
Para: typo3-english at lists.netfielders.de
Asunto: Re: [TYPO3] using different templates (outside the ext folder)
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
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.24.2/1471 - Release Date: 28/05/2008
17:33
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.24.2/1471 - Release Date: 28/05/2008
17:33
More information about the TYPO3-english
mailing list