FYI : Using drupal 7.17 and drush 5.8 on CentOS 64-bit (hostmonster) Is it possible to save a color scheme for a theme under a new name? I.E. Choose Bartik -> 'Custom' color scheme. Configure. Save as : "Custom 1" I do not see an option to accomplish this. Is there a module that would enable me to accomplish this? thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com
The color module comes to mind. On Tue, Dec 4, 2012 at 5:56 PM, Tim Johnson <tim@akwebsoft.com> wrote:
FYI : Using drupal 7.17 and drush 5.8 on CentOS 64-bit (hostmonster)
Is it possible to save a color scheme for a theme under a new name?
I.E. Choose Bartik -> 'Custom' color scheme. Configure. Save as : "Custom 1"
I do not see an option to accomplish this. Is there a module that would enable me to accomplish this?
thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- Earnie -- https://sites.google.com/site/earnieboyd
* Earnie Boyd <earnie@users.sourceforge.net> [121205 08:04]:
The color module comes to mind. Please explain (if you have the time) I have the color module enabled.
thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com
I don't have time to delve into this but the themes I've used that allow for color changes have a function to save the color chosen. You should mimic what they do. Earnie On Wed, Dec 5, 2012 at 12:14 PM, Tim Johnson <tim@akwebsoft.com> wrote:
* Earnie Boyd <earnie@users.sourceforge.net> [121205 08:04]:
The color module comes to mind. Please explain (if you have the time) I have the color module enabled.
thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- [ Drupal support list | http://lists.drupal.org/ ]
-- Earnie -- https://sites.google.com/site/earnieboyd
* Earnie Boyd <earnie@users.sourceforge.net> [121206 07:11]:
I don't have time to delve into this but the themes I've used that allow for color changes have a function to save the color chosen. You should mimic what they do. Any of the themes that I have have experimented with enable color scheme to be modified and saved. But they do not enable a color scheme to be **saved as** a new color scheme.
No big deal. FYI : I did find a module called "Custom Save As". Attempts to use it generated PHP errors. I see issues linked from the module download site that indicate similar errors and no movement to correct. We will not use it. This topic is for down my list of priorities. When I get more acquainted with drupal, I will look again. thanks again Ernie -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com
Depending on the theme it may store the color scheme as a .css file in /files/color/theme_name-id-code/color.css Neil On Thu, Dec 6, 2012 at 12:09 PM, Tim Johnson <tim@akwebsoft.com> wrote:
* Earnie Boyd <earnie@users.sourceforge.net> [121206 07:11]:
I don't have time to delve into this but the themes I've used that allow for color changes have a function to save the color chosen. You should mimic what they do. Any of the themes that I have have experimented with enable color scheme to be modified and saved. But they do not enable a color scheme to be **saved as** a new color scheme.
No big deal.
FYI : I did find a module called "Custom Save As". Attempts to use it generated PHP errors. I see issues linked from the module download site that indicate similar errors and no movement to correct. We will not use it.
This topic is for down my list of priorities. When I get more acquainted with drupal, I will look again.
thanks again Ernie -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- [ Drupal support list | http://lists.drupal.org/ ]
* Neil Adair <neiltadair@gmail.com> [121206 08:25]:
Depending on the theme it may store the color scheme as a .css file in /files/color/theme_name-id-code/color.css Yeah. I'm using mayo. So I have sites/default/files/color/mayo-<idnum> That gives me something to backtrack to if I make a change I don't like and want to get back to the previous. thanks Neil -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com
On Wednesday 05 Dec 2012 08:14:17 Tim Johnson wrote:
Earnie Boyd <earnie@users.sourceforge.net> [121205 08:04]:
The color module comes to mind.
Please explain (if you have the time) I have the color module enabled.
Color module stored its configurations in the variable database table, keyed by the active theme name. For your use case probably preferred if it was saved keyed by theme_name + conf_machine_name. It doesn't expose API for a third party storage controller either. This could be a feature request though. If you want to export Color module configurations you could use Features or Strongarm I think, to get those stored in the variable database table. CMIIW
* Fireh <dozymoe@gmail.com> [121206 15:44]:
On Wednesday 05 Dec 2012 08:14:17 Tim Johnson wrote:
Earnie Boyd <earnie@users.sourceforge.net> [121205 08:04]:
The color module comes to mind.
Please explain (if you have the time) I have the color module enabled.
Color module stored its configurations in the variable database table, keyed by the active theme name. For your use case probably preferred if it was saved keyed by theme_name + conf_machine_name.
It doesn't expose API for a third party storage controller either.
This could be a feature request though.
If you want to export Color module configurations you could use Features or Strongarm I think, to get those stored in the variable database table.
Oh that is several portions of great info! The more I know about how the database works, the better. And good to hear about those modules. Thank you. -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com
participants (4)
-
Earnie Boyd -
Fireh -
Neil Adair -
Tim Johnson