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

Mod for subcategories in columns with descriptions and icons

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #121  
Old 06-16-2006, 02:04 AM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default 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
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #122  
Old 06-16-2006, 11:17 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

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
__________________
4.1.9
Reply With Quote
  #123  
Old 06-17-2006, 02:28 AM
 
balinor balinor is offline
 

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

Default

Ummm...I just posted that 2 posts back
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #124  
Old 06-17-2006, 03:21 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

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.//
__________________
4.1.9
Reply With Quote
  #125  
Old 06-21-2006, 06:52 AM
 
Justin@BDM Justin@BDM is offline
 

Newbie
  
Join Date: May 2006
Posts: 9
 

Default

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.
__________________
Justin@BDM
4.1.1 Gold
Reply With Quote
  #126  
Old 06-21-2006, 06:56 AM
 
balinor balinor is offline
 

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

Default

Not sure if this will work on 4.1...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #127  
Old 06-22-2006, 09:36 AM
 
Justin@BDM Justin@BDM is offline
 

Newbie
  
Join Date: May 2006
Posts: 9
 

Default

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?
__________________
Justin@BDM
4.1.1 Gold
Reply With Quote
  #128  
Old 06-22-2006, 10:25 AM
 
balinor balinor is offline
 

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

Default

Yep
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #129  
Old 06-22-2006, 11:03 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

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
__________________
4.1.9
Reply With Quote
  #130  
Old 06-25-2006, 07:41 AM
 
drudden drudden is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 66
 

Default

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.
__________________
Thanks,

Dan

X-Cart Version 4.3.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:56 PM.

   

 
X-Cart forums © 2001-2020