Edit/View Mode

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/5/2011 3:05:17 PM
Gravatar
Total Posts 16

Edit/View Mode

Hi,

We are looking at deploying Mojo in a fairly large organization using Windows Authentication.  The editing of Pages/Content will be distributed amongst a number of users.  I am anticipating one of the user questions being "Is there any way I can view the website without all the little pencils and wrenches everywhere?"  So I'm hoping you can help me.  Is there any way to view the site in a mode which a content administrator doesn't see all the edit functionality unless they want to?

Thanks in advance for any info or advice.

10/5/2011 3:14:18 PM
Gravatar
Total Posts 18439

Re: Edit/View Mode

Hi,

Normally the way to do it would be to just log out, but with Windows authentication there isn't really a way to do that. We've tried to make the edit links as unobtrusive as possible so they have minimal impact on layout, I guess you could replace them with even smaller icons.

The only other solution would be to use Forms Authentication with Active Directory, this way users have to login and can logout but they still use the same windows user name and password and it authenticates against Active Directory.

Sorry but I don't have any other solutions to offer for this one.

Best,

Joe

10/6/2011 7:01:46 AM
Gravatar
Total Posts 16

Re: Edit/View Mode

Thanks for you answer Joe, that is about what I had figured.  The problem with having a solution that requires them to logout is that different parts of the site will be secured so they won't be able to see those sections if they logout.  I guess they will have to learn to live with it.

Thanks again.

10/6/2011 9:57:43 AM
Gravatar
Total Posts 18439

Re: Edit/View Mode

Hi,

I would like to add that if you have in house developers that know ASP.NET and jQuery, it would be pretty easy to implement a solution to toggle showing and hiding those links with jQuery based on the CSS classes on the links or on a container element.

I would make a control or UserControl and embed it in the footer area of the layout.master file in the skin. I would use server side C# code to check if the current user has any edit permissions on the current page and if so I would show a link and I would wire up some jQuery javascript to toggle showing and hiding the edit links when the user clicks the link in the footer.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.