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 Fri Oct 23 2015, 02:47

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




avatar
APE
Manager
Manager

Male Posts : 10827
Reputation : 1008
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 Fri Oct 23 2015, 12:11

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;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13176
Reputation : 2879
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: FM home page system

Post by APE on Fri Oct 23 2015, 14:52

Worked like a Charm Thank you
Topic solved and archived



avatar
APE
Manager
Manager

Male Posts : 10827
Reputation : 1008
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