Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Nicole 7/18/2006 5:35 PM
I've created two custom modules that perform actions that aren't editable. One dynamically chooses a header image based on the site area and the other creates a "crumb" navigation trail for each page. When I'm logged in as administrator, a "[Section Properties]" link is displayed above each of these. Is there a way to disable this on a per section basis?
# martijnb 7/18/2006 6:31 PM
I'm afraid you can't disable that link. If you don't want to show the link for, for example, editors, just assign them to a role that has no administrator rights.
# Nicole 7/19/2006 5:24 PM
Thanks for the reply martijnb. I ended up "disabling" it by using a little CSS. Since each section was in its own div, I just added:
#mydiv .moduletools { display: none; }
# martijnb 7/20/2006 5:37 AM
That looks like a nice solution! Didn't think about that.
# gedw99 8/12/2006 6:03 PM
Hey,

i ended up doing the same for sections also .
Css to the rescue again.

cheers

Gerard
# Nicole 8/13/2006 7:06 PM
BTW, I've also found that this is a handy technique for using in a website print stylesheet. Thus, if someone wants to print a page, but is logged in as an editor or administrator, they don't have to log out to avoid having the extra junk in their printed page.