Or at least what I've implemented after looking around the site for some code snippets... This is the entire code for a menu in a custom (php-enabled) block. I've included the whole menu because I think some folks may find it useful.
I've found that once a number of extra modules are installed the navigation gets out of control and normal users aren't able to use the menu effectively.
This menu is a combination of brihogan's post on customizing a Private message block - inbox block and the handbook page on Moving locked Navigation menu items to your custom block
I have the "most recent comments", "active forums blocks", but I don't want those visible when someone is in the forums. I configured those blocks with 'forum*' as the exclusion list on the admin/block page.
Now this works great for the forum index, but doesn't work for posts because those have names like node/165. It seems to me there is no way to exclude forum posts from blocks then, as there is nothing unique about their URLs.
I'm using node_privacy_byrole, which serves my purposes very well. My primary use is for allowing authenticated users to see certain content that is not available to anonymous users.
It would be nice if I could apply this same capability to menus. Then, I could filter out menu items that lead to restricted content so that anonymous users don't even see the menu items. For my site, this is better than letting them go to a page that tells them they are not authorized.
I've now reached the point where I'm putting up help that includes html tags for my users, and thought it might be a good idea to integrate an html editor! Can anyone share their experience if they've already done so?
Thanks!
Maha