[Typo3-german] bulletlist erweitern

Silke silkebleses at web.de
Fri Jul 15 14:48:13 CEST 2005


Hi Marc				

es gibt doch wenn man eine Auflistung in einer Seite erstellt verschiedene Layouts (Normal, 1,2,3)
hier möchte ich eigene icons einfügen, passend zu meinem Layout.
hier hab ich code gefunden, das geht aber leider nicht:

CONSTANTS
    # cat=content/cBullets; type=; label=Bulletlist "Layout 2"
  bulletImages.2 = <img src="media/bullets/mark.gif" vspace="2" hspace="2" border="0">
    # cat=content/cBullets; type=; label=Bulletlist "Layout 3"
  bulletImages.3 = <img src="media/bullets/bullet1_n.gif" vspace="2" hspace="2" border="0">

SETUP

tt_content.bullets = COA
tt_content.bullets {
  10 = < lib.stdheader
  20 = CASE
  20.setCurrent.field = bodytext
  20.key.field = layout
  20 {
    default < styles.content.bulletlist_gr
    1 < styles.content.bulletlist
 
    2 < styles.content.bulletlist_gr
    2.split.1.wrap = <tr><td valign="top">{$content.bulletImages.2}</td><td valign="top"> | </td></tr>
 
    3 < styles.content.bulletlist_gr
    3.split.1.wrap = <tr><td valign="top">{$content.bulletImages.3}</td><td valign="top"> | </td></tr>
  }
 
  20.stdWrap.editIcons = tt_content:layout, bodytext [text_align | text_face | text_size | text_color],[text_properties]
  20.stdWrap.editIcons.beforeLastTag=1
  20.stdWrap.editIcons.iconTitle=Edit bulletlist
}


Kennst Du dich damit aus?
Muss ich noch woanders anpacken?

Danke und Grüße

- Silke (silketogo)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/german-user-list-archive/thread/110130808/
					



More information about the TYPO3-german mailing list