if you views are displaying as a page, you could enable the menu feature on then move it under the correct parent. I do feel your pain, there always seems to be one page that breaks whatever menu I've come up with ;)<br>
<br><div><span class="gmail_quote">On 5/9/07, <b class="gmail_sendername">J-P Stacey</b> <<a href="mailto:jp.stacey@torchbox.com">jp.stacey@torchbox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Thanks very much for your reply:<br><br>> * how to highlight A, B, C or D (with HTML classes?) and make a<br>> menu only 2 levels deep<br>><br>> emm >> If you are using the drupal built in menus, the structure returned by menu_primary_links() is helpful.
<br><br>That looks almost ideal, actually. I've had to use it as a stub for my own,<br>but it's pretty much the mechanism I'm looking for.<br><br>The problem I'm having is that frequently I have items which have a natural
<br>place in the notional hierarchy of my site, but no entry in the menus. So<br>there's a trail through open menus that ought to all be open, but they're<br>not (because the specific bit of the menu that the page "feels like" it
<br>falls under isn't the current active item).<br><br>While it's possible to fudge things a *bit* with the category module, that<br>only works for quasi-static pages: I can't seem to categorise e.g. views or<br>
the site shop. So I'm currently wrapping my call to menu_tree() with a<br>temporary hack to the active item:<br><br> $temp = $_GET['q'];<br> menu_set_active_item(myfunc_map_to_effective_active_item($temp));
<br><br> /* Menu functions go here, unaware of the hack */<br><br> menu_set_active_item($temp);<br><br>It all seems to work, though it feels a bit hairy.<br><br>Cheers,<br>J-P<br>--<br>[ Drupal support list |
<a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br></blockquote></div><br>