YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Hide Tabs in Admin
darthdotnet
#1 Posted : Saturday, September 20, 2008 2:56:39 AM
Rank: Newbie

Medals:

Joined: 9/20/2008
Posts: 5
Points: 15

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)

If I want to hide 1 or 2 tabs in the Control Panel, what is the best way to do it? I have been looking around the source code files, but can't find a way to do it.

Sponsor  
 
matharuajay
#2 Posted : Saturday, September 20, 2008 10:13:22 AM
Rank: Newbie

Medals:

Joined: 9/20/2008
Posts: 1
Points: 3

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
you can change this in web.sitemap under blogs folder. you can comment the tags you dont want to be shown.
darthdotnet
#3 Posted : Monday, September 22, 2008 3:25:02 PM
Rank: Newbie

Medals:

Joined: 9/20/2008
Posts: 5
Points: 15

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Thanks, that works. There is one thing I don't get though. If you want to show a tab to administrators, but hide it from non-administrators, shouldn't it be done by changing this:

<siteMapNode url="~/admin/Pages/Blogroll.aspx" title="blogroll" description="" roles="administrators, editors"/>

to this:

<siteMapNode url="~/admin/Pages/Blogroll.aspx" title="blogroll" description="" roles="administrators"/>

When I make that change the Blogroll tab still shows up for editors.
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC1 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.100 seconds.