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
  #141  
Old 07-09-2006, 11:12 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default

Is there any way to get this to work in 4.0.x?
__________________
Version 4.0.17/4.0.18
Reply With Quote
  #142  
Old 07-09-2006, 11:42 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

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?
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #143  
Old 07-09-2006, 11:45 PM
 
MCM MCM is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 114
 

Default

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
__________________
Version 4.0.17/4.0.18
Reply With Quote
  #144  
Old 07-10-2006, 10:14 AM
 
jdedba jdedba is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 96
 

Default

Good mod is coming out for 4.1.2! Thanks a lot for sharing!
__________________
version 4.1.1
Reply With Quote
  #145  
Old 07-10-2006, 11:52 AM
 
drudden drudden is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 66
 

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

Dan

X-Cart Version 4.3.1
Reply With Quote
  #146  
Old 07-10-2006, 01:11 PM
 
timbrrr timbrrr is offline
 

eXpert
  
Join Date: Feb 2006
Posts: 277
 

Default

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!
__________________
X-Cart Gold 4.6.3
Codero dedicated server
Reply With Quote
  #147  
Old 08-15-2006, 05:21 PM
 
hudge hudge is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 50
 

Default 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]
__________________
-----www.hudge.com------
X-Cart Pro v4.1.8
X-Cart Gold v4.1.8
Lite Commerce v2.2
Reply With Quote
  #148  
Old 08-15-2006, 05:33 PM
 
tntdesigns tntdesigns is offline
 

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

Default

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
__________________
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
  #149  
Old 08-15-2006, 06:06 PM
 
hudge hudge is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 50
 

Default

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.
__________________
-----www.hudge.com------
X-Cart Pro v4.1.8
X-Cart Gold v4.1.8
Lite Commerce v2.2
Reply With Quote
  #150  
Old 08-15-2006, 06:16 PM
 
hudge hudge is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 50
 

Default

Thanks Got it to work using mrkenzie code dont know where cat.php is, but it still works.
__________________
-----www.hudge.com------
X-Cart Pro v4.1.8
X-Cart Gold v4.1.8
Lite Commerce v2.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 08:44 PM.

   

 
X-Cart forums © 2001-2020