[TYPO3-UG Dutch] Op Gifbuilder image komt wel een link maar geen target
Hocom @dvies
info at hocom-advies.nl
Thu Jan 15 13:55:09 CET 2009
Iemand die hiermee kan helpen?
----- Original Message -----
From: Hocom @dvies
To: TYPO3 Usergroup Dutch
Sent: Monday, January 05, 2009 12:45 PM
Subject: [TYPO3-UG Dutch] Op Gifbuilder image wel link maar geen target
Onderstaande code is van een flexibel inhouds element waarmee een foto met een tekstje en een link op de pagina kan worden gezet. Dat werkt prima alleen kan er in / voor de link geen target, of alt_tekst etc worden toegevoegd.
Ik zou graag nog iets toevoegen aan de onderstaand code om dat alsnog te kunnen doen. Dus een stukje extra input, zoals je dat handmatig in je <a hreff= tag target =blank title= alt= ></a> met html in een link zou toevoegen. Nu echter via de onderstaande FE foto_box.
de code:
[code]
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langDisable>1</langDisable>
</meta>
<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_image type="array">
<tx_templavoila type="array">
<title></title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>imagefixed</eType>
<TypoScript>
10= IMAGE
10.file = GIFBUILDER
10.file {
XY = 180,290
quality = 100
format = jpg
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
20 = IMAGE
20.file = fileadmin/images/tekstachtergrond.png
20.offset = 0,225
30 = TEXT
30.text.field= field_text
30.fontColor = #000099
30.fontFile = fileadmin/fonts/ariblk.ttf
30.fontSize = 9
30.text.case = upper
30.offset = 8,245
}
10.stdWrap.typolink.parameter.field = field_link
10.altText.field = field_text
</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></label>
</TCEforms>
</field_image>
<field_link type="array">
<tx_templavoila type="array">
<title>field_link</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>link</eType>
<TypoScript>
10 = TEXT
10.typolink.parameter.current = 1
</TypoScript>
</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>field_link</label>
</TCEforms>
</field_link>
<field_text type="array">
<tx_templavoila type="array">
<title></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>48</size>
<eval>trim</eval>
</config>
<label></label>
</TCEforms>
</field_text>
</el>
</ROOT>
</T3DataStructure>
[/code]
Hocom Advies Marketing
Wiechert Hooghwinkel
_______________________________________________
TYPO3-UG-dutch mailing list
TYPO3-UG-dutch at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
More information about the TYPO3-UG-dutch
mailing list