[TYPO3] want to pass a constant from template record into the template

Andrew Davis andrew at theandrewunderground.com
Thu Dec 14 04:10:43 CET 2006


i want to pass a string to a template from a constant



constants
---------
the_string.Content = image.jpg


setup
-----

temp.bodyTemplate {
subparts.header_section_image < {$the_strong.Content}
}
page.10 < temp.bodyTemplate




in the .html file i have a part that has a marker

<img="<!-- ###header_section_image### -->" />



when i load the page, the marker is removed but not replaced with the 
string i want. its empty.



any help much appreciated.
Andrew Davis


More information about the TYPO3-english mailing list