| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Detail Contents detail Only only header and footer no other things | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Re: Product Detail Contents detail Only only header and footer no other things
Thanks
a lot Sunray Sales for your kind help to achieve the alignment problem, here is the final solution in skin / 2-columns / customer / content.tpl this file , before that the left column of the product details page must be blocked this is to be done by the code in highlighted at the end of the code before modifying please save a copy of content.tpl {* $Id: content.tpl,v 1.1 2010/05/21 08:31:51 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <div id="center"> { if $main eq "product"} <div id="center-main" style="margin:0 0 0 0px;"> {else} <div id="center-main"> {/if} {include file="customer/evaluation.tpl"} <!-- central space --> {if ($main eq 'cart' and not $cart_empty) or $main eq 'checkout'} {include file="modules/`$checkout_module`/content.tpl"} {else} {if $main neq "catalog" or $current_category.category neq ""} {include file="customer/bread_crumbs.tpl"} {/if} {if $main ne "cart" and $main ne "checkout" and $main ne "order_message"} {if $gcheckout_enabled} {include file="modules/Google_Checkout/gcheckout_top_button.tpl"} {/if} {if $amazon_enabled} {include file="modules/Amazon_Checkout/amazon_top_button.tpl"} {/if} {/if} {include file="customer/dialog_message.tpl"} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {if $page_tabs ne ''} {include file="customer/main/top_links.tpl" tabs=$page_tabs} {/if} {if $page_title} <h1>{$page_title|escape}</h1> {/if} {include file="customer/home_main.tpl"} {/if} <!-- /central space --> </div><!-- /center-main --> </div><!-- /center --> {if ($main neq 'cart' or $cart_empty) and $main neq 'checkout' and $main ne "product"} <div id="left-bar"> {include file="customer/left_bar.tpl"} </div> {/if} Thanks again
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#22
|
|||||||
|
|||||||
Re: Product Detail Contents detail Only only header and footer no other things
Glad to help, and good job on the final solution!
|
|||||||
#23
|
|||||||
|
|||||||
Re: Product Detail Contents detail Only only header and footer no other things
Hello Sunray,
How to make home page in single? That is only header, footer, and central area in Artistic Tunes Business template.. |
|||||||
#24
|
|||||||
|
|||||||
Re: Product Detail Contents detail Only only header and footer no other things
Hi,
How to make home page single and the remaining category,manufactures page 2 column?? |
|||||||
#25
|
|||||||
|
|||||||
Re: Product Detail Contents detail Only only header and footer no other things
Quote:
Hi, sorry for the delay in response. I'm not 100% sure about how do modify your version of X-Cart. But for your healthshoppe website you will be using a similar code to xtech. { if $main eq "product"} or { if $main eq "home"} In which you will use this if statement to determine if the page is on the product page or home page and then make modifications to the center container and disable the left and right bar accordingly. |
|||||||
#26
|
|||||||
|
|||||||
Re: Product Detail Contents detail Only only header and footer no other things
Hi Sunary,
My site url is www.health-shoppe.com/FINAL. AND skin is artistictunes business in 4.4.2 I want to make home page only single column. Here is my content.tpl file- {* $Id: content.tpl,v 1.1 2010/05/21 08:31:52 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <div id="center"> <div id="center-main"> {include file="customer/evaluation.tpl"} <!-- central space --> {if ($main eq 'cart' and not $cart_empty) or $main eq 'checkout'} {include file="modules/`$checkout_module`/content.tpl"} {else} {if $main neq "catalog" or $current_category.category neq ""} {include file="customer/bread_crumbs.tpl"} {/if} {if $main ne "cart" and $main ne "checkout" and $main ne "order_message"} {if $gcheckout_enabled} {include file="modules/Google_Checkout/gcheckout_top_button.tpl"} {/if} {if $amazon_enabled} {include file="modules/Amazon_Checkout/amazon_top_button.tpl"} {/if} {/if} {include file="customer/dialog_message.tpl"} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {if $page_tabs ne ''} {include file="customer/main/top_links.tpl" tabs=$page_tabs} {/if} {if $page_title} <h1>{$page_title|escape}</h1> {/if} {include file="customer/home_main.tpl"} {include file="customer/bottom_menu.tpl"} {/if} <!-- /central space --> </div><!-- /center --> </div><!-- /center-main --> {if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'} <div id="right-bar"> {include file="customer/left_bar.tpl"} </div> {/if} I have added your code but cannot get my home page to single. Can you help to achieve my goal ?? Thanks. |
|||||||
|
|||
X-Cart forums © 2001-2020
|