style id

  1. NikitOS

    Lack of interest String style ID

    At the moment, styles only have an auto-incrementing numeric identifier. It would be nice if the developer of the style could also specify their own string ID for the style, like addon IDs (but without the uniqueness requirement, of course). In some cases this can be useful, for example: To...
  2. C

    XF 2.2 get styleid via API

    Hi, we are using three systems to host our website. Our Mainsystem is Xenforo. Actual we are implementing an darkmode style, so our users can switch between the normal style and a darkmode style. If a switch happens we like to automatically switch the other systems also to darkmode, so we need...
  3. Earl

    XF 2.1 How to access style id from template? $xf.style.id does'nt work

    {{ dump($xf) }} shows this: {{ dump($xf.style) }} shows this: but {{ dump($xf.style.id) }} shows null: I'm confused o_O
Top Bottom