Current version: 1.2.6d
I've been looking around for a post to help solve my problem but haven't had any luck. I have done a number of successful modifications to my client's website but am now snagged on this new problem. I need some help--or guidance at least.
PROBLEM:
-----------
I am setting up an extra page that can be edited with the Define Pages Editor. The page is a builders showcase/gallery and includes a menu of specific galleries. Rather than create an extra page for each gallery, I would like to pass another paramater to Zen Cart and use it to determine which gallery to generate. The menu would look something like:
<a href://www.anyzenstore.com/zencart/index.php?main_page=builders_showcase&gallery=1>Gallery 1</a><br>
<a href://www.anyzenstore.com/zencart/index.php?main_page=builders_showcase&gallery=2>Gallery 2</a><br>
<a href://www.anyzenstore.com/zencart/index.php?main_page=builders_showcase&gallery=3>Gallery 3</a><br>
....
I am confused how to handle this on the server side with Zen-Cart. I think I should be able to reference $_GET but this doesn't get the job done. The URL is sent to the server and Zen Cart doesn't know what to do with extra info so it defaults to the home page. Where does Zen-Cart 'catch' parameter values, such as 'main_page'? I assume it uses $_GET somewhere but how can I add more parameters, such as 'gallery'? Or do I need to use a form with hidden inputs?
Any help or suggestions would be greatly appreciated.



