The "Page not found!" comes normally comes from the home_main.tpl file not having the following:
Code:
{elseif $main eq "newproducts"}
{include file="customer/main/newproducts.tpl"}
This has to be before the end of the file that says
Code:
{else}
{include file="common_templates.tpl"}
{/if}
The $main variable to set to "newproducts" in the newproducts.php file. If The {elseif} code shown above is not in home_main.tpl or you change the word "newproducts" to something else and didn't do the same in the .php file, you will get the page not found error because the code will fall through to the last statement that basically has it display the page not found page (in this case). Here is the bottom section of my <xcart_dir>/skin1/customer/home_main.tpl
Quote:
{elseif $main eq "newproducts"}
{include file="customer/main/newproducts.tpl"}
{else}
{include file="common_templates.tpl"}
{/if}
|
If you can't get it to work. Post your skin1/customer/home_main.tpl file. That is the best place to start looking. Because I can reproduce the error by taking out the {elseif} addition or changing the word (example. newproducts to newadditions)
James