[TYPO3-english] how to include element in file-path
Marieke Vandamme
marie at tvh.be
Wed Dec 3 13:42:37 CET 2008
It works with your suggestion. Thanks a lot !
Maybe you can help me with another one.
Is it possible to use the leveltitle in a if-statement?
Something like this:
[leveltitle = mypage]
#do a
[ELSE]
#do b
[END]
Thanks! Marieke.
Victor Livakovsky wrote:
>
>
>> Hello,
>>
>> Is it possible to do something like this:
>>
>> plugin.tx_automaketemplate_pi1 {
>> content = FILE
>> content.file = fileadmin/templates/{leveltitle:-2}.html
>> }
>>
> I'm not sure, that my code will work, but you always may
> try and play around:
>
> content = FILE
> content.file.import.data = leveltitle:-2
> content.file.import.stdWrap.wrap = fileadmin/templates/|.html
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
--
View this message in context: http://www.nabble.com/-TYPO3-english--how-to-include-element-in-file-path-tp20811281p20812269.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list