MyBB Community Forums

Full Version: Custom Theme Properties?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to add custom theme properties?
can you elaborate your requirement with an example
When you edit a theme, there are some options such as Name, Parent Theme, Image Directory, Manage Colors, etc. In that area, I want to add some sort of options which I can then use in theme/templates.

For example, I want to add "Sticky Header" with a Yes/No dropdown. Then I'll use that "variable" both in the template and CSS.
^ AFAIK, that is not easily possible.
perhaps it requires using a custom plugin hooking into ~/admin/modules/style/themes.php file

see also plugin hooks
It's possible, but it requires some work.

[Image: ewwkvs.png]
^ can you provide more details ! looks like you are referring to theme related options through user control panel
(2016-02-26, 10:08 AM)Aoki Wrote: [ -> ]It's possible, but it requires some work.

[Image: ewwkvs.png]

Would like to know more details about this too Smile