| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add flash image on main page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Can anybody help with implementing a flash image on the main page instead of the standard welcome.jpg?
I know I'll have to alter skin1/customer/main/welcome.tpl but after that 'm lost; I've searched the forums but can't get the info to get started ![]() The original welcome.tpl code: Code:
Here is what I'd like to implement: Code:
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#2
|
|||||||
|
|||||||
![]() So just paste it in
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() ![]() You're pulling my leg right?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#4
|
|||||||
|
|||||||
![]() No, I'm serious...just replace the image with the Flash code.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Like this?
Code:
... didn't try that ...
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#6
|
|||||||
|
|||||||
![]() Yep. Make sure the .swf file is in the root directory.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
![]() ![]() Thanks a million! I made it more difficult then it was; don't ask me what kind of silly coding experiments I performed these last hours ...
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#8
|
|||||||
|
|||||||
![]() Sometimes with X-Cart the simple solutions appear TOO simple
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||||
|
|||||||||
![]() Quote:
It seems you're right on the money! ![]()
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() I used this code and it works great in the php live site, but i cannot get it to work on the static pages. Please refer to the following:
http://www.mailboxixchange.com/store/product.php?productid=18622&cat=0&page=1 But the static page does not show product: http://www.mailboxixchange.com/Curbvault-High-Security-Mailbox-p-18622.html The code is as follows: <div align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="400" id="howworks" align="middle"> <param name="allowScriptAccess" value="http://www.mailboxixchange.com" /> <param name="movie" value="howworks.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="howworks.swf" quality="high" bgcolor="#ffffff" width="400" height="400" name="howworks" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> Please help as most people are directed to the static pages
__________________
4.4 Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|