By berenErchamion on
HI all,
I need a quick tip. I'm trying to replace the main zen page.tpl.php with my own custom one in my subtheme, but I guess I'm not sure quite how to do this. Instructions simply say to copy it to my subtheme's folder, but this does not seem to work. Is there another step?
Any help would be great.
beren
Comments
1. Give a different name to
1. Give a different name to your sub-theme folder
2. Enable your sub-theme, example.com?q=admin/build/themes
Disclaimer: I have not tested this. Hopefully, it works.
Good luck.
--------------------
Sudheer. S
Binary Vibes Information Technologies Pvt. Ltd.
Learn and and help others learn Linux, Apache, MySQL and PHP
Avail commercial Drupal services
HI Sudheer - I already have
HI Sudheer -
I already have a working subtheme. What I was asking was if I wanted to have a custom page template and not use the base theme's, how do I do this?
When I copy page.tpl.php into my subtheme's folder it does not get loaded. I suspect there must be some way to tell the theme to use the copy in my subtheme rather than the one in the base folder, but I'm not sure how. Perhaps this is not possible.
beren erchamion
http://tarnaeluin.wordpress.com/
Just thinking out loud, have
Just thinking out loud, have you enabled your subtheme and set it as default?
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
I just set up a subtheme
I just set up a subtheme earlier. Copying the page.tpl.php from the main zen theme folder to the subtheme folder *should* work. Might be playing Captain Obvious here, but have you made any changes to the page.tpl.php file in your subtheme folder? If not, it's going to look the same as pages being themed by the page.tpl.php file in the main zen folder.
Have you renamed the theme in page.tpl.php?
You must search and replace the master theme name with your subtheme name in the template.
I am having the same problem.
I am having the same problem. Still using modules/system/theme
Have cleared cache and reloaded theme etc.
There is no reference to theme in page.tpl.php that I can see??
thx.
http://www.southweb.co.nz
clear your cache, and your changes will show up
That's all you have to do, but the changes won't be visible until you clear your cache.
from Jeff Eaton: "the admin/settings/performance page has a big CLEAR CACHED DATA button that will rebuild menus, clear cache tables, reset the CSS and JS caches, and rebuild the theme registry in one step."
The button is at the bottom of the page. Once your caches have been cleared, your sub-theme templates should work.
bingo! ⎋ joon park
bingo!
⎋ joon park
oh yeah, that dam theme
oh yeah, that dam theme registry in D6 :)
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
This will help you in creating Zen sub theme
Hi
If you make any changes in the existing zen theme it will be considered as core hacking. It will not be according to Drupal standards and best practices.
http://drupal.org/node/226507 this URL will guide you about "How to build your own Zen sub-theme" in Drupal 6.
Regards
Neeraj