[TYPO3] Replace code in template

Xavier Perseguers typo3 at perseguers.ch
Tue Aug 26 12:26:38 CEST 2008


Hi,

> I want replace some code fragments in template file with another code. 
> The fragments are distributed in head and body part of template. In the 
> past, for this purpose I've used Automaketemplate extention with 
> replacement like
>     HEAD.str_replace.10 {
>        value = 'input.data_
>        replaceWith = 'output.data_
>     }
> 
> Now I'm using Templavoila extention to set template for site, manage 
> content, etc. Is it possible to make such easy replacement in this case?
> I've tried also to use parseFunct.short, but it doesn't work for me.

Could you please be a bit more explicit? Give us an example of what you 
have in your HEAD/BODY and with what you try to replace it. Do you try 
to set the <title> tag for instance?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-english mailing list