New Zenner
- Join Date:
- Sep 2007
- Posts:
- 6
- Plugin Contributions:
- 0
side boxes on non zen cart pages (in same domain)
i checked out dynamic sideboxes. if you're familiar with it, i'm not using the javascript just calling the php script directly. the php script has to sit in the root folder of the store with on my site is larrysimprovpage.com/store.
when i call http://www.larrysimprovpage.com/store/tm_featured_sb.php i'm directly calling the script i want. you see it puts a product on the page.
when i call http://www.larrysimprovpage.com/store/test_tony.php it works also. it's requiring the file above. all files are in the same folder as the include which is in the store root folder.
if i call this: http://larrysimprovpage.com/test/test_tony.php since i'm out of the folder nothing works. i know it's because all the zen car vars and functions are relative to the /store folder i have set up.
is there anything i can do to call this script outside of the /store folder and get the file that i'm calling to think it's being called from within the /store folder? i tried changin a bunch of the php $_SERVER vars. but that did nothing.