View Single Post
  #3  
Old 03-01-2007, 10:27 AM
  newattraction's Avatar 
newattraction newattraction is offline
 

Member
  
Join Date: Oct 2006
Posts: 17
 

Lightbulb Re: Help Zone Titles

Or, if you want to use language variables, do something like this:

Code:
if ($action=="contactus" || $section == 'contactus') { $location[] = array(func_get_langvar_by_name("lbl_contact_us")); } if ($section == 'about') { $location[] = array("About Us"); } if ($section == 'business') { $location[] = array(func_get_langvar_by_name("lbl_privacy_statement")); } if ($section == 'conditions') { $location[] = array(func_get_langvar_by_name("lbl_terms_n_conditions")); } if ($section == 'FAQ') { $location[] = array(func_get_langvar_by_name("lbl_faq_long")); }

Add this after

Code:
$location[] = array(func_get_langvar_by_name("lbl_help_zone"), "help.php");

in \include\help.php.

Hope someone will find it useful.
__________________
www.vonbell.com
xcart v4.1.6
Reply With Quote