-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message during subtheme generation is too vague #123
Comments
@labboy0276 i think there is a function in kalatheme which checks for the update module. we should make sure that we add something to this error message so the user knows they also need to turn the update module on to build subthemes. @katypool, we should add this into the documentation as well. If you want Kalatheme to be able to use custom Bootstrap libraries or generate subthemes automatically please properly configure your webserver and turn on the updates module" |
@pirog can we just make ti a dependency and call it a day? |
@labboy0276 i don't know if we can make it a dependency of the whole project. there are a lot of reasons why someone might not want to turn on the update module and a lot of people won't even need it because they wont use a subtheme or custom library. @reynoldsalec or @andrewmallis do you have any thoughts on this? maybe its not a big deal to just make it a dependency? |
Running Kalatheme 7.x-3.0 on MAMP, PHP 5.3.27 I must be missing something. When I attempt to add the openmind Custom Bootstrap library, the template.php and main.css files are blank (except for comments at the top). Any thoughts? |
I think that is the expected behavior. They are just placeholder files for On Wednesday, July 30, 2014, jtjones23 [email protected] wrote:
Cheers, Mike Pirog |
@jtjones23 I believe your issue relates to #203 and not to this issue. |
I can confirm that kalatheme_backend_check() is checking whether the update module exists along with server related checks to see if we can do our stuff:
In kalatheme_backend_check_form() line 91 kalatheme_backend_check() is being used and then error messages about webserver config are being output if it returns Here's some questions I have:
|
So, I just noticed also that these messages are often printed out as part of the form itself rather than using drupal_set_message() so perhaps that could help us solve the issue of vague messages. |
I don't believe a theme can enable/disable modules… Declaring update module as a dependency is poor form; it is a memory hog on production during each cron run. The help text message in #205 addresses what I believe the scope of this issue, which I have retitled. The wiki page has also been updated. Moving this to QA |
Guys,
I had a lot of problems fighting the error message in the theme settings "If you want Kalatheme to be able to use custom Bootstrap libraries or generate subthemes automatically please properly configure your webserver."
Now I found out with viewing the Kalatheme code, that you not only need 775 permissions for your themes and libraries folder, BUT YOU ALSO NEED TO ENABLE THE UPDATE MODULE!
I always disable the "update module" because it makes development much slower,...
Maybe something to write down as requirement in the WIKI? https://github.com/drupalprojects/kalatheme/wiki/Configuring-Server-for-Automatic-Kalatheme-installation
The text was updated successfully, but these errors were encountered: