Показать сообщение отдельно
Старый 25.11.2006, 16:55   #8
sdv
Новенький
 
Регистрация: 06.11.2006
Адрес: Иркутск
Сообщений: 23
По умолчанию

Цитата:
enable является stdWrap, так что ответ - да можно
Код:
									<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 = &lt;BODY bgColor=white&gt;	
10.imageLinkWrap.wrap = &lt;div class="r_image"&gt; &lt;A href="javascript:close();"&gt; | &lt;/A&gt;&lt;/div&gt;
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 должен был приходить отсюда

Код:
<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>
не понимаю такую вещь, field_width и field_height - предают значение (ширина/высота картинки), по аналогии думал и ноль из
Код:
<type>select</type>
прийдет ... а не получается ...

эта вот строка тоже не работает
Код:
10.imageLinkWrap.title = field_title
Названием страницы нового окна становится не значение "field_title", а наименование , field_title -так и пишет ...

в чем ошибка? Павел, подскажите, плиз ...

В TYPO3 новичок , как впрочем и в остальном ...
sdv вне форума   Ответить с цитированием