Last active
September 11, 2019 10:57
-
-
Save alrnz/b650b389ccc757eb08a907f64cba19b1 to your computer and use it in GitHub Desktop.
TypoLink in flexform for TYPO3 7.6 #TYPO3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
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>
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
Thanks for the gist code, This help me a lot