The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

FM home page system

View previous topic View next topic Go down

Solved FM home page system

Post by APE on October 23rd 2015, 1:47 am

Hi @Ange Tuteur Hello I am Using your Cool Homepage system like on FM
What i was thinking i would like it so when your Logged in you have this one

But when your Logged out you see this one but i want the tab on it like the one we have when logged in
Tab to say Viewing As a Guest


Please can you help me with that Wink

Forum Address:
HERE!!!

APE





APE
Manager
Manager

Male Posts : 8626
Reputation : 756
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: FM home page system

Post by Ange Tuteur on October 23rd 2015, 11:11 am

Hi @Ape,

So a tab displays for guests, try adding the following script to the homepage message :
Code:
<script type="text/javascript">
if (!_userdata.session_logged_in) document.write('<div id="userName"><span>Viewing as </span>Guest</div>');
</script>

I think you might also need some CSS to contain the tab :
Code:
.panel.introduction {
  position:relative;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: FM home page system

Post by APE on October 23rd 2015, 1:52 pm

Worked like a Charm Thank you
Topic solved and archived




APE
Manager
Manager

Male Posts : 8626
Reputation : 756
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum