Einzelnen Beitrag anzeigen
  #1  
Alt 27.12.07, 19:11
DuffyDuck DuffyDuck ist offline
Forum Stammgast
 
Registriert seit: 07.06.06
Ort: Grevenbroich
Alter: 40
Beiträge: 121

Probleme mit Link Element und Bild Element


Ich habe in einen eigenen Element die Elemente "Link field" und "Image filed". Sobald ich ein Link setze, wird dieser auch direkt vor den Tag img gesetzt. Daruch wird die Aussagen fehlerhaft. Hat einer Idee wie man verhindern, dass der separate LINK auch beim Image angezeigt wird?

HTML Vorlage
HTML-Code:
 <div class="teaser"> <p class="line iconnews"><span>test,</span><span> 16.12.1882:</span></p> <h2>Ein Teaser</h2> <img src="#" > <p>Lorem ipsum </p> <p class="minilink"><a href="#"><span>In domunis patris</span></a></p> </div>
HTML Ausgabe:
HTML-Code:
<div> <p class="line iconnews">Grevenbroich,27.12.2007</p> <h2>Ein Teaser</h2> <a href="javascript:linkTo_UnCryptMailto('lzhksn9zmcqdzrZatqfdq,fu-cd');"> <img src="uploads/tx_templavoila/bild_01.gif"></a> <p></p><p class="bodytext">Endlich geschaft.</p> <p class="bodytext">&nbsp;</p><p></p> <p class="minilink"><a href="javascript:linkTo_UnCryptMailto('lzhksn9zmcqdzrZatqfdq,fu-cd');">andreas(at)burger-gv.de</a></p> </div>
Flexscript
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
<?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_ort type="array">
<tx_templavoila type="array">
<title>Name des Ortes</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>input</eType>
<tags>span:outer</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>Name des Ortes</label>
</TCEforms>
</field_ort>
<field_datum type="array">
<tx_templavoila type="array">
<title>Datum</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>input</eType>
<tags>span:outer</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>Datum</label>
</TCEforms>
</field_datum>
<field_text type="array">
<tx_templavoila type="array">
<title>Text</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>rte</eType>
<tags>p:inner</tags>
<TypoScript><![CDATA[
10 = TEXT
10.current = 1
10.parseFunc = < lib.parseFunc_RTE
]]></TypoScript> - ERROR: Line 66: Object Name String, "]]" contains invalid character "]". Must be alphanumeric or one of: "_-."
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>text</type>
<cols>48</cols>
<rows>5</rows>
<softref>typolink_tag,images,email[subst],url</softref>
</config>
<label>Text</label>
<defaultExtras>richtext:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras>
</TCEforms>
</field_text>
<field_bild type="array">
<tx_templavoila type="array">
<title>Bild</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>image</eType>
<tags>img:outer</tags>
<TypoScript>
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 200

10.stdWrap.typolink.parameter.field = field_link
</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>Bild</label>
</TCEforms>
</field_bild>
<field_link type="array">
<tx_templavoila type="array">
<title></title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>link</eType>
<tags>a:outer</tags>
<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></label>
</TCEforms>
</field_link>
</el>
</ROOT>
</T3DataStructure>

Geändert von DuffyDuck (28.12.07 um 17:08 Uhr).
Mit Zitat antworten