Posted by Michelle on May 1, 2008 at 1:55am
| Project: | Advanced Forum |
| Version: | 5.x-1.x-dev |
| Component: | Theming |
| Category: | task |
| Priority: | normal |
| Assigned: | Michelle |
| Status: | closed (fixed) |
Issue Summary
See http://drupal.org/node/246109
Michelle
| Project: | Advanced Forum |
| Version: | 5.x-1.x-dev |
| Component: | Theming |
| Category: | task |
| Priority: | normal |
| Assigned: | Michelle |
| Status: | closed (fixed) |
See http://drupal.org/node/246109
Michelle
Comments
#1
subscribing. :-)
#2
Just fixing the category so it doesn't get forgotten.
Michelle
#3
Subscribing also, as I'm having no end of problems with Zen and ADVForum. Will examine the multiple threads on this later.
Thanks Michelle, it's a fantastic job you're doing.
Keith
#4
path_to_subtheme has been added but is untested. I'd appreciate it if someone who uses Zen could give it a try.
I'm drawing a blank on what I'm supposed to do with the new Zen preprocess functions... Could you refresh my memory, please?
Thanks,
Michelle
#5
It's not working for me, though I may have something set up wrong. It looks like advanced_forum_theme_path in advanced_forum.module doesn't see path_to_subtheme even though I can call it from my template.php. Am investigating but maybe someone with more knowledge of Drupal and/or PHP will have an idea about what's going wrong. Do functions defined in templates get added later maybe?
#6
Darn, I was hoping it would just work... I guess I'll need to install Zen and figure it out. Thanks for the feedback.
Michelle
#7
Okay, this patch does 3 things…
_phptemplate_callback("$forum_theme/advf-forum-topic-list", $variables)becomes_phptemplate_callback("advf_forum_topic_list", $variables, array("$forum_theme/advf-forum-topic-list"))theme_init()before checking for the existance of path_to_subtheme, since advforum seems to be checking for its existence before drupal theme layer is started (i.e. before Zen's template.php is read.)And that should fix the final issues with Zen and advforum. :-)
#8
Comitted. Thanks!
Michelle
#9
excuse me - could you tell me please what file I put the patch into?
Thanks.
#10
Automatically closed -- issue fixed for two weeks with no activity.