Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Manufacturers not showing on home page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-23-2007, 08:23 AM
 
Scott DeToffol Scott DeToffol is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Minneapolis, MN
Posts: 174
 

Default Re: Manufacturers not showing on home page

I'm having the same issue with the Fashion Mosaic skin on 4.1.9.

"Show manufacturers list in the menu column:" is checked under Manufacturers options.
__________________
Scott DeToffol
Online Marketing and E-Commerce Consulting in Minneapolis

X-Cart Gold Version 4.1.9 for www.sundogtrading.com
X-Cart Pro Version 4.2.3 for www.heavyglare.com
Reply With Quote
  #12  
Old 10-23-2007, 09:43 AM
 
Scott DeToffol Scott DeToffol is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Minneapolis, MN
Posts: 174
 

Default Re: Manufacturers not showing on home page

Weird. The Manufacturers list is showing up on the interior pages, just not on the home.php welcome page.

Isn't home.php created by skin1/customer/home.tpl ?
__________________
Scott DeToffol
Online Marketing and E-Commerce Consulting in Minneapolis

X-Cart Gold Version 4.1.9 for www.sundogtrading.com
X-Cart Pro Version 4.2.3 for www.heavyglare.com
Reply With Quote
  #13  
Old 10-23-2007, 10:10 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Manufacturers not showing on home page

For you guys with the add-on templates, post your customer/home.tpl template...must be an {if} statement in there that is hiding it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #14  
Old 10-23-2007, 10:44 AM
 
Scott DeToffol Scott DeToffol is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Minneapolis, MN
Posts: 174
 

Default Re: Manufacturers not showing on home page

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#}" /> </head> {include file="rectangle_top.tpl" } {include file="head_customer.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"> {include file="customer/categories.tpl" } {if $main ne "catalog" or $current_category.category ne ""} {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y'} <div style="width: 100%; text-align: center;"> <br /> {include file="modules/SnS_connector/button.tpl"} </div> {/if} { include file="customer/menu_cart.tpl" } {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" hide_bullets=true} <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} {if $active_modules.Users_online ne "" and $users_online} { include file="modules/Users_online/menu_users_online.tpl" } <br /> {/if} {include file="customer/special.tpl"} {if $active_modules.Survey && $menu_surveys} {assign var="hide_bullets" value=true} {foreach from=$menu_surveys item=menu_survey} {include file="modules/Survey/menu_survey.tpl"} <br /> {/foreach} {assign var="hide_bullets" value=false} {/if} {include file="help.tpl" } {include file="news.tpl"} {if $active_modules.Interneka ne ""} <br /> { include file="modules/Interneka/menu_interneka.tpl" } {/if} {/if} <img src="{$ImagesDir}/spacer.gif" width="180" height="1" alt="" /> </td> <td valign="top" width="100%"{if $main ne "catalog" or $current_category.category ne ""} class="MainArea"{/if}> <!-- central space --> {if $main ne "catalog" or $current_category.category ne ""} <img src="{$ImagesDir}/spacer.gif" width="100%" height="14" alt="" /> {/if} {if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message" and not ($main eq 'catalog' and $cat eq '')} <div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div> {/if} {include file="dialog_message.tpl"} {if $active_modules.Special_Offers ne ""} <div class="OffersBox"> {include file="modules/Special_Offers/customer/new_offers_message.tpl"} </div> {/if} {include file="customer/home_main.tpl"} <!-- /central space --> </td> </tr> </table> <div class="MainSeparator"><img src="{$ImagesDir}/spacer.gif" alt="" /></div> {if $main eq "catalog" and $current_category.category eq ""} <!--<div class="MainSeparator2"><img src="{$ImagesDir}/customer_images/Line_bg.gif" alt="" /></div>--> <!--Bottom menu--> <table width="100%" cellpadding="0" cellspacing="0" align="center"> <tr> <td><img src="{$ImagesDir}/spacer.gif" alt="" class="WelcomeSpacer"/></td> <td> <table width="100%" cellpadding="0" cellspacing="0" align="center"> <tr> <td colspan="7" valign="top">{if $f_products ne ""} {include file="customer/main/featured.tpl" f_products=$f_products}<br /> {/if}<br /><hr /> </td> </tr> <tr> <td width="179" valign="top"> {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" hide_bullets=true} {/if} {if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Users_online ne "" and $users_online} { include file="modules/Users_online/menu_users_online.tpl" } <br /> {/if} {if $active_modules.XAffiliate ne "" && $config.XAffiliate.partner_register eq 'Y'} {include file="partner/menu_affiliate.tpl" } {/if} </td> <td class="VertSeparator"><img src="{$ImagesDir}/customer_images/spacer_white.gif" class="SpacerWhite" alt="" /></td> <td width="168" valign="top"> {include file="customer/special.tpl"} {include file="help.tpl"} </td> <td class="VertSeparator"><img src="{$ImagesDir}/customer_images/spacer_white.gif" class="SpacerWhite" alt="" /></td> <td width="177" valign="top"> {include file="news.tpl" } {if $active_modules.Interneka ne ""} {include file="modules/Interneka/menu_interneka.tpl" } {/if} <img src="{$ImagesDir}/spacer.gif" alt="" /> </td> <td class="VertSeparator"><img src="{$ImagesDir}/customer_images/spacer_white.gif" class="SpacerWhite" alt="" /></td> <td valign="top"> <br/><br/><br/> {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y'} <center> {include file="modules/SnS_connector/button.tpl"} </center> {else} <a href="help.php?section=contactus&amp;mode=update"><img src="{$ImagesDir}/customer_images/contact_us.jpg" class="ContactUs" alt="" /></a> <br/><br/><br/> {/if} </td> </tr> </table> &nbsp; </td> <td><img src="{$ImagesDir}/spacer.gif" alt="" class="WelcomeSpacer2"/></td> </tr> </table> {/if} <center class="HorizSeparator"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></center> { include file="poweredby.tpl" } {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}
__________________
Scott DeToffol
Online Marketing and E-Commerce Consulting in Minneapolis

