Zum Inhalt springen

a:attr:href

Erstellt am 24. August 2012 · 1 Antwort · letzte Antwort am 28. August 2012

Tags: Frage

erdna ·

#angry#

Ich habe einen Fehler in der Darstellung von URLs, als Zieladresse erscheint immer die aktuelle Seite/Domain.

Praktisch ansehbar hier: http://www.eclecticphotos.us/news.html - alle links gehen zu http://www.eclecticphotos.us oder http://www.eclecticphotos.us/news.html.

Die Seite besteht aus FCE, das Bild zeigt das mapping mit sample code:

Bild: erdna.org/t3_fce_map.png

XML scheint OK, der relevante Teil:

                                        <tx_templavoila type="array">
                                            <title>Link</title>
                                            <description>Map to Link Container</description>
                                            <eType>input</eType>
                                        </tx_templavoila>
                                        <el type="array">
                                            <field_linktitle type="array">
                                                <tx_templavoila type="array">
                                                    <title>Link Title (Text Shown):</title>
                                                    <description>Link Title (Text Shown):</description>
                                                    <sample_data type="array">
                                                        <numIndex index="0">TThe Link is here</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 Title (Text Shown):</label>
                                                </TCEforms>
                                            </field_linktitle>
                                            <field_linkurl type="array">
                                                <type>attr</type>
                                                <tx_templavoila type="array">
                                                    <title>Link URL:</title>
                                                    <description>Link Target (URL):</description>
                                                    <sample_data type="array">
                                                        <numIndex index="0">www.here-is-the-target.com</numIndex>
                                                    </sample_data>
                                                    <eType>link</eType>
                                                    <tags>a:attr:href</tags>
                                                    <eType_EXTRA type="array">
                                                        <objPath>lib.link</objPath>
                                                    </eType_EXTRA>
                                                    <TypoScriptObjPath>lib.link</TypoScriptObjPath>
                                                    <TypoScript>
	10 = TEXT
	10.typolink.parameter.current = 1
	10.typolink.returnLast = url
							</TypoScript>

Re-mapping, Veränderungen am Template, INNER zu OUTER for <p> usw. helfen nicht,

So was ist falsch?
Jeder Hinweis wilkommen, ich habe schon Stunden mit dem Problem verbracht. Selbst unwahrschenliche Vorschläge willkommen. (Zugriffsrechte...)

Danke,
-andre