Doing some theming here...
I've noticed that the color module functionality is...
- You can select your pre-configured scheme(s) in the drop-down, as laid out in the theme's color.inc file.
- Once there in the UI, any changes to any of the individual colors instantiates a "Custom" scheme, and the dropdown selector reflects that fact. so far, so good.
The problem is this: Once you change one of your custom colors, you can never go back to the custom scheme you had once set up, even though that scheme continues to persist, as long as you don't click 'Save' in the UI. I've tried clearing all caches, to no avail. Someone please let me know if I'm wrong on that.
This could be solved in one of two ways that I can anticipate, either
- Provide a 'Current Scheme' (or maybe, 'Revert') button in the dropdown, which would cancel your pending unsaved custom colors by reverting to what the theme is currently using.
- Provide a means for the user to save his current custom scheme as a named scheme which would then show up in the dropdown list.
So I am soliciting tips on how I might most easily implement either of the above functionalities. I'd rather not have to build a "Save Your Colors" module. (Does that already exist?)
Thanks...
Recent comments
Thanks. openid_connect is actually a different beast than OpenID. I think the "connect" version implements an OpenID client to work on an Oauth server. Or something like that.
OpenID?
I think this alternative works too. Instead of installing the stub modules, you may be able to just insert the relevant records in the systems table (while also ensuring entity_plus and...
Entity_plus_custom with search api
This relates to a problem with creating a View of Projects on a site using MySQL >= 8.0.3 https://github.com/backdrop/backdrop-issues/issues/5795 I can't be at the meeting this...
Dec 5th Weekly Dev Meeting
Additionally, "outside" means a file that is located outside a module folder. The second parameter of module_load_include() is the name of a module, so, this function assumes that you are loading a...
How to include other files in module?
Yes, it does mean outside your functions. You can use module_load_include() within functions but not outside. The YouTube module gives an example: <?php /** * @file * Youtube field module adds...
How to include other files in module?