[TYPO3-german] Link field bei TemplaVoilà
Valentin Funk
lists4funk at kleinhohenheim.de
Wed May 24 14:13:35 CEST 2006
Hallo,
danke für den schnellen Hinweis. Auch wenn Harry jetzt nicht mehr am
Platz ist, eine Frage danach.
Harald Klotzberg schrieb am 24.05.2006 12:49:
[...]
> Nehmen wir an Dein Feld für den href heisst
> field_href und das für den titel field_title
>
> dann genügt ein
>
> <TypoScript>
> <![CDATA[
> 10 = TEXT
> 10.field = field_href
> ]]>
> </TypoScript>
Das sieht bei mir schon fast so aus:
<field_website type="array">
<TypoScript>
10 = TEXT
10.field = field_url
</TypoScript>
<tx_templavoila type="array">
<title>Internetauftritt</title>
<description>Nur den sichtbaren Teil des
Links</description>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>input</eType>
<tags>a</tags>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
<label>Internetauftritt</label>
</TCEforms>
</field_website>
Und das dazugehörende URL-Feld:
<field_url type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Internetadresse</title>
<description>href-Attribut des a-Tags.</description>
<sample_data type="array">
<numIndex index="0">http://www.test.de/</numIndex>
</sample_data>
<eType>link</eType>
<TypoScript>
10 = TEXT
10.typolink.parameter.current = 1
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>Internetadresse</label>
</TCEforms>
</field_url>
Kann mir noch jemand weiterhelfen, damit ich aus beiden quasi ein Feld
machen kann und die Redakteurin nicht zweimal das gleiche eingeben muss?
Danke und Grüße
Valentin
--
Valentin Funk <lists4funk at kleinhohenheim.de>
E-Mail kennt auch Stil: http://learn.to/quote/ -- Danke!
More information about the TYPO3-german
mailing list