X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Mod for subcategories in columns with descriptions and icons (https://forum.x-cart.com/showthread.php?t=3848)

MCM 07-09-2006 11:12 PM

Is there any way to get this to work in 4.0.x?

hooter 07-09-2006 11:42 PM

Please look at page 3 of this same thread, about half-way down.
Quote:

Originally Posted by MCM
Is there any way to get this to work in 4.0.x?


MCM 07-09-2006 11:45 PM

Quote:

Originally Posted by hooter
Please look at page 3 of this same thread, about half-way down.
Quote:

Originally Posted by MCM
Is there any way to get this to work in 4.0.x?


Sorry, I meant the fix that's just above which includes the title tag for each link containing the subcategory description :oops:

jdedba 07-10-2006 10:14 AM

Good mod is coming out for 4.1.2! Thanks a lot for sharing!

drudden 07-10-2006 11:52 AM

Excellent
 
Thank you for this code. I think this will help a lot of people as they start upgrading to the new version of X-Cart.

timbrrr 07-10-2006 01:11 PM

Well done Mrkenzie! I have no idea why this is not an option in Xcart to begin with!
The only thing that the user will have to be careful of (or at least that I've noticed) is to make sure to resize your images used for the subcats to be all of the same size to keep uniformity, but such a small price to pay for having this!
Also, you might add the directories to find the file to change- I was able to find them using dreamweaver to locate the text to be changed- Something that might help the not-so fluent savy xcart users. *raises hand**
Once again, thank you for taking the time to come up with this mod, and most of all sharing it with the rest of us!

hudge 08-15-2006 05:21 PM

Multi column and thumbnails in subcat ver 4.1
 
Has anyone got this to work with version 4.

here is my code but I cant get the columns.
Code:

{if $subcategories}
<table cellspacing="5" width="100">

{foreach from=$subcategories item=subcat}
<tr>
<td class="SubcatTitle" align="center">
<a href="home.php?cat={ $subcat.categoryid }"><center>
[img]{$xcart_web_dir}/image.php?id={$subcat.categoryid }&amp;type=C[/img]



{ $subcat.category|escape }
</center>
</a>
</td>
</tr>
{/foreach}

</table>

{/if}

[/code]

tntdesigns 08-15-2006 05:33 PM

I see your using 4.0.12, the mode on forum page 10 is for ver 4.1+
Try backing up to page 7 or 8
But if you do have ver 4.1+ I'm working on that my self.
Tom

hudge 08-15-2006 06:06 PM

I am on 4.1 my other carts are old. My code works just need the column feature. I also want to add columns in products.tpl do you know where that link is? pm me and lets try to solve this. thanks.

hudge 08-15-2006 06:16 PM

Thanks Got it to work using mrkenzie code dont know where cat.php is, but it still works.


All times are GMT -8. The time now is 03:32 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.