admin(Nick_NR) Site Admin


Joined: 27 Dec 2006 Posts: 197 Points: 1000000 Location: England
|
Posted: Fri Nov 02, 2007 4:01 pm |
|
|
A component created by Symon F
A component developed by Portalogy
The component code is done to suit the subSilver style.
I know the images say newsticker ignore it and change it to navlinks.
Now down to installing this:
First you need to enter your admin panel, open up number 3, and click portal settings.
figure1.
Now from that list click blank, this is where you need to give the component a name and title, see below.
fig2.
Once you've given it a name and title of NAVLINKS, click create new portal
Now go to edit templates and pick the template slot you want this component to feature on and look for the portal component list and scroll down to find cms_navlinks.tpl
fig3.
Inside you'll see a bunch of code that is not needed, so delete what's there and place in the below:
| Code: | <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_nav_title -->
<tr>
<th colspan="1" height="25" class="thCornerL" nowrap="nowrap">Nav Links</th>
</tr>
<!--END switch_nav_title -->
<tr>
<td class="row2"><a href="{U_INDEX}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_register.gif" alt="{L_INDEX}" width="12" height="13" hspace="3" border="0" />Home</a></td>
</tr>
<tr>
<td class="row2"><a href="{U_FAQ}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_faq.gif" alt="{L_FAQ}" width="12" height="13" hspace="3" border="0" />{L_FAQ}</a></td>
</tr>
<tr>
<td class="row2"><a href="{U_SEARCH}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a></td>
</tr>
<tr>
<td class="row2"><a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_members.gif" alt="{L_MEMBERLIST}" width="12" height="13" hspace="3" border="0" />{L_MEMBERLIST}</a></td>
</tr>
<tr>
<td class="row2"><a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_groups.gif" alt="{L_USERGROUPS}" width="12" height="13" hspace="3" border="0" />{L_USERGROUPS}</a></td>
</tr>
<!-- BEGIN switch_user_logged_in -->
<tr>
<td class="row2"><a href="{U_PROFILE}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_profile.gif" alt="{L_PROFILE}" width="12" height="13" hspace="3" border="0" />{L_PROFILE}</a></td>
</tr>
<tr>
<td class="row2"><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_message.gif" alt="{PRIVATE_MESSAGE_INFO}" width="12" height="13" hspace="3" border="0" />Messages</a></td>
</tr>
<!-- END switch_user_logged_in -->
<tr>
<td class="row2"><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/myff_gfxtreme1/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a></td>
</tr>
<!-- BEGIN switch_user_logged_out -->
<tr>
<td class="row2"><a href="{U_REGISTER}" class="mainmenu"><img src="templates/mmyff_gfxtreme1/images/icon_mini_register.gif" alt="{L_REGISTER}" width="12" height="13" hspace="3" border="0" />{L_REGISTER}</a></td>
</tr>
<!-- END switch_user_logged_out -->
</table> |
Now to see this appear on a page you'll need to place:
Anywhere on your template where you want it to appear.
|
|