[TYPO3] how to substitute a template.file in an extensiontemplate?

Tomasz Chmielewski mangoo at wpkg.org
Mon Oct 29 11:32:59 CET 2007


Katja Lampela schrieb:
> Why not just
> page.10.template.file = fileadmin/templates/newfile.htm

Oh, indeed it works - the ###SEARCH### mark is now replaced. Why didn't 
I try it before?

However, there are still some glitches:

1. On a page with an extension template, a target="page" is appended to 
the search form. Now all search results open in a new window.
I have to re-add PAGE_TARGET = in the "Constants" part of the extention 
template.
Why?

2. Some custom changes are gone, like:

lib.stdheader.3.headerClass >
lib.stdheader.10.1.fontTag = ...
lib.stdheader.10.2.fontTag = ...

I have to re-add them to the extension template. Again - why?


-- 
Tomasz Chmielewski
http://wpkg.org


More information about the TYPO3-english mailing list