Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Hide Actions in Container
Previous Previous
 
Next Next
New Post 5/27/2008 3:17 PM
User is offline Paul Pleasant
2 posts
10th Ranked


Hide Actions in Container 

Is there any way (without modifying the core) to hide the action menus, without hiding the container, unless logged in as Admin?

We are developing a public site and want to hide everything but our content and the chrome for the containers, while retaining the ability to access the action menus when logged in as Admin.

 
New Post 5/27/2008 3:46 PM
User is offline Charles Nurse
2902 posts
5th Ranked










Re: Hide Actions in Container 

Have you exhausted the permission options?

If you don't give "Edit" access to any users - other than Admin - the actions menu shouldn't display.

However, if you have some modules that need certain permissions you could customise your Containers with some server side code.

For instance - the logic might not be perfect but something like this:

    <% If PortalSecurity.IsinRole("Administrators") %><dnn:Actions .... > <% End If %>

This would only add the actions menu to the control tree if the user was in the Admin role.


Charles Nurse
DotNetNuke Trustee,
Senior Architect, DotNetNuke Coporation
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
See my Blog for Articles on .NET, DNN and Module Development

View my Blog
 
New Post 5/27/2008 4:01 PM
User is offline Paul Pleasant
2 posts
10th Ranked


Re: Hide Actions in Container 

Your second suggestion worked perfectly! Thanks for the quick reply.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Hide Actions in Container
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net
WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP