Hello, i have little anoying issue with saving color changes in corporate clean color scheme. I had well balanced colors on my website(but only heading/link, button top, button bottom) and everything works well.. but when i tried to change color of header top/bottom, main menu strip, footer 1, footer 2 top/bottom, i see changes in preview, but when i hit save, nothing happend and my nicely balanced own color are reset to default blue.

now i trying to revert changes to my old own (again only heading/link, button top, button bottom), i see changes in preview but nothing happed when i click save.. color are still default blue and i cant do anything with it :/
Can someone help me how can i make colors editable again or how can i change color of header top/bottom, main menu strip, footer 1, footer 2 top/bottom etc please ?

and sorry for misunderstandings in my english.

CommentFileSizeAuthor
#26 ProblemModifyingTheme.pdf250.58 KBr2coder
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mattsteph’s picture

Issue summary: View changes

gramatic

mattsteph’s picture

Category: task » support
mattsteph’s picture

Priority: Normal » Major
mattsteph’s picture

Issue summary: View changes

edit

mattsteph’s picture

Issue summary: View changes

edit

mattsteph’s picture

Priority: Major » Critical
gtsopour’s picture

Assigned: Unassigned » gtsopour
Issue tags: +corporate, +Corporate Theme, +Corporate Clean Theme

Hello mattsteph,

is your Drupal installation online in order to examine your issue?

Thanks
/George

mattsteph’s picture

yes its online, you can find it at (youknow)

gtsopour’s picture

Hello mattsteph,

which version of CorporateClean theme have you installed? From your description with the color module integration, you should have installed the 7.x-1.3 version.

In your case the problem is that color.css file is not loaded. Check your corporateclean.info file (sites/all/themes/corporateclean/corporateclean.info), if have the colors.css declaration under stylesheets[all][] = style.css

stylesheets[all][] = style.css
stylesheets[all][] = color/colors.css

and then clear your cached data. To do this go to Administer » Site configuration » Performance » Clear cached data

Finally try to save your color changes again.

Thanks
/George

mattsteph’s picture

Well, this is awkward situation :/ I dont have in sites/all/themes/ corporateclean folder. Corporateclean folder is only in /themes/ folder and all changes i did and i doing in there. Is there a way where I dont need to move corporateclean folder in sites/all/ and colors can be changed ? Or I just should move it in there ? but it will be little complicated isnt it ? :/

And yes i have 7.x-1.3 version.

gtsopour’s picture

There is no problem.

Just check your corporateclean.info file (themes/corporateclean/corporateclean.info), if have the colors.css declaration under stylesheets[all][] = style.css

stylesheets[all][] = style.css
stylesheets[all][] = color/colors.css

and then clear your cached data. To do this go to Administer » Site configuration » Performance » Clear cached data

Thanks
/George

mattsteph’s picture

I checked it and I have declarated it. Exactly like that:

stylesheets[all][] = style.css
stylesheets[all][] = color/colors.css

I cleared my cache data, tried to change color but its still default blue :(

Everything works fine 2 days ago, when I changed color just for heading/link, button top, button bottom. But something gets wrong when I tried to change color of header top/bottom, main menu strip, footer 1, footer 2 top/bottom, and now i cant revert changes back :/

gtsopour’s picture

Can you give me admin access to your installation? Please send me the credentials via my contact form.

Thanks
/George

gtsopour’s picture

Hello mattsteph,

can you move corporateclean theme folder from themes to sites/all/themes?
Inform me when you will complete this action.

Thanks
/George

mattsteph’s picture

Done. Folder moved.

gtsopour’s picture

Could you check please if your template.php file has the following 2 functions?

/**
 * Override or insert variables into the html template.
 */
function corporateclean_process_html(&$vars) {
  // Hook into color.module
  if (module_exists('color')) {
    _color_html_alter($vars);
  }
}

/**
 * Override or insert variables into the page template.
 */
function corporateclean_process_page(&$variables) {
  // Hook into color.module.
  if (module_exists('color')) {
    _color_page_alter($variables);
  }
 
}

Thanks
/George

mattsteph’s picture

yes, template.php has the following 2 functions, but i override it either way.

gtsopour’s picture

What do you mean that you override it?

Thanks
/George

mattsteph’s picture

i mean overwrite this 2 functions, just for sure.

gtsopour’s picture

Color module seems to work properly, because you can see your logo
<img src="http://www.hmcomp.sk/sites/default/files/color/corporateclean-bca579be/logo.png" alt="Domov">

I think that the new colors.css file is inside this folder http://www.hmcomp.sk/sites/default/files/color/corporateclean-bca579be. Could you check this?

The only problem and it very stange to me is that the colors.css file in not imported to Drupal head.

Thanks
/George

mattsteph’s picture

In that folder is only logo.png.
In /sites/default/files/color/ are min. 18 folders of similar names (corporateclean-bca579be) but they are all empty.

gtsopour’s picture

Ok lets go with your idea. I am waiting your email via my contact form.

Thanks
/George

mattsteph’s picture

I sent you an email. How does it look ?

gtsopour’s picture

Version: 7.x-1.0 » 7.x-1.3
Status: Active » Fixed

Hello mattsteph,

inform me if you need something extra. I changed the status of the issue.

Thanks
/George

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

I have run into this issue and I cant find where the problem is...I get the following error when I try to change the color on the theme.
"There is not enough memory available to PHP to change this theme's color scheme. You need at least 13.51 MB more. Check the PHP documentation for more information."

I have checked all the steps in the following thread and still have no luck with making changes.

I have also set my php.ini file to -1 (max allowable)

anyone have any idea why this happens.

plachej’s picture

I am having exactly the same problem as stated here, how to solve it? Please help :-)

plachej’s picture

Issue summary: View changes

edit

kmhebert’s picture

I had this same issue, my color module worked fine in my dev environment but when I tried to push it up with Git, I was able to change the settings in color picker but they weren't reflected in the CSS. I believe the issue is, you need to have your files folder made writable and there needs to be a writable folder called color within your files folder. My files folder was in .gitignore so I did a git -f add color (make sure the local color folder is not empty!) and this created the color folder on my staging environment, at which point the CSS files were created correctly and my color settings changes were reflected in the browser.

r2coder’s picture

Issue summary: View changes
FileSize
250.58 KB

Hi,

I am also experiencing the same issue. Attached is a .pdf capturing the problem (locked colors) and the .info files along with proof that the color/colors.css and theme folder are located in the correct location. Because of this issue, we may not be able to use the template as the corporate brand cannot be applied appropriately.

Drupal parameters:
Drupal 7.34
CorporateClean CorporateClean 7.x-2.3

Has anyone found a solution to this issue?

/r

r2coder’s picture

Status: Closed (fixed) » Active

This issue has not been resolved. It is an active bug which prevents users of the template from branding the site with organizational color scheme.

egarbeil’s picture

I am also having this issue (locked colors). I was able to create a custom inititally but now can't change it.

nerdoc’s picture

I also have this issue. I can't figure it out, but my color. css is not loaded. Cache cleaned many times, done everything proposed here. No working colors.
Maybe helpful: on my main site it works. Then I did a sql-sync and created a copy of the site locally. copied my theme folder as well which contains the generated_files from AT theme, and the color folder.
On the local site, color changing is not possible via theme settings.
As said, remote site works.

As the databases were identically at the start, everything should have been the same.

relliott’s picture

I'm also having the same issue with this. It was working about a week ago, and now it's no longer functioning. Does this have anything to do with the recent update from Drupal 7.36 to 7.37, perhaps?

Color Issue Image

lyallp’s picture

I am experiencing the same issue in Drupal 7.56

I may be way off beam here, please correct me if I am.

The problem is in colors.js line 205

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "/drupal/sites/all/modules/jquery_update/replace/jquery/1.10/jquery-1.10.2.js" was not found on this server.</p></body></html>

I tried creating a symlink of that name to the appropriate file in that directory, to no avail.

So, I have jQuery Update version 7.x-2.7 installed and when I go to its settings and tell it to use the jQuery supplied with Drupal, the padlocks unlock!

I installed jQuery Update to get a module working, now I don't recall which one. I am sure I will find out, eventually but until then, I can tweak my colours again!

Paris_F’s picture

lyallp put me on the right track with this (thanks!) In Drupal 7.56, I went to Administration, Modules, JQuery Update, and configure. I changed the setting for "Alternate jQuery version for administrative pages" from 1.10 to 1.8, saved the configuration and refreshed my theme's color page, and the locks all work now.

sierea’s picture

8 months later #31 saves the day, the lock button be dumb

apaderno’s picture

Assigned: gtsopour » Unassigned
Priority: Critical » Normal
Issue tags: -corporate, -Corporate Theme, -Corporate Clean Theme