Download & Extend

choice of auto-adding php templates

Project:Zenophile
Version:6.x-2.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

I generally copy over page.tpl.php from the zen folder to my new startertheme-derived theme. I'm not sure when I wouldn't...

It'd be great if Zenophile would provide a list [of checkboxes] of possible templates to copy, then do so, (for those chosen,) upon theme creation.

Comments

#1

I've thought about this feature too, but I'm unsure how to go about it. There's no way to provide that list of checkboxes for files to copy over from the parent theme, because we don't know what the user is going to use as the parent theme until they select it - unless I either add some mandatory AJAX hijinks or turn the form into a two-page form, both of which I'm reluctant to do.

But I think that's okay, since the module was really designed to take the worst pain and monotony of Zen subtheme creation. Copying page.tpl.php may be monotonous, but it's quick and relatively painless.

#2

Version:6.x-1.1-beta8» 6.x-2.x-dev

This might be a job for an eager developer to build with Zenophile 2's new API…

#3

I'm glad this post is here, because I wasn't sure if I needed to copy those files over or not. If the instructions say to do that, then I missed it. If so, where are those instructions. It might be good to make a note in the instructions that you have to do that.

So far I'm liking Zenophile. But don't know how to turn off Midnight either. Just muddling through it all...

#4

kappaluppa: You do not have to copy over any file that Zenophile does not copy over for you. The only exception is if you want to override that theme file; that is, you want to make a change in page.tpl.php or node.tpl.php or whatever. In that case, the proper procedure is to copy that file into your new theme's directory and change it, instead of changing the original file in the zen directory.

As for turning off Zen Midnight, it should be off by default; there should be a checkbox in the "Advanced options" fieldset (I think that's what I'm calling it this week) which you'll have to check in order to enable it. If it seems to be triggering even when that checkbox is not checked, that's a bug, so please file a new issue about that and I'll look into it.

#5

Thanks for the reply. I recreated my theme and found the checkbox to include the Midnight theme CSS & files. Just no option to "turn it off" afterwards. So, no I don't think its a bug.

#6

Status:active» postponed