[Typo3] ext_typoscript_setup.txt deprecated so ???
noesgard at gmail.com
Thu Jul 7 18:20:46 CEST 2005
the extension kickstarter makes a file (pi/static/setup.txt) for TS
and includes a line ext_tables.php to make this available in the
template where you are using the extension.
You can make new entries too but this works perfectly fine for my case
at the moment
Thx for pointing the right direction here (even if I didn't get it at first)
On 7/6/05, Jane Larsen <noesgard at gmail.com> wrote:
> 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...
> 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
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
More information about the TYPO3-english