Making nitobe sub-theme

MacMladen - June 12, 2009 - 16:03
Project:Nitobe
Version:6.x-3.4
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I tried to make a sub-theme but was faced with various problems.

Is there something specific to look for in making a D6 based sub-theme?

This is what I did:

1. Created new folder
2. Made new nitobe-ix.info
3. Added line base theme = "Nitobe"
4. Copied screenshot.png and theme-settings.php and nitobe-utils.php
5. Copied style.css and page.tpl.php in order to change them

As far as I know, this should work, but it didn't: I got
Fatal error: Call to undefined function nitobe_alt_word_text() in /home/macmladen/drupal6/sites/bf.interexim.rs/themes/nitobe-ix/page.tpl.php on line 5

I see this practice as the best way to build on theme and inherit improvements.

Can someone help me on this or make some tutorial on sub-theming Nitobe?

#1

dafeder - August 27, 2009 - 15:04

Having the same problem. Did you find a fix?

#2

Shannon Lucas - October 18, 2009 - 14:28
Status:active» postponed (maintainer needs more info)

Older versions of Nitobe were making calls to theme-defined functions from within the template files. This would often cause issues with subthemes.

This should be corrected in the 6.x-4 branch.

#3

dafeder - October 19, 2009 - 22:44

Yes, things are inhereting correctly and there are no errors. My subtheme's header/masthead images are not appearing however. Anything I should look for to make sure that happens correctly?

 
 

Drupal is a registered trademark of Dries Buytaert.