thanks Fuzzy works great
|
I'm on v.4.0.15. It works GREAT!
Just wondering, I see alot of people got it to work on the side menu like category, bestseller, and manufacturer. Is that a separate .tpl page I have to create? Or I just missed something here? |
not quite sure why but my entire page is actually coming up but nothing within the page itself.
Page not found! The requested page does not exist or you are not allowed to access it! http://scrapbookbytes.com/store/newproducts.php |
Quote:
Just a guess, but is "newproducts.tpl" in the correct spot? ie: /skin1/customer/main/newproducts.tpl Also check the spelling of the {else} in /skin1/customer/home_main.tpl If either isn't the prob, I'll need more coffee, and a donut or two. :wink: |
very strange... all is in place and in place. I even replaced the include file on the home page... the minute I do the entire page goes blank.
|
also when removing all the content from the "newproduct.php" file and just putting in a "test" text into it - that does come up.
|
Quote:
The "Page not found!" comes normally comes from the home_main.tpl file not having the following: Code:
{elseif $main eq "newproducts"} This has to be before the end of the file that says Code:
{else} 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:
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 |
thanks! Will give it a try in just a bit - I appreciate your help - it's a mod that my store visitors are begging for!
|
here is the main_home.tpl file.
when inserting that last line of code it creates a blank page to be created. Code:
{if $smarty.get.mode eq "subscribed"} |
Are you using Word or Word Pad to edit the file?
If so, use Notepad instead. |
All times are GMT -8. The time now is 06:38 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.