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

Template problems

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-31-2005, 01:07 AM
 
vivienne vivienne is offline
 

Senior Member
  
Join Date: May 2004
Location: Brisbane, Australia
Posts: 121
 

Default Template problems

I am having problems with my store, one question I asked before but noone answered and the other is new!

When I go from home.php to a categories that has subcategories, the main page are shrinks - where is the code that controls this - I cant seem to find it. see:
http://www.naturalvetcompany.com/home.php

then go to the "for cats" link and you can see that there are larger side margins..

the other thing is the products under any subcategory, I would like them to appear in little boxes on the main page like I have seen in lots of peoples sites but I am not sure how I do that.

thanks a million
Vivienne
__________________
X-Cart 4.18
www.naturalvetcompany.com
www.wkyp.com.au
Reply With Quote
  #2  
Old 08-31-2005, 04:31 AM
 
balinor balinor is offline
 

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

Default

Looks like you have a table set to a specific width somewhere. Without seeing the code, I can't say for sure where it is.

By little boxes, do you mean around the featured products?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-31-2005, 01:07 PM
 
vivienne vivienne is offline
 

Senior Member
  
Join Date: May 2004
Location: Brisbane, Australia
Posts: 121
 

Default

Yes, you know when the featured products show and also when you look at all products in a category - I'd love to be able to have them displayed each in a box. Just to clearly separate the products and to make it look nicer.

Thanks for looking at it, if I knew which template it was in I could just add a border to the cell I suppose, I had a quick look at categories and subcategories.tpl but cant work out which cell is the one that contains the insert of the products

With the page shrinking - I must have changed something and its the same thing! Do you think I can work out which cell it is, I am used to back end stuff but these tables are jsut confusing me! My desk is covered with little drawings . I will send you my login details or if you could tell me which files it could possibly be in that would be fantastic.

Vivienne
__________________
X-Cart 4.18
www.naturalvetcompany.com
www.wkyp.com.au
Reply With Quote
  #4  
Old 08-31-2005, 01:16 PM
 
balinor balinor is offline
 

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

Default

The template to add the border to is products_t.tpl.

As for the incredible shrinking table...I just viewed the source of your page...and you have some big issues There are <head> and <html> tags down in the body of your site. Not sure how they got there, but I'm thinking that those may be part of your problem.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-31-2005, 02:20 PM
 
vivienne vivienne is offline
 

Senior Member
  
Join Date: May 2004
Location: Brisbane, Australia
Posts: 121
 

Default Thanks

I never woul dhave picked up that mistake! Caused by me not understanding what I am doing when embedding files and including head and html tags. I am sure that would have caused all sorts of funny behaviour. I have now corrected that I think but the table is still shirinking . I thought it was a mistake in head.tpl but I suppose it couldnt be because that code is also in the normal home page as well as the subcategory view. As it changes when I go into a cateogry with subcategories but not one where there are just products then it must be something to do with subcategories.tpl? It is fine when I go to the link "Consult Our Vet" but not "by dogs"

Sorry to ask, I am determined to get to grips with php sooner rather than later and have bought the book
Viv
__________________
X-Cart 4.18
www.naturalvetcompany.com
www.wkyp.com.au
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 05:51 PM.

   

 
X-Cart forums © 2001-2020