Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.6. FAQ

  • Q: I want to implement a styleswitcher only on a seperate “preferences”-page – how can I activate it nevertheless on other pages?

    A: Inserting only the header-logic (and not the actual style-list) is currently not supported by default, but you can workaround this issue: Just hide the style-list via CSS (ul#yourId {display: none;}) and un-hide it on the “preferences”-page with a more specific CSS, e.g. By setting an id to the bodyTag by

    page.bodyTag = <body id=”preferences”>

    and overwrite the CSS-setting (#preferences ul#yourId {display: block;}. It's a little hacky, but hey – it works :)