View Single Post
  #4  
Old 03-24-2007, 09:30 AM
 
Seacat Seacat is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 29
 

Default Re: Adding Printable Version to Embeded Static Pages

Quote:
Originally Posted by taylork

1. Modify the "<xcart_dir>/skin1/head.tpl" template, replace the following code:

{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}

with this one:

{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || $main eq 'pages' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}


added the above, and nothing changes on 4.1.6. Did you have any other places to add the part for $main eq 'pages' ?
__________________
Seacat
X-Cart Gold v4.1.6 [linux]
PHP 5.2.2
My SQL 5.0.24
DSEFU Mod
Cartlab CSS Skin
Several other mods
Self-Defense Weapons
Reply With Quote