[TYPO3-german] TV: Typolink und flexform_getfield
H. Reimers
h.reimers at neonaut.de
Thu Sep 11 12:00:39 CEST 2008
Hallo
ich versuche einen Link von einer übergeordneten Seite zu erhalten aber
irgendwie kriege ich das nciht hin.
Mit Bildern ist es kein Problem, aber wie mache ich es mit Typolinks?
Hier mein DS auszug...
<field_image type="array">
<tx_templavoila type="array">
<title>Logo</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>image</eType>
<TypoScript><![CDATA[
10 = IMAGE
10.file.import.cObject =< plugin.tx_flexformgetfield_pi1
10.file.import.cObject.recLevel = -1
10.file.import.cObject.field = field_image_three
10.file.import.current = 1
10.file.import.listNum = 0
10.file.import.wrap = uploads/tx_templavoila/|
10.file.maxW = 149
10.stdWrap.typolink.parameter.field = field_link_three
]]></TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
<label>Logo</label>
</TCEforms>
</field_image>
<field_link type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Link</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>link</eType>
<TypoScript><![CDATA[
10 = TEXT
10.typolink.parameter <= plugin.tx_flexformgetfield_pi1
10.typolink.parameter.recLevel = -1
10.typolink.parameter.field = field_link_three
10.typolink.returnLast = url
]]></TypoScript>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>15</size>
<max>256</max>
<checkbox></checkbox>
<eval>trim</eval>
<wizards type="array">
<_PADDING type="integer">2</_PADDING>
<link type="array">
<type>popup</type>
<title>Link</title>
<icon>link_popup.gif</icon>
<script>browse_links.php?mode=wizard</script>
<JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
<label>Link</label>
</TCEforms>
</field_link>
Danke
More information about the TYPO3-german
mailing list