Add Styles to content element

im Page TS Setup

# alle eingebauten Rahmen entfernen
TCEFORM.tt_content.section_frame {
removeItems = 1,5,6,10,11,12,20,21
}

# neuen Rahmen hinzufügen
TCEFORM.tt_content.section_frame {
addItems.100 = style 1

 

im Template Setup.

tt_content.stdWrap.innerWrap.cObject = CASE
tt_content.stdWrap.innerWrap.cObject {
key.field = section_frame
100 = TEXT
100.value = <div>|</div>

 

Leave a Reply

Your email address will not be published. Required fields are marked *


7 × = fourteen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>