X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add link to help box/section? (https://forum.x-cart.com/showthread.php?t=53294)

just wondering 04-15-2010 09:27 AM

Add link to help box/section?
 
How do you add a .php link to the help box/section? I've Installed an FAQ Mod but adding the link to the help box/section doesn't seem to work (probably 'cos the instructions were not made for 4.3.x XD)

Any ideas how it's done?

Cheers.

[Edited, realised I'd put FTP when I meant to put FAQ]

just wondering 04-16-2010 04:04 AM

Re: Add link to help box/section?
 
No ideas? :cry:

Shamun 04-16-2010 12:39 PM

Re: Add link to help box/section?
 
Find /skin1/help.tmp

In it you should see code as such:
Code:

{capture name=menu}
<a href="help.php?section=contactus&amp;mode=update" class="VertMenuItems">{$lng.lbl_contact_us}</a><br />
<a href="help.php?section=business" class="VertMenuItems">{$lng.lbl_privacy_statement}</a><br />
<a href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions}</a><br />
{include file="pages_menu.tpl"}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"}


Add before the {include file="pages_menu.tpl"} :
<a href="yourFile.php" class="VertMenuItems">Text that will show up in the help box</a><br />

just wondering 04-19-2010 08:46 AM

Re: Add link to help box/section?
 
Hi Tal,

I've put the code in:
Code:

<a href="faq.php" class="VertMenuItems">{$lng.lbl_faq}</a><br />
But it isn't working. Any ideas?

Cheers.

Shamun 04-19-2010 03:22 PM

Re: Add link to help box/section?
 
I don't use 4.3 and I also don't use your template so it might be a bit different.
You should instead just copy one of the links from one of the things already in there and modify that.

If it turns out to be the same as what mine looks like (included the class) then your issue might be due language variable.

just wondering 04-20-2010 03:07 AM

Re: Add link to help box/section?
 
Hi Tal,

I also tried:
Code:

<a href="faq.php" class="VertMenuItems">FAQ</a><br />
but that didn't work either.

The code in help.tpl is exactly as you posted on your first post so I'm unsure as to why it's not showing up.

I'll ask the person that made the Skin for me. If they don't know, I'll have to ask Qualiteam, I guess. Thanks for your help though, it is much appreciated. :)

Shamun 04-20-2010 06:33 AM

Re: Add link to help box/section?
 
Have you cleared your cache for your store and yourself?

www.yourstore.com/xcartDir/cleanup.php <-- Cleans cache of store templates which is required for template changes
No idea which browser you use mainly, but you can usually just do ctrl+f5 on the page to clear cache for that site.

balinor 04-20-2010 06:50 AM

Re: Add link to help box/section?
 
In 4.3 the template is skin1/customer/help/menu.tpl

just wondering 04-20-2010 06:54 AM

Re: Add link to help box/section?
 
Hi Tal,

Cleared the cache and cleared my Firefox cache. No change. :(

just wondering 04-20-2010 07:03 AM

Re: Add link to help box/section?
 
Cheers Balinor!

Thanks to Tal for your help too. :)


All times are GMT -8. The time now is 12:08 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.