X-Cart Gold Version 4.1.9 for www.sundogtrading.com
X-Cart Pro Version 4.2.3 for www.heavyglare.com
Reply With Quote
  #15  
Old 10-23-2007, 10:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Manufacturers not showing on home page

Yep, that's the issue. See this line of code:

{if $main ne "catalog" or $current_category.category ne ""}

Everything after that will only display on pages that are NOT the home page. Comment out that line and the closing {if} tag and the items inside it will show.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #16  
Old 10-23-2007, 11:21 AM
 
Scott DeToffol Scott DeToffol is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Minneapolis, MN
Posts: 174
 

Default Re: Manufacturers not showing on home page

Thanks, that worked.
__________________
Scott DeToffol
Online Marketing and E-Commerce Consulting in Minneapolis

X-Cart Gold Version 4.1.9 for www.sundogtrading.com
X-Cart Pro Version 4.2.3 for www.heavyglare.com
Reply With Quote
  #17  
Old 01-16-2008, 04:56 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default Re: Manufacturers not showing on home page

Stupid question:

I found that line of code but how do I *comment it out*?
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
  #18  
Old 01-16-2008, 04:59 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Manufacturers not showing on home page

{* Commented out code *}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #19  
Old 01-16-2008, 05:04 AM
 
karentown karentown is offline
 

Senior Member
  
Join Date: Apr 2005
Posts: 129
 

Default Re: Manufacturers not showing on home page

So would this

{if $main ne "catalog" or $current_category.category ne ""}

become

{if * $main ne "catalog" or $current_category.category ne "" * } {/if}

Sorry if that is dumb!
__________________
Running stores using the following:

2@ Version 4.0.19
2@ Version 4.1.9
1@ Version 4.1.11
Reply With Quote
  #20  
Old 01-16-2008, 05:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Manufacturers not showing on home page

Not quite:

{* if $main ne "catalog" or $current_category.category ne "" *}

Also be sure to comment out the closing tag:

{* /if *}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:59 PM.

   

 
X-Cart forums © 2001-2020