I have figured out how to display .swf's in the header. Now I need to know how to only dispaly this flash header on the main page and have a different .gif display on the other pages.
Please help!!
http://www.wrathofbabel.com/zen
I have figured out how to display .swf's in the header. Now I need to know how to only dispaly this flash header on the main page and have a different .gif display on the other pages.
Please help!!
http://www.wrathofbabel.com/zen
This is the logic you can use in your tpl_header.
Code:if ($this_is_home_page) { // do home page stuff } else { // do non-home-page-stuff }
If you want varying gifs on the other pages, you could use the per-page-stylesheet capabilities documented in the /docs folder.
.
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.
Thanks Doc, but Im still not sure where to put that code.
I tried putting it up but it just messed things up big time. Could you tell me how to place it inside tpl_header?
Thanks soooo much!
Yes, please elaborate, I am trying to do the exact same thing, thanks!
funksdaburn,
who thought it would be funny to put "###### ##########" as one of you categories? I know your still building but now that you have posted a link here in the forum for google to see.........
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!