https://www.icyphoenix.com/viewtopic.php?f=35&t=268
-----------------------------------
MrWizard
Sun 03 Sep, 2006 02:50

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 [u]installed[/u] 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!


-----------------------------------
buldo
Sun 03 Sep, 2006 03:31

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)


-----------------------------------
KugeLSichA
Sun 03 Sep, 2006 12:36

Re: How Do I Add A New Link Into The NAV_LINKS Block?
-----------------------------------
[quote user="MrWizard" post="2299"]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 [u]installed[/u] 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![/quote]

you have to specifiy the Chat URL in the page_header.php, if you havn´t did it yet

try something like that:

OPEN [b]page_header.php[/b]
ADD
[codeblock]
	'L_CHAT' => $lang['Chat'],
	'U_CHAT' => append_sid('flashchat.' . $phpEx),
[/codeblock]

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


-----------------------------------
MrWizard
Sun 03 Sep, 2006 22:22

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?


-----------------------------------
difus
Sun 03 Sep, 2006 23:04

Re: How Do I Add A New Link Into The NAV_LINKS Block?
-----------------------------------
part of your link

[code linenumbers=false] target="_blank" href=[/code]


-----------------------------------
MrWizard
Mon 04 Sep, 2006 00:50

Re: How Do I Add A New Link Into The NAV_LINKS Block?
-----------------------------------
Thanks again...All is good with the world once again...


