[TYPO3] inserting .html file in templavoila as a TypoScriptObject
Rafael Freuler
rafi at 4eyes.ch
Fri Oct 20 16:31:29 CEST 2006
Tim H wrote:
> I have a problem i am trying to put some easily changeable content into a template. i have been trying to insert content from an external html file using a TypoScriptObject in TemplaVoila, i am posting this because it isn't working. below is the typoscript i am trying, at the end of the post is the xml section from templavoila.
>
> lib.footerField = FILE
> lib.footerField.file = fileadmin/footer.html
>
> i have tested changing lib.footerField to a type HTML and i get an output at the right spot but i can't get the external html file to load. any assistance would be appreciated. i would be happy to get a suggestion of an alternative method, but i am trying to get the element constant across the template and easily updateable.
I don't know about including a file but you could include a content
element like this:
lib.footerField = RECORDS
lib.footerField {
dontCheckPid = 1
source = tt_content_187
tables = tt_content
}
You can put the content element (of type HTML) somewhere on a page that
is not displayed in a menu. Then you can even edit it directly in TYPO3.
Cheers,
Rafi
More information about the TYPO3-english
mailing list