Kuroi,
Sorry to be vague in my explanation.
I had used the define_pages generator mod to create some new pages - most to be added to the information sidebox like the about_us mod, and one that I had hoped to make editable via the tools:define pages editor that I was going to insert into the main page to provide another section of text in addition to the built-in define_main_page.
I uploaded all these pages into their respective directories. They all appeared in the tools:define_pages editor so I added some content to one of them - About the Design Studio - and then went about modifying the information.php file to add that one page.
The only page that was added to the information.php file was About the Design Studio.
The information.php file was uploaded into the correct override directory and when I looked at the site things were displaying wrong.
When I viewed the site and saw what had happened, I restored the information.php back to the original but that didn't fix the problem. Then after posting I deleted all the pages I'd added named main_top from all the directories and that's when the site reverted back to normal.
I made no changes to any other files at all. It seems for whatever reason that one of the pages I'd created, named main_top was being grabbed by ZenCart and was being added first thing to the main page and other pages even though I'd not made any reference to the main_top page at all.
Back to my intended change to the main page:
Since I sell flowers, I thought it best the have the featured products display before the main page text, so a web design company hacked the tpl_main_page so that a single line of hard-coded static text would be at the top, then whatever products were enabled on the main page (featured, new, special) followed by some text.
Instead of moving the main_page text to be after the products, they inserted page 4, so to edit text on my main page I edit the define_page_4 file.
I had seen an earlier post about moving the display order -
http://www.zen-cart.com/forum/showthread.php?t=118972 -
So what I intended to do was to split my main page text into two parts. I figured that my new main_top page (the one that screwed up) would replace the static, hard coded text that now is between my header/nav bar area and that I re-enable the main_page text and place it below the products.
That was my plan and would welcome your thoughts/opinions/recommendations.
Thanks,
Doug
Bookmarks