How do I hide content in the layout.master from authenticated users ?

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.
7/12/2012 6:49:48 AM
Gravatar
Total Posts 27
https://ict.ken.be
Hybrid coding since
the dawn of time.

How do I hide content in the layout.master from authenticated users ?

How do I hide content in the layout.master from authenticated users?

Basically I want to put information (eg. ads, pricing,...) in the footer that is only visible to anonymous users. I want to do this in the layout.master since this information should be available in all pages (including the blog, forum, cms-pages, ...)

Is there any way to do this? Or a better solution?

My last try was with the ModuleWrapper for htmlcontent, but that bypasses security I guess.

Tx

7/12/2012 8:34:34 AM
Gravatar
Total Posts 2253

Re: How do I hide content in the layout.master from authenticated users ?

Hi Ken,

Use the LoginView control. You can read about it in a blog post I made last year.

HTH,
Joe D.

7/15/2012 3:02:48 PM
Gravatar
Total Posts 27
https://ict.ken.be
Hybrid coding since
the dawn of time.

Re: How do I hide content in the layout.master from authenticated users ?

Using the loginview solved the problem.

Thanks Joe.

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