typoscript - In TYPO3 6.1, how to use header_layout from standard language only? -


i use header_layout field wrap content elements css classes.

tt_content.text.stdwrap.outerwrap.cobject=case tt_content.text.stdwrap.outerwrap.cobject{     key.field = header_layout     default=text     default.value=|     1=text     1.value=<aside class="box clearfix">|</aside> }   

now, selection applied in default language, not in localisations.

how tell typo3 @ header_layout field standard language (0), , how consequently hide field in localisations?

and: use of header_layout often-practiced workaround, obviously. there field designed use (assigning custom ts individual content elements) in typo3 >= 6.0?

to wrap content element other html default can use frames , indention dropdown of appearance tab.

you add entry via pagetsconfig:

tceform.tt_content{     section_frame {         additems {             100 = new frame         }     } } 

and define corresponding rendering in typoscript:

tt_content.stdwrap.innerwrap.cobject = case tt_content.stdwrap.innerwrap.cobject {     key.field = section_frame     100 < .66     100.30.value = <div class="my-css-class">|</div> } 

as how exclude localozation, im not quite sure. should wotk fine if localized records have same frame.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -