How do I add javascript function to the main page but I need to access the head item.
How do I add javascript function to the main page but I need to access the head item.
You might like to refer to the following 2 files in your Zen Cart installation for more information on how to automagically load your Javascripts.
- docs/read_me_jscript.html
- docs/read_me_onload.html
Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store
Thanks Canopy but, it just does not seem to want to work.
If the documentation isn't sufficient, perhaps you need to be much more specific about what you want to do.
http://www.zen-cart.com/wiki/index.p...s_-_Javascript
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I am adding a rotating banner script to the main page, I have tried several different ways including adding an alert which always gets triggered but the banners just does not show.
I could copy-and-paste the documentation here, but that would be redundant.
Without seeing what code you're putting where, or your URL where it's not working properly, I'm unable to help you.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Here is an example of what it is suppose to look like (see large banner up top.)
hustlervideo.com/index.php **** ALERT: ADULT CONTENT ****
Also is it possible to apply more that one define_page includes tot he main page and how is it done?
I can't offer you any assistance related to why it's not working on *your* site without seeing *your* site.
And, no, unless you write custom code to include multiple define-page segments, you can't combine more than one per page. Again, perhaps explaining in detail what exactly you're wanting to accomplish and why ... might result in recommendations of alternative approaches that might suit your needs.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
basically here is what has already been done.
hustlerhollywood.com/scripts/ECatalogISAPI.dll/Group?Group=1&Template=9990000001000999
this is what I am doing with zen trying to duplicate as much as possible.
storedev.hustlerhollywood.com
better question besides the side boxes included in Zen, can custom sideboxes be added?