View Single Post
  #7  
Old 04-30-2009, 09:57 PM
 
jer jer is offline
 

Newbie
  
Join Date: Aug 2008
Posts: 8
 

Default Re: Hide Left & Right Columns On Specific Page Product.php

That code setup did not workI get errors.

If this helps I have a 7dana template, and an image mod and below I have posted my home.tpl code:

Code:
{* $Id: home.tpl,v 1.88.2.11 2007/08/08 13:51:54 max Exp $ *} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {if $printable ne ''} {include file="customer/home_printable.tpl"} {else} {config_load file="$skin_config"} <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{strip} {capture name=title} {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {if not %position.first%}&nbsp;::&nbsp;{/if} {$location[position].0|strip_tags|escape} {/section} {else} {section name=position loop=$location step=-1} {if not %position.first%}&nbsp;::&nbsp;{/if} {$location[position].0|strip_tags|escape} {/section} {/if} {/capture} {if $config.SEO.page_title_limit <= 0} {$smarty.capture.title} {else} {$smarty.capture.title|replace:"&nbsp;":" "|truncate:$config.SEO.page_title_limit|replace:" ":"&nbsp;"} {/if} {/strip}</title> {include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" /> {* xCartMod.com - Dynamic Images 2 *} {if $active_modules.Detailed_Product_Images ne "" and $config.Detailed_Product_Images.det_image_thumbnails eq "Y" and $main eq "product"} <link rel="stylesheet" href="{$SkinDir}/modules/Detailed_Product_Images/dynamic_images.css" /> {if $config.Detailed_Product_Images.det_image_thumbs_shadowbox eq "Y"} <script type="text/javascript" src="{$SkinDir}/shadowbox/src/adapter/shadowbox-base.js"></script> <script type="text/javascript" src="{$SkinDir}/shadowbox/src/shadowbox.js"></script> <script type="text/javascript"> Shadowbox.loadSkin('classic', '{$SkinDir}/shadowbox/src/skin'); Shadowbox.loadLanguage('en', '{$SkinDir}/shadowbox/src/lang'); Shadowbox.loadPlayer(['img'], '{$SkinDir}/shadowbox/src/player'); window.onload = Shadowbox.init; </script> {/if} {include file="main/include_js.tpl" src="modules/Detailed_Product_Images/product_images_thumbs.js"} {/if} {* xCartMod.com - Dynamic Images 2 *} </head> <body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}> {include file="rectangle_top.tpl" } {include file="head.tpl" } {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} <!-- main area --> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="VertMenuLeftColumn"><br><br> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")} {include file="customer/categories.tpl" } <br /> {/if}<!-- {if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"} {include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} --> <div class="VertMenuTitle">Package Deals</div> <div class="VertMenuBox" style="padding:5px;"><a href="home.php?cat=180" class="VertMenuItems">High School Dances</a><br /> <a href="home.php?cat=181" class="VertMenuItems">Graduations</a><br /> <a href="home.php?cat=182" class="VertMenuItems">Weddings</a><br /> <a href="home.php?cat=183" class="VertMenuItems">Quincineta</a><br /> <a href="home.php?cat=184" class="VertMenuItems">Debutante Balls</a><br /> <a href="home.php?cat=185" class="VertMenuItems">Formal Events</a><br /> <a href="home.php?cat=186" class="VertMenuItems">Corporate Accounts</a><br /> <a href="home.php?cat=187" class="VertMenuItems">Fashion Shows</a><br /> <a href="home.php?cat=188" class="VertMenuItems">Special Events</a><br /> <a href="home.php?cat=189" class="VertMenuItems">College Events</a><br /> <a href="home.php?cat=190" class="VertMenuItems">Missionary Special</a><br /> </div><br /> {include file="customer/special.tpl"} {if $active_modules.Survey && $menu_surveys} {foreach from=$menu_surveys item=menu_survey} {include file="modules/Survey/menu_survey.tpl"} <br /> {/foreach} {/if} {include file="help.tpl" } <img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" /> </td> <td valign="top" width="100%"> <!-- central space --> {if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"} <div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div> {/if} {include file="dialog_message.tpl"} {if $active_modules.Special_Offers ne ""} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {include file="customer/home_main.tpl"} <!-- /central space --> &nbsp; </td> <td class="VertMenuRightColumn"><br /><div class="VertMenuBox" style="padding:3px;"><a href="home.php?cat=190"><img src="{$ImagesDir}/missionary.jpg" width="160" height="600" alt="" /></a></div> <br /> {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''} {include file="modules/SnS_connector/button.tpl"} <br /> {/if} {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } <br /> {/if} {include file="customer/menu_cart.tpl" } <br /> {if $login eq "" } {include file="auth.tpl" } {else} {include file="authbox.tpl" } {/if} {include file="news.tpl" } {if $active_modules.XAffiliate ne "" && $config.XAffiliate.partner_register eq 'Y'} <br /> {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka ne ""} <br /> {include file="modules/Interneka/menu_interneka.tpl" } {/if} <br /> {include file="poweredby.tpl" } <br /> <img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" /> </td> </tr> </table> {include file="rectangle_bottom.tpl" } {if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""} {include file="modules/Google_Analytics/ga_code.tpl"} {/if} </body> </html> {/if}
__________________
X-Cart version 4.1.10
PHP 5.2.9
GD bundled (2.0.34 compatible)
MySQL server 5.0.67-community
MySQL client 5.0.67
Operation system Linux

Mods:
Easy Variant View Mod
Shadowbox Image Mod
7dana "elegent" template
Reply With Quote