By cmckay on
Hey guys, I am trying to incorporate collapsible containers in the advanced forum module. When I do, I get the following error:
Fatal error: Cannot redeclare phptemplate_forum_list() (previously declared in /home/sitemap/public_html/sites/all/modules/advanced_forum/advanced_forum.module:308) in /home/sitemap/public_html/sites/all/themes/sitename theme/template.php on line 44
I am trying to use the instructions found here http://drupal.org/node/202542
I understand that the php_callback is already made in the advanced forum module and I cannot add it to my template file as specified in the instructions above. I need insight as to how to incorporate it.
Comments
use theme name
Theme functions beginning with phptemplate_ override the default theme functions which begin with theme_. Clearly advanced forum has already defined phptemplate_forum_list so in order to override the override you need an even more specific override. Simply use your theme name instead, e.g. garland_forum_list().
--Zivtech--
--Zivtech--
Similar functionality is
Similar functionality is being developed for advanced forum (http://drupal.org/node/291084)
/grn
GrN.dk