Thread: Help area Help
View Single Post
  #6  
Old 03-29-2007, 03:57 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Help area Help

Quote:
Comment out the line means to place the dollar sign in front of the line.

#pages you want to block

NO! Not in smarty templates.

To comment out contents of a smarty template, use

{* content to comment out *}

I shoudl not have called the content of help.tpl "static"... the pages in help.tpl that you probably want to comment out so that you can make static links:

Code:
<a href="help.php?section=contactus&amp;mode=update">{$lng.lbl_contact_us}</a> <a href="help.php?section=business">{$lng.lbl_privacy_statement}</a> <a href="help.php?section=conditions">{$lng.lbl_terms_n_conditions}</a>

SO -- make these lines:

Code:
{* <a href="help.php?section=contactus&amp;mode=update">{$lng.lbl_contact_us}</a> <a href="help.php?section=business">{$lng.lbl_privacy_statement}</a> <a href="help.php?section=conditions">{$lng.lbl_terms_n_conditions}</a> *}

THEN -- write your static pages in here. Or not -- use pages_menu.tpl for your static pages. There is more than one way to get content in here.

Remember, help.tpl is calling an include for pages_menu.tpl
- {include file="pages_menu.tpl"} -
so it doesn't matter where the links live.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote