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

Show specific subcategories inside welcome.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-30-2008, 10:03 AM
 
skeep5 skeep5 is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 47
 

Default Show specific subcategories inside welcome.tpl

I need to show a list of subcategories that are inside category #477 on my site, but display them inside my welcome.tpl page. Can anyone point me in the right direction? Thanks!
__________________
---------------
Brandon Larsen
---------------
X-Cart version 4.4.3
X-Cart version 4.1.9
X-Cart version 4.1.10
Reply With Quote
  #2  
Old 07-08-2008, 11:40 AM
 
skeep5 skeep5 is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 47
 

Default Re: Show specific subcategories inside welcome.tpl

Anyone?
__________________
---------------
Brandon Larsen
---------------
X-Cart version 4.4.3
X-Cart version 4.1.9
X-Cart version 4.1.10
Reply With Quote
  #3  
Old 07-09-2008, 12:36 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Show specific subcategories inside welcome.tpl

You could just put a link in txt_welcome or in welcome.tpl itself.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #4  
Old 07-09-2008, 01:00 PM
 
skeep5 skeep5 is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 47
 

Default Re: Show specific subcategories inside welcome.tpl

My apologies, let me be more specific. I need to DYNAMICALLY generate the subcategories inside welcome.tpl, and i don't know the smarty logic to do so.
__________________
---------------
Brandon Larsen
---------------
X-Cart version 4.4.3
X-Cart version 4.1.9
X-Cart version 4.1.10
Reply With Quote
  #5  
Old 07-10-2008, 06:11 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Show specific subcategories inside welcome.tpl

It seems to me that you want to include subcategories.tpl (or a clone of it) specifying category #477 instead of the root. Try going to category #477 and paying attention to what is in the browser bar, this should be what you specify as the root. I'm not sure if it will work, but its a starting point.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 11:55 AM.

   

 
X-Cart forums © 2001-2020