Hallo zusammen,
ich versuche gerade in der DS (Data Structures) einen Link zu definieren der ein neues Popup Fenster öffnet (in dem Popup sollen Grafiken ausgegeben werden JPGs).
Eigentlich ist das ziemlich simpel aber in TemplaVoila funktioniert der bekannte Ansatz nicht.
<a href="xxx.html" onclick="javascript:window.open(this.href,'','width=800,height=600,resizable
=0,scrollbars=1,status=0,toolbar=0, top=70, left=100'); return false;">
Zu dem Thema habe ich hier im Forum schon einiges gefunden, leider funktioniert es bei mir nicht:
http://www.typo3forum.de/forum/list/list_post//47757/?page=1&sword=templavoila%20link#pid181833
Was mache ich falsch? Hier ein Ausschnitt aus der DS Struktur:
<field_link type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>linktext</title>
<sample_data type="array">
<numindex index="0"></numindex>
</sample_data>
<etype>link</etype>
<typoscript><![CDATA[
10 = TEXT
10.typolink.typolink.parameter.field = field_link]]>
</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 type="text/javascript">browse_links.php?mode=wizard</script>
<jsopenparams>height=300,width=500,status=0,menubar=0,scrollbars=1</jsopenparams>
</link>
</wizards>
</config>
<label>image link</label>
</tceforms>
</field_link>
<field_imageheight type="array">
<tx_templavoila type="array">
<title>height</title>
<sample_data type="array">
<numindex index="0"></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>4</size>
<eval>int</eval>
<checkbox>0</checkbox>
<range type="array">
<upper>400</upper>
<lower>0</lower>
</range>
<default>0</default>
</config>
<label>height</label>
</tceforms>
</field_imageheight>
<field_imagewidth type="array">
<tx_templavoila type="array">
<title>width</title>
<sample_data type="array">
<numindex index="0"></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>4</size>
<eval>int</eval>
<checkbox>0</checkbox>
<range type="array">
<upper>300</upper>
<lower>0</lower>
</range>
<default>0</default>
</config>
<label>width</label>
</tceforms>
</field_imagewidth>
Für eure Tipps und Verbesserungsvorschläge danke ich schon im Voraus.
Mit Gruß
Martin