TV 1.0.1.
Создаю 2 поля картинку и ссылку. В ТВ записан следующий код:
Код:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<ROOT type="array">
<tx_templavoila type="array">
<title>ROOT</title>
<description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_rowpicture1 type="array">
<tx_templavoila type="array">
<title>Row Picture1</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>imagefixed</eType>
<TypoScript>
10 = IMAGE
10.file = GIFBUILDER
10.file {
XY = 170,170
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 170
10.file.minW = 170
10.file.maxH = 170
10.file.minH = 170
}
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
<label>Row Picture1</label>
</TCEforms>
</field_rowpicture1>
<field_rowpicturelink type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Row Picture1 Link</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>link</eType>
<TypoScript>
10 = TEXT
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>Row Picture1 Link</label>
</TCEforms>
</field_rowpicturelink>
</el>
</ROOT>
</T3DataStructure>
Как бы мне сделать, чтобы картинка открывалась в отдельном окне?
Уже второй час с TSRef мучаюсь)) imageLinkWrap не хочет работать с ГИФБИЛДЕРОМ судя по всему, а любые изменения для Link field тоже что-то ни к чему не приводят...