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

Categories template?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2008, 11:06 AM
 
SBF SBF is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 33
 

Default Categories template?

I've searched everywhere and have not found the template that I edit the top of the main categories? For example here are the URLs:

home.php?cat=1
home.php?cat=2
home.php?cat=3
home.php?cat=4

The middle section of those pages has a space at the top that I want to remove and make sure it lines up with the rest of the pages. What template do I edit for the main categories? TIA.
__________________
Version 4.1.10
Reply With Quote
  #2  
Old 07-28-2008, 11:07 AM
 
balinor balinor is offline
 

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

Default Re: Categories template?

Here's a tip:

Open up your site in webmaster mode - it will tell you exactly which template is which
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-28-2008, 11:17 AM
 
SBF SBF is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 33
 

Default Re: Categories template?

OK, looks like this is the template:

/customer/home_main.tpl

That calls many other templates. Any way to determine which one has the code I need changing? I know what to look for but see no way to search within templates?

I'm looking for a <p /> tag right after this:

<!-- central space -->
Cannot find it anywhere
__________________
Version 4.1.10
Reply With Quote
  #4  
Old 07-28-2008, 11:18 AM
 
balinor balinor is offline
 

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

Default Re: Categories template?

It isn't home_main.tpl - that is just the container. Need to go further in, you'll see the surround box get smaller around your category menu. Probably customer/categories.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-28-2008, 11:53 AM
 
SBF SBF is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 33
 

Default Re: Categories template?

I've gone as far in as it will let me and found these templates:

customer/home_main.tpl
customer/main/subcategories.tpl
dialog.tpl

I've gone through all three of these to no avail. Any other ideas?
__________________
Version 4.1.10
Reply With Quote
  #6  
Old 07-28-2008, 11:58 AM
 
SBF SBF is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 33
 

Default Re: Categories template?

Everything lines up correctly, just "Categories" is off.
__________________
Version 4.1.10
Reply With Quote
  #7  
Old 07-28-2008, 12:07 PM
 
balinor balinor is offline
 

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

Default Re: Categories template?

That would be subcategories.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 07-28-2008, 12:17 PM
 
SBF SBF is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 33
 

Default Re: Categories template?

Figured it out, thanks for the help!
__________________
Version 4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 12:51 AM.

   

 
X-Cart forums © 2001-2020