FM home page system
2 posters
Page 1 of 1
FM home page system
Hi @Ange Tuteur
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
![FM home page system Captur43](https://i.servimg.com/u/f21/12/23/10/57/captur43.png)
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
![FM home page system Captur44](https://i.servimg.com/u/f21/12/23/10/57/captur44.png)
Please can you help me with that![Wink](https://2img.net/i/fa/i/smiles/icon_wink.gif)
Forum Address:
HERE!!!
APE
![Hello](/users/3412/19/22/63/smiles/hello.gif)
What i was thinking i would like it so when your Logged in you have this one
![FM home page system Captur43](https://i.servimg.com/u/f21/12/23/10/57/captur43.png)
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
![FM home page system Captur44](https://i.servimg.com/u/f21/12/23/10/57/captur44.png)
Please can you help me with that
![Wink](https://2img.net/i/fa/i/smiles/icon_wink.gif)
Forum Address:
HERE!!!
APE
Re: FM home page system
Hi @Ape,
So a tab displays for guests, try adding the following script to the homepage message :
I think you might also need some CSS to contain the tab :
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;
}
![-](https://2img.net/i/empty.gif)
» HTML page as Home page problem
» need help on home page
» I Need Home Page Like this
» Home Page.
» Can You Help Me !!! not on the home page
» need help on home page
» I Need Home Page Like this
» Home Page.
» Can You Help Me !!! not on the home page
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum