How Do I Add A New Link Into The NAV_LINKS Block?


Subject: How Do I Add A New Link Into The NAV_LINKS Block?
Before anyone answers please be aware of 2 things
1) I have searched the posts already for the answer. (None give a full explanation)
2) As my signature says I am a scripting idiot! (I have no problem following instructions)

Now for my little problem: I installed FlashChat and need to add a link to chat in the "NAV_LINKS" block.

I tried adding this into my "nav_quick_links.tpl file: Which didn't work.
<tr>
<td align="left" width="8">{IMG_ARROW_RIGHT}</td>
<td class="genmed" align="left"><a href="{U_CHAT}">{L_CHAT}</a></td>
</tr>

Any help I could get would be most appreciated.

Thanks in advance!

Subject: Re: How Do I Add A New Link Into The NAV_LINKS Block?
Do you have cleared the cache? (ACP->IM Portal in older XS version, ACP->Home page in XS 058)

Subject: Re: How Do I Add A New Link Into The NAV_LINKS Block?
MrWizard wrote: [View Post]
Before anyone answers please be aware of 2 things
1) I have searched the posts already for the answer. (None give a full explanation)
2) As my signature says I am a scripting idiot! (I have no problem following instructions)

Now for my little problem: I installed FlashChat and need to add a link to chat in the "NAV_LINKS" block.

I tried adding this into my "nav_quick_links.tpl file: Which didn't work.
<tr>
<td align="left" width="8">{IMG_ARROW_RIGHT}</td>
<td class="genmed" align="left"><a href="{U_CHAT}">{L_CHAT}</a></td>
</tr>

Any help I could get would be most appreciated.

Thanks in advance!


you have to specifiy the Chat URL in the page_header.php, if you havn´t did it yet

try something like that:

OPEN page_header.php
ADD
Code: [Download] [Hide] [Select]
'L_CHAT' => $lang['Chat'],
'U_CHAT' => append_sid('flashchat.' . $phpEx),


you also have to add (if you didn´t this) to all your language files (lang_main.php)

and the do your template changes in nav_quick_links.tpl

cya

Subject: Re: How Do I Add A New Link Into The NAV_LINKS Block?
Thanks for the fast reply. One more little thing. How could I make the link open a new window?

Subject: Re: How Do I Add A New Link Into The NAV_LINKS Block?
part of your link

Code: [Download] [Hide] [Select]
target="_blank" href=

Subject: Re: How Do I Add A New Link Into The NAV_LINKS Block?
Thanks again...All is good with the world once again...


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 1.2766s (PHP: 2% SQL: 98%)
SQL queries: 10 - Debug Off - GZIP Enabled