[Typo3] Two different HTML templates for the same plugin

Jogvan Olsen jo at atlanticvideo.dk
Fri Feb 4 12:55:55 CET 2005


I use the 'Address Directory (sp_directory)' to display addresses on two 
different pages - one page for local addresses and one page for non-local 
addresses.

I want different layout on these pages, so I want to use two different html 
templates for the plugin on these pages.



Address Page 1 <-- I want this page to use the 'local.html' template

Address Page 2 <-- I want this page to use the 'foreign.html' template



I suppose it can be done by putting something like this in TSconfig on the 
page:

plugin.tx_spdirectory_pi1.templateFile = fileadmin/template/sub/foreign.html

but I can't get it to work.



Can somebody help me with this little problem?



Thanks in advance

Jogvan





More information about the TYPO3-english mailing list