I'm having one tough time figuring out how to theme the primary links on my site.

The devel module theme develeper is suggesting that I use block-menu-primary-links.tpl.php but that doesn't override when I create a file. I tried lower templates like block-menu.tpl.php but those are ignored. Only block.tpl.php was picked up and rendered.

What I want to do is render nested links with images that have Only local images are allowed. tags for menu title (from the admin interface). CSS background images will not work, already tried it.

Im thinking it might be a clash between core and modules but I can't seem to isolate the problem. Stuff installed: Menu, CCK (Content), Path, Devel, Theme Developer, and I have Views but it is disabled and still not overriding.

I'm new and have searched like crazy but all I find is 5.x stuff and stuff on regions which I set up. As far as I can tell I'm not doing anything wrong.

I'm approaching a deadline and anything you can offer would be amazing, otherwise I'm going to write some ugly code that will "work" but will be three times as much work then if I just did it right the first time.

Please HELP!

Comments

shishira’s picture

lx have you tried the simple menu module

rkdeveloper’s picture

I have tried this solution for 6.3 and it works for me. try the solution in this link. http://drupal.org/node/62149

make it simple will make your life easy........
Ram

bkildow’s picture

I was having the same issue. After some searching I found that if you copy the block.tpl.php file into your theme directory, it will then pick up block-menu-primary-links.tpl.php. From http://drupal.org/node/190815 :

"Suggestions only work when it is placed in the same directory as the base template. In other words, trying to get comment-blog.tpl.php to work, comment.tpl.php also needs to exist inside your theme and in the same directory. "

rocket777’s picture

After following the above suggestion, it worked for me.
Thanks

E Ismail