You are kind of on the right lines I think.
I'm just going to give you a few pointers that I believe may help you solve this.
Firstly, to call a different template such as home2.tpl, you need to find the relevant php file that calls it and then look for a bit of code right near the bottom that says:
func_display("customer/home.tpl",$smarty);
Change that to whatever template you want to call. It's not that straight forward though, especially as you can't just goto Webmaster mode and see what is doing what. And I don't think you can do it for the products.php file.
Also, I think, that as per your example, the products page is part of the categories and subcategories routines.
Now, another way to do this is to use if statements. If you look at home_main.tpl you will see loads of if stamements that determine what happens when you are in certain areas. You need to take these and build them into your home.tpl, instead of making a new one.
This is the logic, but not the proper code.
In one of your nav columns, you need to put something like this
{if $main eq "catalog"}
{else}
(normal nav column bits go here)
{if}
So that is saying that if you are in the catalog section, which as I say I think is products, then by leaving a blank before the else statment - nothing is displayed. After the else statement is all your normal nav. Then close it with the end if tag.
Hope that helps a bit.
|