[TYPO3-dev] How to use an xml template on an extension instead of an hmtl?
Juan Asencio
jao at dmi.dk
Fri Aug 16 12:06:03 CEST 2013
Hello everybody,
I made an extension where I want to display an xml file. Looking at tt_news, the extension has a list.html and a list.xml file to display rss. According to the manual, one should specify on the template that the plugin should use xml.
I tried to do that in my extension but doesn't work. Any suggestions how to achieve that.
I have on my extension under Resources/Private/Templates/MyExtension/Show.html and Resources/Private/Templates/MyExtension/Show.xml
On my Template setup I have the following line:
# set the format
plugin.tx_myextension.settings.format = xml
But I still get an html file when I see the page.
I guess it might not be enough just to add the #set the format line on the template. But I can figure it out what else I need to do.
Any guidelines will much appreciated.
Have a nice weekend.
Juan.-
More information about the TYPO3-dev
mailing list