[TYPO3-UG Dutch] http://www.snippit.net/typoscript/be-personalisation/ce-frames.html

W.S.M. Perquin [YniVerse] perquin at yniverse.nl
Sun May 1 13:10:56 CEST 2011


Hoi Jordan, 
Zelf als volgt gedaan voor een website:
##### IN template SETUP #############
contentdiv.cObject = CASE
contentdiv.cObject {
 	key.field = section_frame
 	default < tt_content.stdWrap.wrap
 	default = TEXT
 	default.value = |
 	30 < tt_content.stdWrap.wrap
 	30 = TEXT
 	30.value = <div class="layout_say_blauw">|</div>
 	40 < tt_content.stdWrap.wrap
 	40 = TEXT
 	40.value = <div class="layout_say_bruin">|</div>
 	50 < tt_content.stdWrap.wrap
 	50 = TEXT
 	50.value = <div class="layout_say_geel">|</div>
 	60 < tt_content.stdWrap.wrap
 	60 = TEXT
 	60.value = <div class="layout_say_groen">|</div>
 	70 < tt_content.stdWrap.wrap
 	70 = TEXT
 	70.value = <div class="layout_say_oranje">|</div>
 	80 < tt_content.stdWrap.wrap
 	80 = TEXT
 	80.value = <div class="layout_say_rood">|</div>

	90 < tt_content.stdWrap.wrap
 	90 = TEXT
 	90.value = <div class="layout_think_blauw">|</div>
 	100 < tt_content.stdWrap.wrap
 	100 = TEXT
 	100.value = <div class="layout_think_bruin">|</div>
 	110 < tt_content.stdWrap.wrap
 	110 = TEXT
 	110.value = <div class="layout_think_geel">|</div>
 	120 < tt_content.stdWrap.wrap
 	120 = TEXT
 	120.value = <div class="layout_think_groen">|</div>
 	130 < tt_content.stdWrap.wrap
 	130 = TEXT
 	130.value = <div class="layout_think_oranje">|</div>
 	140 < tt_content.stdWrap.wrap
 	140 = TEXT
 	140.value = <div class="layout_think_rood">|</div>
}
tt_content.stdWrap.outerWrap < contentdiv

###########################
#	In de TSconfig van bijvoorbeeld de homepage plaats je de volgende
code:
###########################
TCEFORM.tt_content.section_frame.removeItems = 0,1,5,6,10,11,12,20,21,66
TCEFORM.tt_content {
 	section_frame {
 		addItems.31 = SAY-BLANCO
 		addItems.30 = SAY-BLAUW
 		addItems.40 = SAY-BRUIN
 		addItems.50 = SAY-GEEL
 		addItems.60 = SAY-GROEN
 		addItems.70 = SAY-ORANJE
 		addItems.80 = SAY-ROOD
 		addItems.85 = THINK-BLANCO
 		addItems.90 = THINK-BLAUW
 		addItems.100 = THINK-BRUIN
 		addItems.110 = THINK-GEEL
 		addItems.120 = THINK-GROEN
 		addItems.130 = THINK-ORANJE
 		addItems.140 = THINK-ROOD
}
}
TCEFORM.tt_content.colPos {
  #1 = Left 0 = Normal 2 = Right 3 = Border
  removeItems = 0,3
}
#de columns wil je ook in page overzicht niet zien
#dan geef je op welke je WEL wilt zien
mod.SHARED.colPos_list = 1,2

Dit werkt 
Succes

Willem-Peter Perquin

-----Oorspronkelijk bericht-----
Van: typo3-ug-dutch-bounces at lists.typo3.org
[mailto:typo3-ug-dutch-bounces at lists.typo3.org] Namens Jordan van Bergen
Verzonden: zondag 1 mei 2011 12:13
Aan: typo3-ug-dutch at lists.typo3.org
Onderwerp: [TYPO3-UG Dutch]
http://www.snippit.net/typoscript/be-personalisation/ce-frames.html

Hier staat een mooie uitleg hoe je eigen Content Element wraps
(section frames) kunt maken:

http://www.snippit.net/typoscript/be-personalisation/ce-frames.html

Iemand een idee waarom het niet wil werken? Ik heb bovenstaande
doorgevoerd op een TYPO3 v4.5.2 website en er gebeurt helaas niets. 

Ben benieuwd of iemand een werkende configuratie heeft waarmee je dus
eigen Content Element wraps (section frames) kunt maken.

MvG,

Jordan
_______________________________________________
TYPO3-UG-Dutch mailing list
TYPO3-UG-Dutch at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch




More information about the TYPO3-UG-Dutch mailing list