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)

brett 11-23-2004 01:03 PM

thanks works great in 4.07 too

rapsearch 12-08-2004 04:43 AM

This is working great :)

I do got a request though. Is it possible to have a category display more columns?

I want all categories at 2 columns what this code does great but one needs to be at 4 or it will get way to long.


is this possible?

nfc5382 12-08-2004 05:48 AM

any differences for 3.5.x branch?

adpboss 12-08-2004 05:54 AM

You should be able to use the 3.4 code and just watch the Smarty tags for database items to make sure the verbage isn't different. It shouldn't be because 3.5 is really just an extension of 3.3, 3.4

rapsearch 12-09-2004 01:31 PM

I use the code from "grimscot" given above.

Is it possible to shorten the amount of subcategories displayed? I have for example over 50 subcategories in one section. I get a huge list now and people have to scroll down a lot.

Can i get more columns so people don't have to scroll down so much? 3 or 4 for example?

adpboss 12-09-2004 01:57 PM

Change this I believe

Code:

{if %cat_num.index% is div by 2}

Dmitri 12-13-2004 02:27 AM

category description
 
now that wouldn't display description for each subcategory, would it?
It didn't in my 4.0.8...

Alhtough I clearly see: { $subcategories[cat_num].description|escape }
but it returns nothing...

any ideas?

Thanks!

GM 12-14-2004 10:25 PM

MOST EXCELLENT! :wink:

rapsearch 12-15-2004 03:16 AM

Changing that works... but how can i set x amount od columns for a specific subcategory?? I want one section to be 3 columns and my others must be 2.

Chris B 12-15-2004 01:10 PM

display only 10 per page
 
Since we have so many sub categories, is there a method to display only 10 on a page and then have a "next" and "previous" button?

Thank you,
Chris


All times are GMT -8. The time now is 12:37 PM.

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