Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add link to help box/section?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-15-2010, 09:27 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default 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]
__________________
Location: UK
X-Cart: Gold 4.4.2, Status: Finalizing
Template: Colors
Free Mods: Colour Coded Orders, FAQ Manager
Paid Mods: None... yet.
Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13
Reply With Quote
  #2  
Old 04-16-2010, 04:04 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default Re: Add link to help box/section?

No ideas?
Reply With Quote
  #3  
Old 04-16-2010, 12:39 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default 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 />
__________________
- Shane Munroe
Reply With Quote
  #4  
Old 04-19-2010, 08:46 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default 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.
Reply With Quote
  #5  
Old 04-19-2010, 03:22 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default 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.
__________________
- Shane Munroe
Reply With Quote
  #6  
Old 04-20-2010, 03:07 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default 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.
Reply With Quote
  #7  
Old 04-20-2010, 06:33 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default 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.
__________________
- Shane Munroe
Reply With Quote
  #8  
Old 04-20-2010, 06:50 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Add link to help box/section?

In 4.3 the template is skin1/customer/help/menu.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 04-20-2010, 06:54 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default Re: Add link to help box/section?

Hi Tal,

Cleared the cache and cleared my Firefox cache. No change.
Reply With Quote
  #10  
Old 04-20-2010, 07:03 AM
 
just wondering just wondering is offline
 

X-Adept
  
Join Date: Oct 2006
Location: UK
Posts: 471
 

Default Re: Add link to help box/section?

Cheers Balinor!

Thanks to Tal for your help too.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020