| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Trouble with flash files in head.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Trouble with flash files in head.tpl
Hi,
I'm waving the white flag, I surrender, been at this problem on and off for a couple of weeks and I still can't solve it. I have a client who requires a flash file to run in the header of his site. It's the simplest two image fade in fade out you can do in flash. When a user clicks around the site, the whole page refreshes, the header, menus etc all refresh. If I remover the flash file from the head.tpl, the "refreshing" problem disappears also. I've used a couple of third party programs initially to create the file and thought it may have been the way the code was generated, so I became a quick learner of Flash CS3 and created my own file. The same problem occurred so it wasn't dodgy code. If I put the flash file in the welcome.tpl there is also no page refreshing issue. Just when it's in the head.tpl. Has anyone struck the same issue and if so what's the damn fix ? Thanks
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Trouble with flash files in head.tpl
I don't use flash, but here is x-cart's solution...
Code:
It goes in head.tpl in place of where the logo is normally displayed.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Trouble with flash files in head.tpl
Thanks JW, I'll take a look at that when I'm back in the office later today.
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Trouble with flash files in head.tpl
There are advantages to using swfobject for embedding flash, you might be interested in taking a look.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#5
|
|||||||
|
|||||||
Re: Trouble with flash files in head.tpl
I was trying to do the same thing and got it to work ok but I only need to center the flash in the space, but what I did was took the code posted above(reguards to above ) and inserted it into /customer/main/welcome.tpl you might be able to copy and paste the entire code as provided below into this folder but 1st make a backup copy
template will look like this: Code:
next what you need to do is create a flash (.swf) file. to make it simple name it " flash_logo" and place into /xcart/skin1/images/custom so far it works on my testing site witch is a full site with a few mods installed and there are no errors on page. once I figure out how to center it. ill post it on site. IM sure it is just adding a <cell padding > type code
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
|
|||
X-Cart forums © 2001-2020
|