![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
|
![]() |
#1 | |
Продвинутый
Регистрация: 12.10.2004
Адрес: Severodonetsk, Ukraine
Сообщений: 60
|
![]() Цитата:
Код:
<TypoScript> 10 = IMAGE 10.file.import = uploads/tx_templavoila/ 10.file.import.current = 1 10.file.import.listNum = 0 10.file.maxW = 200 #10.stdWrap.typolink.parameter.field = field_link_url #10.stdWrap.typolink.parameter.noTrimWrap =| | 700x560:menubar=0,scrollbars=1,resizable=0,location=0,toolbar=0| #10.altText.field = field_img_alttitle 10.imageLinkWrap = 1 10.imageLinkWrap.enable = 1 10.imageLinkWrap.JSwindow = 1 10.imageLinkWrap.bodyTag = <BODY bgColor=black> 10.imageLinkWrap.wrap = <A href="javascript:close();"> | </A> 10.imageLinkWrap.width = 800m 10.imageLinkWrap.height = 600 10.imageLinkWrap.JSwindow.expand = 10,15 </TypoScript> |
|
![]() |
![]() |
![]() |
#2 |
Новенький
Регистрация: 06.11.2006
Адрес: Иркутск
Сообщений: 23
|
![]()
Вопрос ... по моему по этой же теме ...
можно ли передать сюда какое-то значение? Код:
10.imageLinkWrap.enable = 1 |
![]() |
![]() |
![]() |
#3 |
Senior Member
|
![]()
enable является stdWrap, так что ответ - да можно.
|
![]() |
![]() |
![]() |
#4 | |
Новенький
Регистрация: 06.11.2006
Адрес: Иркутск
Сообщений: 23
|
![]() Цитата:
Код:
<TypoScript> 10 = IMAGE 10.altText.field = field_alt 10.titleText.field = field_title 10.file.import = uploads/tx_templavoila/ 10.file.import.current = 1 10.file.import.listNum = 0 10.file.maxW = 166 10.file.width.field = field_width 10.file.height.field = field_height 10.imageLinkWrap = 1 10.imageLinkWrap.bodyTag = <BODY bgColor=white> 10.imageLinkWrap.wrap = <div class="r_image"> <A href="javascript:close();"> | </A></div> 10.imageLinkWrap.JSwindow = 1 10.imageLinkWrap.title = field_title 10.imageLinkWrap.JSwindow.newWindow = 0 10.imageLinkWrap.JSwindow.expand = 17,20 10.imageLinkWrap.enable = field_clickenlarge 10.imageLinkWrap.typolink.parameter.field=image_link 10.imageLinkWrap.typolink.extTarget = _blank </TypoScript> Код:
<field_clickenlarge type="array"> <type>attr</type> <tx_templavoila type="array"> <title>ClickEnlarge</title> <sample_data type="array"> <numIndex index="0"></numIndex> </sample_data> <eType>select</eType> </tx_templavoila> <TCEforms type="array"> <config type="array"> <type>select</type> <items type="array"> <numIndex index="1" type="array"> <numIndex index="0">Yes</numIndex> <numIndex index="1">1</numIndex> </numIndex> <numIndex index="2" type="array"> <numIndex index="0">No</numIndex> <numIndex index="1">0</numIndex> </numIndex> </items> <default>0</default> </config> <label>ClickEnlarge</label> </TCEforms> </field_clickenlarge> Код:
<type>select</type> эта вот строка тоже не работает Код:
10.imageLinkWrap.title = field_title в чем ошибка? Павел, подскажите, плиз ... В TYPO3 новичок , как впрочем и в остальном ... |
|
![]() |
![]() |
![]() |
#6 | ||
Новенький
Регистрация: 06.11.2006
Адрес: Иркутск
Сообщений: 23
|
![]() Цитата:
Код:
10.imageLinkWrap.enable = field_clickenlarge Цитата:
![]() |
||
![]() |
![]() |
![]() |
#7 |
Senior Member
|
![]() Код:
10.imageLinkWrap.enable.field = field_clickenlarge |
![]() |
![]() |
![]() |
#8 |
Senior Member
|
![]()
Огромное спасибо всем ответившим!))
TV везде проставляет картинки через Код:
10 = IMAGE 10.file = GIFBUILDER ... Есть еще маленький вопрос: может еще кто-то разрабатывал код для добавления пустой картинки, если не она указана для данного FCE. вопрос2: Если у меня есть несколько похожих элементов FCE, отличающихся только размерами картинок, можно ли как-то их запихнуть в один, а размерность чтобы менялась автоматом в зависимости например от id страницы?..
__________________
Персональный блог про заработок в интернете + полезных блога про typo3 и wordpress Последний раз редактировалось Tod; 28.11.2006 в 18:25 |
![]() |
![]() |