[TYPO3-ttnews] My own template for tt_news

ben van 't ende [netcreators] ben at netcreators.com
Thu Jun 22 22:30:32 CEST 2006


Xatucans wrote:
> Hi, I want to create my own template for tt_news and locate it outside the
> ext folder. I write this code in the TS setup field of the root page's
> template
> 
> plugin.tt_news.templateFile =
> fileadmin\template\tt_news\tt_news_template.html
> 
> (fileadmin\template\tt_news\tt_news_template.html is the location and the
> name of the new template)
> but it doesn't work.
> 
> I have tried different configurations:
> 1- if I include Css-based tmpl (tt_news) or Table-based tmpl (tt_news) in
> Include static (from extensions)  field of my root template, tt_news gets
> its default template (from ext/tt_news... folder) and shows the news with
> this template
> 
> 
> 2- but if I remove them (Css-based tmpl (tt_news) or Table-based tmpl
> (tt_news)) and write the code above in the TS setup field, the tt_news
> doesn't work.
> 
> 3- If I leave the code and Css-based tmpl (tt_news) or Table-based tmpl
> (tt_news) the news appears, but they don't get my own template.
> 
> Can anybody tell me how can I do it? thanks

Hi

Number 1 seems ok to me. Use the object browser from the template module
to check if you configured templateFile right. Maybe your TS setup is
not inherited in some way.

gRTz

ben
-- 
netcreators :: creation and innovation
www.netcreators.com -  www.typo3.nl




More information about the TYPO3-project-tt-news mailing list