[TYPO3] inserting .html file in templavoila as a TypoScriptObject
Tim H
typo3-english at lists.netfielders.de
Thu Oct 19 13:51:28 CEST 2006
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.
Thanks in advance
----------------- templavoila xml -------------------
<field_footer type="array">
<tx_templavoila type="array">
<title>Footer</title>
<description>Pick the footer Cell so user can edit it</description>
<sample_data type="array">
<numIndex index="0">[footer text goes here]</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<tags>div</tags>
<eType_EXTRA type="array">
<objPath>lib.footerField</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.footerField</TypoScriptObjPath>
</tx_templavoila>
<TCEforms type="array">
<label>Footer</label>
</TCEforms>
</field_footer>
More information about the TYPO3-english
mailing list