Jump to content

Archived

This topic is now archived and is closed to further replies.

massmosaic

Section to show only when user isn't logged in?

Recommended Posts

massmosaic

Hi pagelines,

 

I'm interested in adding a textbox section to a few pages to my site which users only see if NOT logged in. Once logged in, it wouldn't show up. Is there a way to do this? Or is this not possible using sections in DMS? 

 

Thank you.

Share this post


Link to post
Share on other sites
James B

Hi there, it's not possible out of the box unfortunately using the standard sections. Have you looked into a plugin like s2 member? This will allow people not registered or logged into the site to see a different layout to those logged in. https://www.s2member.com/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
massmosaic

Cheers, thank you James.

 

Have looked at s2member in the past for other purposes... added lots of unnecessary functionality and complexity to my site...

 

If pagelines ever does add this functionality, it'd be +10! :)

Share this post


Link to post
Share on other sites
Danny

You could do this with a hook and plan old HTML/text. However, you're unable as far as I am aware to insert/include a section via a hook.

 

You can find more information about hooks here - http://docs.pagelines.com/advanced/hooks

 

Here you can find out about the Wordpress conditionals - http://codex.wordpress.org/Function_Reference/is_user_logged_in


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon

Next version of pro tools will have this feature.

Share this post


Link to post
Share on other sites
massmosaic

awesome, good to know Simon_P

 

Already very impressed by DMS, that wll take things to the next level. ;)

Share this post


Link to post
Share on other sites
James B

Great news, thanks for updating the thread.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

×