View Single Post
  #6  
Old 12-02-2008, 12:59 PM
 
robertswww robertswww is offline
 

X-Adept
  
Join Date: Jul 2003
Posts: 586
 

Default Re: Adding Printable Version to Embeded Static Pages

This works fine in 4.1.10 as well.

Just make sure you add the the double-pike OR symbol... ||

Also, if you would like to have the Printable Version added to your Search Results as well, then just add: || $main eq 'search'

This in the the file: skin1/head.tpl (near the bottom):

Here's the complete replacement code:
Code:
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || $main eq 'pages' || $main eq 'search' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}
Robert
__________________
X-cart 4.1.10
Reply With Quote