Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   как убрать TABLE вокруг image? (http://forum.typo3.ru/showthread.php?t=239)

stoun 04.11.2005 19:52

как убрать TABLE вокруг image?
 
Подскажите, как убрать HTML-код (таблицы и всякий мусор) вокруг элемента контента image?

Я нашел один способ (см.ниже), но там пропадают ссылки, которые стояли у картинки.

Идеально, чтобы было
<div class=\"image\"><a href=\"URL\">IMAGE</a></div>



temp.image = COA
temp.image {
wrap = <img src=\"|\" alt=\"\" />
10 = TEXT
10 {
field = image
field.listNum = 0
wrap = uploads/pics/|
}
20 = TEXT
20 {
field = imagewidth
# nur wrappen, wenn imagewidth nicht 0 oder NULL ist
fieldRequired = imagewidth
noTrimWrap = |\" width=\"|\"\"|
}
30 = TEXT
30 {
field = imageheight
# nur wrappen, wenn imagewidth nicht 0 oder NULL ist
fieldRequired = imageheight
noTrimWrap = |\" height=\"|\"\"|
}
}

tt_content.textpic.20 >
tt_content.textpic.20 < temp.image
tt_content.image.20 >
tt_content.image.20 < temp.image


СПАСИБО!


Часовой пояс GMT +4, время: 15:19.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot