[Typo3] ext_typoscript_setup.txt deprecated so ???
Jane Larsen
noesgard at gmail.com
Wed Jul 6 15:59:07 CEST 2005
I'm not sure I get that completely... I have now tried to create the setting
using the TS Object Browser and i works fine! Bu how du i "save" these
settings so the get default in my extension? The doc says static template
file but I don't know how to do so...
//Jane
On 7/6/05, "Stig N. Færch" <stig at 8620.dk> wrote:
>
> Jane Larsen wrote:
> > I read in the Core API doc that this: ext_typoscript_setup.txt is
> deprecated
> > and I should use static template files in stead, but how?
>
> I have also wondered how I should do this.
>
> But I think it should be done the same way as it's done in the tt-news
> extension, where the files which should be used are defined in the
> ext_tables.php file:
>
> // initialize static extension templates
> t3lib_extMgm::addStaticFile($_EXTKEY,'static/ts_new/','CSS-based tmpl');
> t3lib_extMgm::addStaticFile($_EXTKEY,'static/css/','default CSS-styles');
> t3lib_extMgm::addStaticFile($_EXTKEY,'static/ts_old/','table-based tmpl');
> t3lib_extMgm::addStaticFile($_EXTKEY,'static/rss_feed/','News-feed
> (RSS,RDF,Atom03)');
>
> /Stig
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list