Closed (fixed)
Project:
Advanced Forum
Version:
5.x-1.x-dev
Component:
Theming
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
1 May 2008 at 01:55 UTC
Updated:
1 Jun 2008 at 16:42 UTC
Jump to comment: Most recent file
See http://drupal.org/node/246109
Michelle
Comments
Comment #1
johnalbinsubscribing. :-)
Comment #2
michelleJust fixing the category so it doesn't get forgotten.
Michelle
Comment #3
Keith Hurst commentedSubscribing 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
Comment #4
michellepath_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
Comment #5
annez commentedIt'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?
Comment #6
michelleDarn, I was hoping it would just work... I guess I'll need to install Zen and figure it out. Thanks for the feedback.
Michelle
Comment #7
johnalbinOkay, 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. :-)
Comment #8
michelleComitted. Thanks!
Michelle
Comment #9
excell commentedexcuse me - could you tell me please what file I put the patch into?
Thanks.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.