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)
-   -   How to put Help Zone links in Help box? (https://forum.x-cart.com/showthread.php?t=37515)

shangara singh 02-12-2008 03:00 AM

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.

Yurij 02-12-2008 03:24 AM

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 /> 


shangara singh 02-12-2008 03:56 AM

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 />

Yurij 02-13-2008 12:32 AM

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.


All times are GMT -8. The time now is 10:52 AM.

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