| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Mod for subcategories in columns with descriptions and icons | ||||
|
|
Thread Tools | Search this Thread |
#261
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
I am having trouble finding the include folder. I have read through all 26 pages of this thread and saw someone else had an issue finding it as well and got the following response:
"xcart is your root directory. Just look for the include folder and the catagores.php file should be in there." Unfortunately, I just can't seem to find the include folder. It is probably obvious, can anyone help please? I can't wait to try this mod.
__________________
/Lindsey/ X-Cart Gold 4.1.9 |
|||||||
#262
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
I found the solution for the subcategory icons not showing for version 4.1.10
The solution is to set the Image Location for your icons to file system and it works perfectly. Thank you all
__________________
Alvaro Grillet XCART GOLD 4.4.1 XCART GOLD 4.1.10 XCART GOLD 4.1.9 XCART GOLD 4.2.2 |
|||||||
#263
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
lindseyabrandon do you have your xcart in the root directory?
Anyway the include folder is inside the xcart root folder not necesarily in the root of your domain. Hope it helps
__________________
Alvaro Grillet XCART GOLD 4.4.1 XCART GOLD 4.1.10 XCART GOLD 4.1.9 XCART GOLD 4.2.2 |
|||||||
#264
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
Quote:
I finally found my include folder...it was only accessible through FTP and I was looking in the Admin section. I think I have the mod installed correctly, but the images aren't showing up. They are in the file system, but I am unclear how to make sure the permissions and htaccess files are correct. I can see the category icons in the admin area. I am so close to being done, please help!
__________________
/Lindsey/ X-Cart Gold 4.1.9 |
|||||||
#265
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
Awesome MOD! Works well in 4.1.10 as well.
|
|||||||
#266
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
Thanks to all that created the mod , but I'm still on the below problem can someone tell me what I missed, I followed the all the directions and still can't get it to display right.
Thanks Quote:
__________________
gpagan Hiway 2000 Solutions ----------------------- X-Cart Gold v. 4.1.9 www.hiway2000.com |
|||||||
#267
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
gpagan - Please post your code from subcategories.tpl so i can have a look
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#268
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
Here it is. Thanks
{* $Id: subcategories.tpl,v 1.43.2.2 2004/10/07 07:08:51 max Exp $ *} {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} {if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace: "/[\n]/":" "} {/if} {capture name=dialog} {assign var="tmp" value="0"} {section name=cat_num loop=$subcategories} {if $subcategories[cat_num].category}{assign var="tmp" value="1"}{/if} {/section} {* ==================== Sub categories mod start *} {foreach from=$subcategories item=subcat name="subcats"} { if $smarty.foreach.subcats.first } <table cellspacing="5" width="100%" border="0"> <tr> {foreach from=$subcategories item=subcat} {if $tmp is div by 4} </tr> <tr><td colspan="4"></td></tr> <tr valign="top"> {/if} { if $tmp and $first_subcat ne "Y" } {assign var="tmp" value=0} {assign var="first_subcat" value="Y"} {/if} <td class="ColumnTitles" valign="top"><a title="{$subcat.description}" <a href="home.php?cat={ $subcat.categoryid }"><img src="{if $subcat.icon_url}{$subcat.icon_url}{else}{$xcart_w eb_dir}/spacer.gif{/if}" alt="" /><br> <font class="ItemsList">{ $subcat.category|escape }</font></a> {if $config.Appearance.count_products eq "Y"} {if $subcat.product_count}({ $subcat.product_count }) {elseif $subcat.subcategory_count}({ $subcat.subcategory_count }) {else} (0) {/if} {/if} {assign var="tmp" value=$tmp+1} {/foreach} </tr> </td> </table> {/if} {/foreach} {* ==================== Sub categories mod end *} {if $tmp and $products ne "" } <BR clear="left"> <HR size="1" noshade> {/if} {if $products} {if $sort_fields} <DIV align="right">{include file="main/search_sort_by.tpl" sort_fields=$sort_fields selected=$search_prefilled.sort_field direction=$search_prefilled.sort_direction url="home.php?cat=`$cat`&"}</DIV> {/if} {if $total_pages gt 2} { include file="customer/main/navigation.tpl" } {/if} <HR size="1" width="100%"> {include file="customer/main/products.tpl" products=$products} {/if} {if $products eq "" and $tmp eq "0"} {$lng.txt_no_products_in_man} {/if} {/capture} {include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra="width=100%"} {if $products eq ""} {if $f_products ne ""} {include file="customer/main/featured.tpl"} {/if} {/if} { include file="customer/main/navigation.tpl" }
__________________
gpagan Hiway 2000 Solutions ----------------------- X-Cart Gold v. 4.1.9 www.hiway2000.com |
|||||||
#269
|
|||||||||
|
|||||||||
Re: Mod for subcategories in columns with descriptions and icons
Ok guys, I am REALLY confused. I have been trying to find out how to put the category images on our site and I was referred to this forum topic. I do not know how to use this code or where it is goes....can anyone give me some direction here?
We are using version 4.1.11 Thanks in advance for any help!
__________________
B&T sales xCart 5 Business Core Version: 5.3.5 |
|||||||||
#270
|
|||||||
|
|||||||
Re: Mod for subcategories in columns with descriptions and icons
I hear you...I was in the same boat and ended up just spending the points to have the X-Cart people help me and I am glad I did. I would suggest that.
Good luck!
__________________
/Lindsey/ X-Cart Gold 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|