Posted by onzenet on June 4, 2009 at 3:01pm
Hello World : )
I'm experiencing a lot of problem customizing my own subtheme with Zen-6x-1.0 because of the defaults theme settings overriding the subthemes ones .
Apparently (googling around ...) this problem seems to be already known but i can't find a clear solution to either disabling the default settings or the subthemes parameters ....
Any tips, links or info will be much appreciated
Comments
If you change the value in
If you change the value in the theme's .info file, it should change its default; or comment out the line to disable it entirely.
Could you maybe be more specific on what you're trying to do?
The Boise Drupal Guy!
Re: If you change the value in
please see my answer below ... (let's be positive, you avoid my english for now ;) ... I'm interested in your approach , i wish i could set/enable the parameters like site-name , slogan , primary-links .etc in the .info file of my subtheme but don't know how ( something like settings[zen_breadcrumb] = yes ??? )
Did you build your subtheme using STARTERKIT?
Did you build your subtheme using STARTERKIT? I always make sure that I follow the documentation steps for that so that everything works smoothly. You can find those at: http://drupal.org/node/226507
Mark W. Jarrell
Manager of Web Services
Jones Knowledge Integration Group, Inc.
http://fleetthought.com
http://www.jones.com
http://www.jonesdifference.com
http://www.jiu.edu
Twitter: attheshow
Mark W. Jarrell
Online Applications Developer
Richland Library
http://www.richlandlibrary.com
http://fleetthought.com
Twitter: attheshow
Re: Did you build your subtheme using STARTERKIT?
Absolutely, I've followed step by step the documentation ( http://drupal.org/node/226507 included ) . Everything is working well except
I have to play between the parameters of the 'main theme settings' (e.g site name , slogan , primary link ) and the ones in my zen subtheme ... The fact is If I enabled for instance both the primary link , checking the box in the configuration admin theme (http://localhost/admin/build/themes/settings ) and the primary link in my subtheme (http://localhost/admin/build/themes/settings/newzen) then i get 2 "primary" menu in the navbar .
Another strange behaviour happens with 'site-same' option depending on where it comes from (theme main setting or subtheme ) for instance (and to be short ;) if i disabled it in theme setting and enabled it in subtheme , site-name is still displayed with the div from theme parameters (i mean not from subtheme...) ... well depending on what pages i'm surfing ...
This problem looks like http://drupal.org/node/260924 (Zen doesn't reflect changes to global theme settings) except for the happy ending ^^
By the way , the subtheme (newzen) is the only theme activated in my conf. and is the default one ... I did use StarterKit to build my subtheme. (i found another post on drupal group talking about inheritance problem with zen subtheme , sorry i can't retrieve it at the moment .. )
This sounds really
This sounds really strange… I wonder what your theme listing page looks like. Could you maybe post a screenshot?
Also, where in the Drupal directory tree have you placed Zen and your subtheme?
The Boise Drupal Guy!
!important
As a last resort you can give your own CSS a little more punch with using !important.
hth
Frank
Frank
My LinkedIn profile
Not really :(
I know how tempting that can be, but using !important is a REAL hack - it should never be used unless you're completely sure your site won't be used by mobile/less-abled/etc users, because it overrides user defaults in browsers.
That is, if a user with poor sight uses the website and has their own default CSS enabled, these rules will break that, which is Very Bad Juju.
Web Development in Nottingham, UK by Kineta Systems / Follow me on Twitter! @NikLP
Web Development in Nottingham, UK by Kineta Systems / Follow me on Twitter! @NikLP
Agreed that using !important
Agreed that using !important should be avoided when necessary, but from the sound of things, I don't think this is a CSS issue anyway.
The Boise Drupal Guy!
I always make sure that I
What? You haven't discovered Zenophile yet? :)
The Boise Drupal Guy!
Re: Zen-6x-1.0 Defaults Theme settings and Subtheme (zen-6x-1.0
hi there,
thanks for your answers and comments ... regarding the Zen subtheme's problem , i'm going to restart from scratch since the trouble seems to come from my page.tpl.php (yep, not from the css ...) . Besides I shoud have misunderstood how to use blocks in Drupal ... Zenophile looks nice , thank you , i'll have a try .. i'm also testing blueprint (much easier ..) . I'm new to Drupal but appreciate at least its community :) thanks for your help.