[Typo3] FCE extTarget

Henry Wilhelm henry at hexhe.de
Tue Nov 8 15:35:51 CET 2005


Hi, all,
i have a flexible content element with a link-field, but Typo3 does not 
make a difference between internal and external links while rendering 
the content. No target="_blank" will be added to the link, if it is an 
external link.

Does anybody know, whats going wrong?

Following datastructure:
            <field_link type="array">
                <type>attr</type>
                <tx_templavoila type="array">
                    <title>Link</title>
                    <sample_data type="array">
                        <numIndex index="0"></numIndex>
                    </sample_data>
                    <eType>link</eType>
                    <TypoScript>
<![CDATA[
10 = TEXT
10.typolink.extTarget = _blank
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</label>
                </TCEforms>
            </field_link>

Thanks for any help!

Henry




More information about the TYPO3-english mailing list