Custom settings item?
Posted: Sat Jul 06, 2019 9:17 pm
Just found out about WonderCMS, and I am in already in love with it. It is simple, small and just wonderful.
So I am trying to create a little theme for it, just to get known with WonderCMS (don't expect too much, I am more a backend kind of guy).
I now have a scenario where I need a way to add a custom settings item to add some customization to this theme.
Is this possible with WonderCMS? Or do I need to think of something myself?
Current ideas if not possible native:
Thanks everyone here for making such an awesome little CMS!
So I am trying to create a little theme for it, just to get known with WonderCMS (don't expect too much, I am more a backend kind of guy).
I now have a scenario where I need a way to add a custom settings item to add some customization to this theme.
Is this possible with WonderCMS? Or do I need to think of something myself?
Current ideas if not possible native:
- Load the wCMS::settings() in to a DOMDocument and alter HTML there.
- Just add it with javascript after pageload (not nice, but really easy).
- Regex the wCMS::settings() and inject that way (the most ugly and version specific version)
- Maybe something with this plugin? prakai/_modern_settings
Thanks everyone here for making such an awesome little CMS!