[TYPO3-ttnews] My own template for tt_news

Xatucans Xatucans at gmail.com
Fri Jun 23 11:55:57 CEST 2006


Hi, thank you for our answer, I try that way and it works fine, but I think
there must be other way to do this from TS setup (with out calling the css
from the template page). Anyboy knows something about?


"Thomas Ziirsen" <ziirsen at linkfactory.dk> escribió en el mensaje
news:mailman.1.1151050915.12010.typo3-project-tt-news at lists.netfielders.de...
> Xatucans wrote:
> >  Thanks for your answer, I do it like you say and now I can get my new
own
> > template, but  I've a problem with ccs. I create a new css file (in my
own
> > template's same folder), but it doesn't get it, the news continue
rendering
> > with ext folder css. I suppose I must call me new css file from the TS
setup
> > too, but I don't know how.
> >
> > "ben van 't ende [netcreators]" <ben at netcreators.com> escribió en el
mensaje
> >
news:mailman.1.1151008232.31164.typo3-project-tt-news at lists.netfielders.de...
> >
> >>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
> >>
> >
> >
> >
> If you can add a stylesheet on your "page template" with the CSS
> class's/id's corresponding with the onces tt_news auto generates on
> rendering, and they will get overwriten.





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