Hi everybody,
I do not want to reload the header every time and am thinking about wrapping the main body into iFrame. are there any mods for this? Has someone tried this?
Thanks
-A-
Hi everybody,
I do not want to reload the header every time and am thinking about wrapping the main body into iFrame. are there any mods for this? Has someone tried this?
Thanks
-A-
Mygod!!! Why would one want to use a frame???
Zen-Venom Get Bitten
I had the same need as my header is flash and I want it to play continually through the site. I decided against Iframe, because when you go to a secure page in the cart the browser will not indicate it is on a secure page. An alternative is to bump them to the secure site from the get go. I don't have the solution, I just have this reason not to do that.
rambo has explained exactly, why I need an iFrame - not to reload header flash every time.
Regarding SSL - the solution could be to use just a simple no-frame structure for secure pages. Just use a different template for those pages
Some info for reference.
Displaying define_main.page.php only once
That is if you go to other pages within the site and back to the main page the define_main_page.php won’t display, so to not run the flash file again.
A New Starter again
Thank you - this is a great feature to play with sessions. However, I cannot figure out how it could help not to run flash twice. My flash header should run once upon loading the 1st page and stop. What will happen, if I include a"IF" session conditional statement? Nothing good, because the flash object will be either loaded or not loaded (displaying an empty placeholders). Since the page is reloaded, flash will play anyway, unless we include something like "do not auto start", if the session is old. But in this case, it will stop on the 1st flash frame - not the last.
ever consider loading the zen cart pages dynamically into a single flash _root? the _root doesnt have to be flashy; it can just be a blank white space that loads as fast as, well, a blank white space. but then you wouldn't have any visitors. the point is that you CAN be a minimalist AND a flash user.
that would meet your first objective. loading the flash file into a secure page would move toward accomplishing the second. although if you were going to go with that solution, there's quite a bit of overhead, depending on how you get flash to communicate with mySQL and apache. here you have several choices, including an xml socket connection to loadvars to amfphp.
you could even connect flash to a jabber comm server and have ######## operators hold live video conferences with your customers as they browse your zen cart. i think this is what ebay's intent was with the skype acquisition (unsure about the ######## operator part).
may i ask what kind of site or application this is?
Hi.
Did you find a solution for this?
Thanks a lot.
Byron H.
yes, i did - a long time ago. there are two options:
1) open the main page inside of an iframe. We managed to get it working on one of our commerciall sites; but it required tons of recoding the main zen engine; a lot of issues with sessions and post variables.... spent over 3 months to get it working
2) use ajax for opening the main content. Again, this implies quite a big zen code surgery as you will face the same session and other variables links to the ajax generated divs. I used xajax framework for this and had to change over 100 core zen files.
Best
A