Forum Index :: FAQ :: Search :: Memberlist :: Usergroups :: Join! (free) :: Log in
portalogy.myfastforum.org

For all your portal needs



Board Index >> Forum Portals Currently Available

  Logout portal (to work inside the login portal)

 
Post new topic   Reply to topic
Previous topic | Next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing. Post subject:    Posted:   






Back to top
admin(Nick_NR) Post subject: Logout portal (to work inside the login portal)    PostPosted: Thu Nov 15, 2007 5:34 pm  
Site Admin
Site Admin


Visit poster's website MSN Messenger Yahoo Messenger AIM Address View user's profile

Joined: 27 Dec 2006
Posts: 207
Points: 1000000


Location: England
This will however need to go into your css file:
Code:
#logoutbtn {margin:4px;}

#logoutbtn a {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #FF0000;
   text-decoration: none;
   border: 1px solid #FF0000;
   padding-top:2px;
   padding-bottom:2px;
   padding-right:25px;
   padding-left:25px;
   background-color: #000000;
}

#logoutbtn a:hover {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #990000;
   text-decoration: none;
   border: 1px solid #990000;
   padding-top:2px;
   padding-bottom:2px;
   padding-right:25px;
   padding-left:25px;
   background-color: #000000;
}


To obtain a border similar to how the buttons appear normally, then the following needs to be followed:
#logoutbtn a would need it's border set to:
Code:
border: 2px outset #FF0000;

#logoutbtn a:hover would need it's border set to:
Code:
border: 2px inset #990000;


Changing the border color, background color and font color will allow you to heavily customise the appearance of the button as you can see and test here on template 1.

Go into your admin panel, option 3 styles, then edit templates/logos and pick the template your going to work on, now from the bottom drop down list pick cms_login.tpl open it up and add the following below whats already inside the file:
Code:
<!-- BEGIN switch_user_logged_in -->
<table width="100%" cellpadding="4" cellspacing="1" border="0" align="center">
<form method="post" action="{S_LOGIN_ACTION}">{S_HIDDEN_FIELDS}
<tr>
<th class="row1log">{L_LOGIN_LOGOUT}</th>
</tr>
<tr>
<td class="row2log" align="center">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td >
<div id="logoutbtn"><a href="{U_LOGIN_LOGOUT}" id="logoutbtn">Logout</a></div>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<!-- END switch_user_logged_in -->



Back to top Reply with quote

Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Board Index >> Forum Portals Currently Available


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

  ^ Card File  Gallery  Forum Archive ^  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template back ported to phpbb2 by Nick(NR) © 2007 Nick(NR)
Design By Poker Bandits
If you feel that PORTALOGY has been helpful and would like to say thank you then please click the donation button below.