[Typo3] Re: call php variable from TS
Nick Sutterer
nick at tesbo.com
Tue Feb 22 12:10:32 CET 2005
hi mariagrazia,
> This variable is set in an extension .php file and I'd want to print its
> content in my template instead of styles.content.get, only in one page
> of my site.
>
> Is it the right way to solve the problem or there is another one?
>
why don't you echo the variable content in a file 'output.html' and include
this file via TS:
lib.your_content = TEMPLATE
lib.your_content {
template = FILE
template.file = output.html
}
assumed *your* TEMPLATE is page.10, insert the file like that:
page.10.marks.CONTENT < lib.your_content
cheers,
nick
More information about the TYPO3-english
mailing list