[TYPO3-templavoila] Accessing a templavoila field in ts template
ron at busynoggin.com
Sun Sep 10 15:46:36 CEST 2006
I thought I had closed this thread but found extra info that will be of use
to those looking at it in the future.
After all that work I finally found what seems to be the easiest way to
retrieve the value of a TemplaVoila field to use in a regular ts template.
The stdWrap ".field" will work.
quickLinksStatus.field = field_quick_links_status
Will retrieve the the value of the TemplaVoila field named
Can't be simpler than that. I don't think I found it earlier because of
syntax problems in my test code. Of course, I am sure that has never
happened to anybody else. :)
The extension mentioned earlier could still be used if you needed to
retrieve the value of a tv field from a different page than your current
page but otherwise I would just use stdWrap.
Thanks for all the input from you. It was helpful in the journey to the
On 9/8/06 3:32 PM, "Ron Hall" <ron at busynoggin.com> wrote:
> That works perfectly. Thank you very much.
> For those interested, simply install the extension. Then use typoscript in a
> regular ts template like this:
> lib.testNow.30 = USER
> lib.testNow.30.userFunc = tx_flexformgetfield_pi1->main
> lib.testNow.30.field = field_color_theme
> Replace "field_color_theme" with the name of the templa field you want to
> Must be a "EL" field and not within any container or section.
> Thanks again,
> Ron Hall
> On 9/8/06 11:11 AM, "Martin Klaus" <klausm at in.tum.de> wrote:
>> Hi Ron,
>> If you want to access TV-Field values from a typoscript template record,
>> maybe this extension is what you need:
>> "Ron Hall" <ron at busynoggin.com> schrieb im Newsbeitrag
news:mailman.5134.1157728454.6911.typo3-project-templavoila at lists.netfielders>>
>>> Is there typoscript that can be used in a normal typoscript template to
>>> retrieve the value in a templavoila field? If so what is an example of
>>> If typoscript cannot be used then is the only other way a user function?
>>> I have done a lot of searching and have not found an answer. In couple of
>>> places is seemed that folks indicated that it could be done using the
>>> stdWrap "field." And I have used that in ts within a data structure to
>>> access another templavola field but I do not know how to do it in a normal
>>> typoscript template.
>>> Appreciate any direction.
>>> Ron Hall
>> TYPO3-project-templavoila mailing list
>> TYPO3-project-templavoila at lists.netfielders.de
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.netfielders.de
More information about the TYPO3-project-templavoila