Forums / Templates, Stylesheets, Page Layout / Need Flash to Show on Main Page Only

Need Flash to Show on Main Page Only

Locked

Views: 680

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Aug 2010, 12:48 PM
#1
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Need Flash to Show on Main Page Only

:blush: Hi Team,

I am absolutely stumped at my current issue and i know it's probably a simple answer, but for the life of me I cant figure it out.

I'm using the latest zen template.
I want to fit a flash object that is the width of the template in this ORDER:

Header
Navigation
FLASH OBJECT (width of the template)
Left Column,Center Column,Right Column
Footer

I have it positioned PERFECTLY in the exact location i want it.The problem is that I want this Flash Object to Only Show on the Main Page and it's showing up on every page.

I placed the code here in custom/tpl_main_page.
I tried placing the code in tpl_index_default, Though it placed it only on the Main Page, it also placed it in the center column area only and not the width of the site.

Thank you in advance for our quick response!!!:D

Zencart Websites I've Designed:
deejaycentipede(DOT)com
djellery216(DOT)com

29 Aug 2010, 1:58 AM
#3
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Need Flash to Show on Main Page Only

:blink: No you DIDN'T just say you searched for FLASH...LOL
:blush: How come I did a search for "Pic on Main Page Only"? Can you say Duhhhhhh?
:clap: THANKS KOBRA!!! Truly Appreciate it.

kobra:

I searched for "flash"
http://www.zen-cart.com/forum/showthread.php?t=162302

Zencart Websites I've Designed:
deejaycentipede(DOT)com
djellery216(DOT)com

29 Aug 2010, 5:17 AM
#4
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Need Flash to Show on Main Page Only

:yes: FOUND WHAT I NEEDED, YES INDEED!!!!

http://www.zen-cart.com/forum/showthread.php?t=124079&highlight=flash

HERE'S THE CODE I USED. WORKED LIKE A CHARM :cool:
<?php if ($this_is_home_page) { ?>

ENTER FLASH CODE HERE

<?php } ?> <---This is what I kept forgetting too put in the code, hence why I was getting an error

Zencart Websites I've Designed:
deejaycentipede(DOT)com
djellery216(DOT)com