[TYPO3-german] [Typo3-german] externe und interne links
Philipp Holdener
philipp at holdener.ch
Thu Dec 22 16:09:29 CET 2005
Hallo Michael
Sende dir den Code meines "Text mit Link" Element.
Besteht aus 3 Feldern: Text, URL und URL Titel.
Dabei kannst du bei der URL wie beschrieben den Target-Wert auswählen..
Musst einfach das # bei Target mappen und den Typ "Selector Box" wählen..
Hoffe das hilft
Gruss
Philipp
<T3DataStructure>
<ROOT type="array">
<tx_templavoila type="array">
<title>ROOT</title>
<description>Select the HTML element on the page which you want
to be the overall container element for the template.</description>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_text type="array">
<tx_templavoila type="array">
<title>Text</title>
<sample_data type="array">
<numIndex index="0">Text</numIndex>
</sample_data>
<eType>input</eType>
<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>Text</label>
</TCEforms>
</field_text>
<field_link type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Link URL</title>
<sample_data type="array">
<numIndex index="0">Link</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>Link URL</label>
</TCEforms>
</field_link>
<field_linktitel type="array">
<tx_templavoila type="array">
<title>Link Titel</title>
<sample_data type="array">
<numIndex index="0">Link Titel</numIndex>
</sample_data>
<eType>input</eType>
<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>Link Titel</label>
</TCEforms>
</field_linktitel>
<field_target type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Link Ziel</title>
<description>_blank für ein neues Fenster, _parent für
gleiches Fenster</description>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>select</eType>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Öffnen im gleichen
Fenster</numIndex>
<numIndex index="1">_parent</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">Öffnen in einem neuen
Fenster</numIndex>
<numIndex index="1">_blank</numIndex>
</numIndex>
</items>
<default>0</default>
</config>
<label>Link Ziel</label>
</TCEforms>
</field_target>
</el>
</ROOT>
</T3DataStructure>
More information about the TYPO3-german
mailing list