[TYPO3-UG Dutch] CSS styled content en header_layout

Ronald Wopereis woepwoep at gmail.com
Mon Nov 28 11:43:09 CET 2011


http://buzz.typo3.org/people/ron-hall/article/changing-the-default-header-for-content-elements/
als ik instel content.defaultHeaderType = 2 dan komt bij header "default"
keurig een h2 te voorschijn, terwijl de class csc-header-n1
is. content.wrap.* heb ik daarbij niet ingesteld.

hope this helps,
R (TYPO3 versie = 4.5.7)

Op 28 november 2011 11:05 schreef Gerrit Vijlbrief - Typohosting <
gerrit at typohosting.nl> het volgende:

> De layout van de header kan worden opgegeven bij het content-element
> (standaard, layout1, layout2 etc.). Zolang ik geen gebruik maak van CSS
> styled content wordt dat veld ook netjes gebruikt. Voeg ik CSS styled
> content toe in mijn template dan krijg ik alleen nog maar layout1. Ook
> als ik het veld content.defaultHeaderType op 2 zet blijft alleen layout
> 1 verschijnen. Ik gebruik typo3 v4.5.8. Ook bij gebruik van css styled
> content TYPO3 v4.2  heb ik dit probleem.
>
>
>
> In CONTANTS staat:
>
> content.wrap.header1 = <h1>|</h1>
>
> content.wrap.header2 = <h2>|</h2>
>
> content.wrap.header3 = <h3>|</h3>
>
> content.wrap.header4 = <h4>|</h4>
>
> content.defaultHeaderType = 2
>
>
>
> De  resulterende HTML is voor de verschillende layouts:
>
> <div class="csc-header csc-header-n1"><h1>header standaard</h1></div><p
> class="bodytext">standaard</p></div>
> <div class="csc-header csc-header-n2"><h1>header layout 1</h1></div><p
> class="bodytext">1</p></div>
> <div class="csc-header csc-header-n3"><h1>header layout 2</h1></div><p
> class="bodytext">2</p></div>
> <div class="csc-header csc-header-n4"><h1>header layout 3</h1></div><p
> class="bodytext">3</p></div>
> <div class="csc-header csc-header-n5"><h1>header layout 4</h1></div><p
> class="bodytext">4</p></div>
> <div class="csc-header csc-header-n6"><h1>header layout 5</h1></div><p
> class="bodytext">5</p></div>
>
>
> Iemand een idee waar dat vandaan komt?
>
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>



-- 
http://www.red-seadog.com
http://www.maakjegeenzorgen.nl
http://www.weforest.org


More information about the TYPO3-UG-Dutch mailing list