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

How to put Help Zone links in Help box?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-12-2008, 03:00 AM
 
shangara singh shangara singh is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 38
 

Default How to put Help Zone links in Help box?

Hi -- I accidentally found the heading for the "Help" box is linked. When clicked, it opens "Help zone." See http://www.examaids.com/e-cart/help.php

I would like to make the links in the Help zone more prominent by adding them inside the Help box, alongside the existing 3 links. I've tried hacking Skin1 > Help.tpl but it didn't work.

Any help appreciated.
__________________
-------------------------
Shangara Singh
www.Examaids.com
X-Cart: Version 4.1.10
Reply With Quote
  #2  
Old 02-12-2008, 03:24 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: How to put Help Zone links in Help box?

It should work. Simply add a reference, by analogy.
Following are encouraged to clear the X-Cart cache files.

in original, help.tpl
PHP 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"

So add before line {include file="pages_menu.tpl"} lines -
PHP Code:
<a href="help.php?section=Password_Recovery" class="VertMenuItems">Recover password</a><br /> 
Reply With Quote
  #3  
Old 02-12-2008, 03:56 AM
 
shangara singh shangara singh is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 38
 

Default Re: How to put Help Zone links in Help box?

Thanks, Yurij. That's done the trick. I was using following line and changing the section and class: <a href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions }</a><br />

This didn't work (I'm not PHP savvy). It worked when I didn't include: "{$lng.lbl_FAQ}"

<a href="help.php?section=FAQ" class="VertMenuItems">F.A.Q.</a><br />
__________________
-------------------------
Shangara Singh
www.Examaids.com
X-Cart: Version 4.1.10
Reply With Quote
  #4  
Old 02-13-2008, 12:32 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: How to put Help Zone links in Help box?

Quote:
Originally Posted by shangara singh
Thanks, Yurij. That's done the trick. I was using following line and changing the section and class: <a href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions }</a><br />

This didn't work (I'm not PHP savvy). It worked when I didn't include: "{$lng.lbl_FAQ}"

<a href="help.php?section=FAQ" class="VertMenuItems">F.A.Q.</a><br />

You can use and what you have to offer.
Only need to write this:
PHP Code:
<a href="help.php?section=FAQ" class="VertMenuItems">{$lng.lbl_faq}</a

Large and small letters - are different.
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 10:54 AM.

   

 
X-Cart forums © 2001-2020