Links in header - recent styles

Frequently asked questions about styles/themes/templates, avatars and ranks.

Moderator: Moderators

Links in header - recent styles

Postby DooBDee on Wed Sep 14, 2005 7:14 pm

How to: How to add your "own" link back to home page or some other page....This will also focuse on showing links for logged in users only and vice versa.

This document focuses on "latest styles" according to navigation links on the left. These are:
  • Aphrodite
  • Morpheus X
  • Christmas
  • Artemis
  • Morpheus


Aphrodite
Find
Code: Select all
      <td colspan="2" class="forum-buttons" valign="middle">

After add
Code: Select all
            <a href="{LINK}">{LINK_NAME}</a> •


Morpheus X
Find
Code: Select all
      <td class="buttons" nowrap="nowrap" valign="top">

After add
Code: Select all
            <img src="./templates/MorpheusX/images/blue/buttons_spacer.gif" alt="" />
            <a href="{LINK}">{LINK_NAME}</a>


Chistmas
Find
Code: Select all
   <td class="buttons" nowrap="nowrap" valign="top"><div>

After add
Code: Select all
      <img src="./templates/Christmas/images/buttons_spacer.gif" alt="" width="10" height="11" />
      <a href="{LINK}">{LINK_NAME}</a>


Artemis
Find
Code: Select all
         <td nowrap="nowrap" class="buttons-buttons">

After add
Code: Select all
            &nbsp;<a href="{LINK}">{LINK_NAME}</a>&nbsp; |


Morpheus
find
Code: Select all
      <div id="navigation">

After add
Code: Select all
         &nbsp;<a href="{LINK}">{LINK_NAME}</a>&nbsp; |


Showing Link for logged in / out users
Logged in
Find the block of code you want to show for logged in users. At the top of it add
Code: Select all
            <!-- BEGIN switch_user_logged_in -->
At the end of the code block, add
Code: Select all
            <!-- END switch_user_logged_in -->

Logged Out
Find the block of code for logged out users only. At the top add
Code: Select all
            <!-- BEGIN switch_user_logged_out -->
At the end of code block, add
Code: Select all
            <!-- END switch_user_logged_out -->
DooBDee
Website Ninja
DooBDee.net
User avatar
DooBDee
Moderator
Moderator
 
Posts: 3530
Joined: Tue Mar 01, 2005 6:28 pm
Location: DooBDee.net

Return to Styles FAQ

Who is online

Users browsing this forum: No registered users and 1 guest