WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

venu238


Registered Member
Registered Member
how to keep login, logout register in navigation with drop down menu
i'm using phpbb2

Unknown Data

Unknown Data
Registered Member
Registered Member
You mean like this?
Code:
<form id="optionselect">
   <select onchange="location = this.options[this.selectedIndex].value;">
      <!-- BEGIN switch_user_logged_out -->
      <option value="../login">Sign In
      <option value="../register">Register
      !-- END switch_user_logged_out -->
      <!-- BEGIN switch_user_logged_in -->
      <option value=".../login?logout">Sign Out
      <!-- END switch_user_logged_in -->
   </select>
</form>

http://woops.dk

venu238


Registered Member
Registered Member
Unknown Data wrote:You mean like this?
Code:
<form id="optionselect">
   <select onchange="location = this.options[this.selectedIndex].value;">
      <!-- BEGIN switch_user_logged_out -->
      <option value="../login">Sign In
      <option value="../register">Register
      !-- END switch_user_logged_out -->
      <!-- BEGIN switch_user_logged_in -->
      <option value=".../login?logout">Sign Out
      <!-- END switch_user_logged_in -->
   </select>
</form>

this is the code i have for nav bar, now i want to include the above code in this...
where should i place your code in my code

i also want the messages code

Spoiler:

Ezio

Ezio
Registered Member
Registered Member
venu238 wrote:
Unknown Data wrote:You mean like this?
Code:
<form id="optionselect">
   <select onchange="location = this.options[this.selectedIndex].value;">
      <!-- BEGIN switch_user_logged_out -->
      <option value="../login">Sign In
      <option value="../register">Register
      !-- END switch_user_logged_out -->
      <!-- BEGIN switch_user_logged_in -->
      <option value=".../login?logout">Sign Out
      <!-- END switch_user_logged_in -->
   </select>
</form>

this is the code i have for nav bar, now i want to include the above code in this...
where should i place your code in my code

i also want the messages code

Spoiler:

wow your code very much Shocked , maybe you just need to separate, what the navbar will look when the user is offline,
or online while using the tips of the Unknown Data

If a user logout, replace your logout code into the red code :

<! - BEGIN switch_user_logged_out ->
<li> <a href=""> Register </ a> </ li>
<li> <a href=""> Log in </ a> </ li>

! - END switch_user_logged_out ->

and the same as above, replace your log in code into the red code

<! - BEGIN switch_user_logged_in ->
<option value=".../login?logout"> Sign Out
<! - END switch_user_logged_in ->

CMIIW !

http://www.forumbargedoz.ce.ms

venu238


Registered Member
Registered Member
even though i logged in..i can see register and login icons
and also i want code for inbox
include login details in navigation hover 22308234

Gangstar15

Gangstar15
Registered Member
Registered Member
Code:
<!-- BEGIN switch_user_logged_out -->
Register and login links here
<!-- END switch_user_logged_out -->

venu238


Registered Member
Registered Member
Gangstar15 wrote:
Code:
<!-- BEGIN switch_user_logged_out -->
Register and login links here
<!-- END switch_user_logged_out -->
Hey gangstar good to see here
i got it!!
here is the code..
Code:
<!-- BEGIN switch_user_logged_in -->
<li class="topmenu"><a class="topmenu" href="{U_LOGIN_LOGOUT}"<img src="" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" align="right" />{L_LOGIN_LOGOUT}</a></li>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<li class="topmenu"><a class="topmenu" href="{U_REGISTER}"<img src="" alt="{L_REGISTER}" width="12" height="13" hspace="3" align="right" border="0" />{L_REGISTER}</a></li>
<!-- END switch_user_logged_out -->

i want the code for inbox(new msgs, no new msgs)and how to make My Profile appear after logging in?

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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