Modify the DataStructure:
<tx_templavoila type="array"> ... <proc type="array"> <HSC type="integer">1</HSC> <stdWrap> strftime = %c </stdWrap> </proc> </tx_templavoila> <TCEforms type="array"> <config type="array"> <type>input</type> <size>8</size> <max>20</max> <checkbox></checkbox> <eval>date</eval> </config> </TCEforms>
In TemplaVoilà wizard, choose a field of type “Link field”, which renders a textbox with a link icon on the right. When you click on it, it shows the standard link popup wizard. You may further configure it by modifying the DataStructure:
<config type="array"> <type>input</type> <eval>trim</eval> <wizards type="array"> <_PADDING>2</_PADDING> <link type="array"> <type>popup</type> <title>Link</title> <icon>link_popup.gif</icon> <script>browse_links.php?mode=wizard&act=file</script> <params type="array"> <blindLinkOptions>page,url,mail,spec</blindLinkOptions> <allowedExtensions>doc,docx,htm,html,pdf,pps,ppt,pptx,xls,xlsx</allowedExtensions> </params> <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams> </link> </wizards> </config>