View Single Post
  #1  
Old 08-01-2006, 06:49 PM
 
robf robf is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 61
 

Default Making home.php only control home page not catergories

Hi All, I'm trying to get a certain look with xcart and slowly getting there. I wanted my product.tpl page to load outside the normal template and take up the whole screen, as in lose the left column, I managed to do that.

Now I want my home page to have a left and right column, right side for news, but the rest of the site I want it to have 1 column and drop the right column. I'm able to do that for the most part however all the categories point to the home.php file. So when I make the changes my home page has both columns, I can go anywhere else and I only have the left column, just as I want, however when I click a category and see the list of products or sub categories I also get the right column, thats because all the links point to the home.php file.

Is there any way to have the category links called from a different file other than home.php? I don't understand why they both share the same file. If these weren't linked together it would be no problem having a different template for all the pages.

I created a new .php file and located it in the same place as the home.php, then I went through a ton of other files that I thought held the links for the categories and changed all references from home.php to the new .php file. The new .php file pointed to the home.tpl so I get the 1 column template. But every change I made, which was a lot, seemed to make no difference. The category links are always pointing to home.php

I think if I can find out where to change the actual link for the categories I might be able to do it. Would anybody have any ideas?

Thanks
Rob
__________________
x-cart 4.1.6
PHP 4.4.2
MySQL server 4.0.26-log
MySQL client 5.0.20
Operation system FreeBSD
Perl 5.008008
Reply With Quote