I use the starterkit as a child of zen and can see in the page.tpl.php that primary links are called via theme(array('links__system_main_menu', 'links'),..., and if I create a function called mytheme_links__system_main_menu() in my subtheme's template.php, this hook is not register and won't work, so it falls back to zen_links().

CommentFileSizeAuthor
#1 links--system-main-menu.patch1.05 KBjohnalbin

Comments

johnalbin’s picture

Title: Hook mytheme_links__system_main_menu() doesn't works as expected » mytheme_links__system_main_menu() doesn't work as expected
Status: Active » Fixed
Issue tags: -overriding
StatusFileSize
new1.05 KB

Oooh. I know exactly what causes this. theme_links doesn't have a pattern registered for it in the theme registry.

I've fixed this with the following patch in 6.x-2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.