Skip to content

Instantly share code, notes, and snippets.

@alrnz
Last active Sep 11, 2019
Embed
What would you like to do?
TypoLink in flexform for TYPO3 7.6 #TYPO3
<settings.link>
<TCEforms>
<exclude>1</exclude>
<label>
Link to Page or a File or a Content-Element
</label>
<config>
<type>input</type>
<size>30</size>
<eval>trim</eval>
<softref>typolink,typolink_tag,images,url</softref>
<wizards>
<_PADDING>2</_PADDING>
<link>
<type>popup</type>
<title>Link</title>
<module>
<name>wizard_element_browser</name>
<urlParameters>
<mode>wizard</mode>
</urlParameters>
</module>
<icon>link_popup.gif</icon>
<script>browse_links.php?mode=wizard</script>
<params>
<!--<blindLinkOptions>page,file,folder,url,spec</blindLinkOptions>-->
</params>
<JSopenParams>height=500,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
</TCEforms>
</settings.link>
@overcome
Copy link

overcome commented Mar 23, 2017

Thanks for the gist code, This help me a lot

@bmoex
Copy link

bmoex commented May 16, 2018

From TYPO3 8.7 its much easier:

<settings.link>
    <TCEforms>
        <label>Link to Page or a File or a Content-Element</label>
        <exclude>0</exclude>
        <config>
            <type>input</type>
            <renderType>inputLink</renderType>
            <!--
            <fieldControl>
                <linkPopup>
                    <options>
                        <blindLinkOptions>file,folder,mail,page,spec</blindLinkOptions>
                    </options>
                </linkPopup>
            </fieldControl>
            -->
        </config>
    </TCEforms>
</settings.link>

@pipaltree
Copy link

pipaltree commented Jul 3, 2018

Hello @bmoex, do you know how to specify which tab should be active initially in TYPO3 8.7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment