hello jan and team, just wondering what the time frame looks like to repair/update nucleus to handle saving theme settings on themes with "many blocks"

it wasn't working on my own site because, probably, the solr faceted search presents tons and tons of blocks with conditional display rules - need to leave them all in there, but it apparently prevents nucleus (and methys) from saving any settings changes!

any insight is greatly appreciated. i'd love to go ahead and purchase methys 2 but just need to know if this has been resolved before doing so.
thanks in advance for all of your great work - this theme is outstanding

Comments

jobnomade’s picture

Hi Zilla,

the improvements and bug fixes for the next Nucleus version will be released this month.
Thanks for your appreciation of our work.

zilla’s picture

excellent - also, you already know where my test site is so if you'd like to test on that dev stage server, please feel free to do so! (just drop me an email to let me know ;)

that will provide you with an install with tons of blocks to see how that whole interface works out.

another thought: what about making that whole "drag and drop" ajax interface an admin option set to 'off' by default?

zilla’s picture

hi - i just updated to today's beta release though find that i am still unable to save ANY settings (changes to settings)...was that fix supposed to have appeared in this release? if so, please advise, if not, then i'm looking forward to the next update ;)

jobnomade’s picture

Hi Zilla,

sorry for the disappointment this version has only minor bug fixes and improvements.
See the release note: http://drupal.org/node/1728996
"- fix bug Fatal error: [] operator not supported for strings in sites/all/themes/nucleus/inc/override_functions.inc on line 410 when trying to view the form.
- add multiskins menu"

The performance issue, will be tackled in the next step.

jobnomade’s picture

Hey Zilla,

a short update about this issue. We have improved the back-end of Nucleus and are in progress of the final tests. As soon our test team has finished it, we will update Nucleus on drupal.org. I will ping you again.
Besides the improvement we have figured out that the theme saving issue is also caused by the default PHP ini setting
max_input_vars. At default it is set to 1000. The back-end of Drupal and Nucleus has a lot of forms with causes the issue that form values are not submitted thus theme settings can't be saved. Especially when you have a lot of blocks.
You can see with an example of 100 blocks (each block has 10 form elements, without hidden vars from Drupal and ours) we reach the limit of 1000 vars. We have improved this and will write a block post about our findings.

In our learning phase working with Drupal we did not expect that websites have that high amount of blocks, so for publishing/news website we understand that this is a drawback and with the next update we are able to handle 200 blocks.

You can try our to increase your max_input_vars up to 2000 and see whether the theme settings can be saved.
This should solve the problem right away.

Let me know if this first works for you before we release the new version of Nucleus.

Cheers,
Jan

Reference:
http://php.net/manual/en/ini.core.php
http://stackoverflow.com/questions/9399315/how-to-increase-maximum-post-...

jobnomade’s picture

Status: Active » Closed (duplicate)

I close this as it is related to this issue http://drupal.org/node/1715260 we will release stable version of Nucleus beginning of next week incl. improvements of this issue.