Re: Cusotm homepage
Thanks for that infrmation what i can not figureout is
"when I hide all the pannels in the home.tpl, they disappear on the other pages, too. I want a home page like the one on the link and standart 3 columns view on all other pages.
remove everything in the #left-bar, #right-bar and #center only on the frontpage and keep them on all other pages. "
This is my home.tpl pls see you can help me?
<div id="main_container" style="width:{if $config.Smart_Template.st_col_layout_type eq "Fixed"}{$config.Smart_Template.st_col_layout_widt h}px{else}100%{/if}">
<!-- ************************************************** ********************************** -->
{include file="custom/header_`$config.Smart_Template.st_col_header_type` .tpl}
<!-- ************************************************** ********************************** -->
<div class="colmask">
<div class="colmid">
<div class="colright">
<div class="col1wrap">
<div class="col1pad">
<div class="col1">
<div class="colpad_body">
<!-- Column 1 start -->
{if $main neq "catalog" || $current_category.category neq ""}
{include file="customer/bread_crumbs.tpl"}
{/if}
{if $config.Smart_Template.st_show_ie6_warning eq "Y"}
{include file="custom/ie6_upgrade.tpl"}
{/if}
{if $gcheckout_enabled && $main ne "cart" && $main ne "checkout" && $main ne "anonymous_checkout" && $main ne "order_message"}
{include file="modules/Google_Checkout/gcheckout_top_button.tpl"}
{/if}
{include file="customer/evaluation.tpl"}
{include file="customer/dialog_message.tpl"}
{if $page_title}
<h1>{$page_title|escape}</h1>
{/if}
{if $active_modules.Special_Offers}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/home_main.tpl"}
{include file="customer/printable_link.tpl"}
<!-- Column 1 end -->
</div>
</div>
</div>
</div>
<div class="col2">
<div class="colpad">
<!-- Column 2 start -->
{if $categories && ($active_modules.Flyout_Menus || $config.General.root_categories eq "Y" || $subcategories)}
{include file="customer/categories.tpl" }
{/if}
{if $active_modules.Bestsellers}
{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}
{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"}
{/foreach}
{/if}
<!-- Column 2 end -->
</div>
</div>
<div class="col3">
<div class="colpad">
<!-- Column 3 start -->
{include file="customer/language_selector.tpl"}
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/button.tpl"}
{/if}
{if $active_modules.Feature_Comparison && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{include file="customer/menu_cart.tpl" }
{if $config.Smart_Template.st_use_my_account ne "Y"}
{if $login eq "" }
{include file="customer/auth.tpl" }
{else}
{include file="customer/authbox.tpl" }
{/if}
{/if}
{include file="customer/news.tpl" }
{* Recently Viewed *}
{include file="customer/recent.tpl"}
{* /Recently Viewed *}
{include file="customer/help/menu.tpl"}
{if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y' && $config.XAffiliate.display_backoffice_link eq 'Y'}
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka}
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{if $active_modules.Users_online}
{include file="modules/Users_online/menu_users_online.tpl"}
{/if}
<!-- Column 3 end -->
</div>
</div>
</div>
</div>
</div>
<div class="clearing"></div>
<!-- ************************************************** ********************************** -->
{include file="custom/footer.tpl}
<!-- ************************************************** ********************************** -->
{if $config.Smart_Template.st_use_my_account eq "Y"}
{include file="custom/modules/my_account/my_account.tpl"}
{/if}
</div><!-- /maincontainer -->
{if $config.Smart_Template.st_use_cufon eq "Y"}
<script type="text/javascript" src="{$SkinDir}/custom/modules/cufon/render_cufon.js"></script>
{/if}
[/font]
__________________
Version 4.2.0
Testing v 4.4
|