I'm able to install the module, build subthemes with extras, however, when I try to use a custom image for backgrounds or headers, I get the following error:.

warning: copy(/body-background-image.jpg) [function.copy]: failed to open stream: Permission denied in ...html/drupal/modules/zenophile_extras/zenophile_extras.module on line 456.

Comments

elliotttt’s picture

Thanks for the bug report. Are your contrib modules located in the main modules folder or something like drupal/sites/all/modules?

elliotttt’s picture

Assigned: Unassigned » elliotttt
drtrueblue’s picture

Yes, I believe they are. Forgive me if I didn't state this earlier, but the subtheme is created just fine with the exception of the custom image for background or headers, etc. I can enable it and make it the default. I simply can't get custom images into the subtheme.
BTW, excellent module, really fantastic work.

drtrueblue’s picture

Are you still out there? Just wondering if there is any new developments.
Thank you very much.

elliotttt’s picture

Still here ;) Have been too busy to update this module lately, but plan to.

maindim’s picture

It's just because $dir on 456 and 453 strings is empty.
So change $destination = $dir .'/'. $name .'.'. $info['extension']; (453 string) to $destination = "sites/{$form_state['values']['site']}/themes/{$form_state['values']['sysname']}".'/'. $name .'.'. $info['extension'];
Good luck.