Unfortunately, no. I got frustrated and went on to a new project. I couldn't get the box to appear on the index page. Can you tell me how you got that far and then maybe I can come upwith a solution for both of us!
Sue
Unfortunately, no. I got frustrated and went on to a new project. I couldn't get the box to appear on the index page. Can you tell me how you got that far and then maybe I can come upwith a solution for both of us!
Sue
Sue
Tot 2 Teen
I opened up tpl_index_default and moved the section for the New Products box above the section for the main text, but it's obviously not as straightforward as that. I don't know php very well, so everything i do is trial and error and rummaging around in the forums. It's a good way of learning, but I've been at it all morning and am absolutely no further along the simple task of moving the new products box above the main writing. It can get frustrating at times!
You need to pay close attention to exactly where you move a code block to. Putting it in the middle of something else, or too far up so that it is outside a div it should be in, will cause problems. Also make sure you are moving the whole relevant block and nothing extra.
As long as you do that right, you should be able to move the code ok.
Hey there - I tried this with my Index page and it works great! However, I am trying to apply the same technique to my "About Us" page and coming up with this error:
Warning: main(includes/languages/english/html_includes/FILENAME_DEFINE_ABOUT_US2.php) [function.main]: failed to open stream: No such file or directory in /homepages/36/d173658644/htdocs/babylonink/store/includes/templates/babylon_template/templates/tpl_about_us_default.php on line 56
Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/html_includes/FILENAME_DEFINE_ABOUT_US2.php' (include_path='.:/usr/local/lib/php') in /homepages/36/d173658644/htdocs/babylonink/store/includes/templates/babylon_template/templates/tpl_about_us_default.php on line 56
Any ideas? I've gone through 4 times and redid each step, but still no luck.
Thanks!
It looks like your defining the filename , your code is looking for a file called :-
/html_includes/FILENAME_DEFINE_ABOUT_US2.php
and not finding it.
I don't have an about us page , and cant see where its called from , but Step 2 would be different for this page.
so the part where I say : "then look at the file :
includes/modules/pages/index/header_php.php"
I believe this is only relevant for the index page , there should be an equivalent file for the About Us page.
hope that steers you towards a solution.
Various Zen cart sites !
BINGO! You were right crazycucumber! I was missing defining the page in the extra filenames folder. Since the index is defined in filenames.php, but the about us is an add on, it was in a different location.
Thanks for your help!!