[TYPO3-templavoila] how to parse a field in FCE userFunc or TS and return the content to website
Tobias Pinnekamp
typo3 at tpinne.de
Wed Sep 20 14:50:35 CEST 2006
Hi,
I'm trying to enable a field in my FCE to select a custom data record
from the backend. Thats works fine, but I cannot display the content of
that field on the website. And further more I cannot process it to fit
it to my needs.
In detail I want to select one or more download records from a sysfolder
and display them as download link with title. The XML to select the data
records is as follows:
<field_downloads type="array">
<tx_templavoila type="array">
<title>Downloads</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>input</eType>
<TypoScript>
10 = TEXT
10.current = 1
</TypoScript>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tx_jpdownloadbox_downloads</allowed>
<size>5</size>
<maxitems>22</maxitems>
<minitems>0</minitems>
<show_thumbs>1</show_thumbs>
</config>
<label>Downloads</label>
</TCEforms>
</field_downloads>
This works fine for selecting the records. But the content of this
field, a list of ids, is not displayed anyway on the website. With TS or
without. After trying several ways with TS I thaught if it is possible
with a userFunc.
I hope anybody has a hint for me. Whether with TS or a userFunc.
Best regards
Tobias
More information about the TYPO3-project-templavoila
mailing list