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)

tntdesigns 06-16-2006 02:04 AM

Subcategory images & text for Xcart 4.1.1
 
Is there a modified Subcategory.tpl mod for XCart 4.1.1 to display Category icons and text on main page they whould like to share?
Tom

mffowler 06-16-2006 11:17 PM

Anyone know the code to display icons from the file system vs. DB? All of the subcat icon posts relate to "{$xcart_web_dir}/icon.php?categoryid={$cat}" and not "{$current_category.icon_url}".

The latter doesn't work for pulling icons onto a subcategories page... anyone?

- Mike

balinor 06-17-2006 02:28 AM

Ummm...I just posted that 2 posts back ;)

mffowler 06-17-2006 03:21 PM

Thanks P- One has to be thankful to a great forum moderator! Even when the answer was two posts away.

Your code should actually replace the original code as one should only pull image from the DB if they are storing them in there (like who would anyways?)....

Thanks,

mike.//

Justin@BDM 06-21-2006 06:52 AM

So is this the code I need to run on 4.1.1 to give my subcategories images? Is this the code people have always used? Why isn't this built into X-Cart as an option.. because if it is I can't find it anywhere.

balinor 06-21-2006 06:56 AM

Not sure if this will work on 4.1...

Justin@BDM 06-22-2006 09:36 AM

Quote:

Originally Posted by balinor
Not sure if this will work on 4.1...


is this how everyone HAS been doing it with previous versions on X-Cart?

balinor 06-22-2006 10:25 AM

Yep

mffowler 06-22-2006 11:03 PM

I got this to work for 4.1 with the foreach tag, but has anyone been able to transfer that to a section and loop X columns like this mod in 4.1?

Note to XC Team: This is something that should definitely be in X-Cart. There is no reason why people want a list of catageories without the ability the have the loaded icons display and loop.

- Mike

drudden 06-25-2006 07:41 AM

Does anyone have the updated code to show subcategory images in 4.1 yet?
All features that worked in previous versions would be nice, but at this point I am just looking to display the subcategory icon next to its existing name.


It seems a few people are also looking for this on different threads, but no answers have been posted. Mike had mentioned he got this to work using the foreach tag, but I haven't been able to find any information on this either.

Any help would be appreciated.


All times are GMT -8. The time now is 02:08 PM.

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