Closed (cannot reproduce)
Project:
Zen
Version:
6.x-2.x-dev
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2009 at 00:10 UTC
Updated:
21 Aug 2013 at 08:40 UTC
I use this function to add classes to my menus, but after some time the function stops being called. I flush the caches, and it will work form some time, then stop. I thought it was related to the search box issue, and was hoping updating the theme would solve it, but it didn't. It's as if after some time I just added the function and need to flush to reread the template.php. It's not a problem if I rebuild the theme registry every time.
Thanks!
Sean
Comments
Comment #1
akalata commentedHas the API documentation (http://api.drupal.org/api/group/themeable/6) offered any insight? Are you still experiencing this issue?
Comment #2
pvasener commentedI'm using a custom theme and I experience the exact same problem. I overrid the theme_menu_item_link() function in the template.php of my theme to add a classed span to the tab link. It works for some time and, after a while, the overriden function doesn't seem to be called as the span is not added. Everything comes back to normal when I flush the cache. I read the API documentation for Drupal 6. The main change is that theme functions have to be define in hook_theme() but I don't see where this can help us.
Comment #3
rrrob commentedAny updates on this issue? I am experiencing the exact same problem.
Comment #4
misqu23 commentedI also experiencing the same problem. And I can't find a solution.
Comment #5
markchitty commentedI haven't looked into this very far, but one short term solution is to add theme function to the genesis theme 'template.php' file instead.
Comment #6
johnalbinClosing.