Magento Forum

   
Flash Banner
 
NKY
Jr. Member
 
Total Posts:  1
Joined:  2009-11-27
 

Let me know is there any extension in Magento to make dynamic Flash banner like this http://www.betterbraces.com/ & http://www.toysrus.com/

Is it possible to make an interface in admin to manage flash banner.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gyniolatry
Sr. Member
 
Total Posts:  132
Joined:  2009-11-26
Perth.au
 

Hope this helps -
**Replace Caps’ in code with your own values**
1. Create your “yourbanner.swf” banner
Copy to “http://YOURDOMAIN.COM/skin/frontend/YOUR_INTERFACE/YOUR_THEME/images/media/YOUR_BANNER.swf”. 

2. Create a Static block via admin panel CMS>>Static Blocks
Block Title~ Flash Banner
Identifier~ myflashbanner
Store View~ All Store Views
Status~ Enabled
Content~

<div class="flashban" style="position:relative; width:XXX; height:XXX; margin-left:XXXpx;" >
<
object classid="clsid:YOUR_CLASS_ID" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="XXX" height="XXX" id="fader" align="middle">
    <
param name="allowScriptAccess" value="sameDomain" />
    <
param name="allowFullScreen" value="false" />
    <
param name="movie" value="http://YOURDOMAIN.COM/skin/frontend/YOUR_INTERFACE/YOUR_THEME/images/media/YOUR_BANNER.swf" /><param name="menu" value="false" />
    <
param name="quality" value="high" /><param name="wmode" value="transparent" />
    <
param name="bgcolor" value="#000000" />
    <
embed src="http://YOURDOMAIN.COM/skin/frontend/YOUR_INTERFACE/YOUR_THEME/images/media/YOUR_BANNER.swf" menu="false" quality="high" wmode="transparent" bgcolor="#000000" width="XXX" height="XXX" name="YOUR_BANNER" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</
object
</
div>
3. Create a new page or modify existing one(s) via CMS>>Manage Pages
Page Title~ MY_PAGE
SEF URL Identifier ~ mypage
Store View ~ All Store Views
Status ~ Enabled
Content ~
{{block type="cms/block" block_id="myflashbanner" template="cms/content.phtml"}}
and youre done !

*You can add a Static block to Category Pages via admin panel CMS>>Catalog>>Manage Categories>Display Settings>CMS Block
**I have also tested a page which nests Blocks ie
A Block (main-block) which contains

{{block type="cms/block" block_id="myflashbanner" template="cms/content.phtml"}}
{{block type
="cms/block" block_id="anothotherblock" template="cms/footer.phtml"}}

You can then call the main-block in a CMS Page with

{{block type="cms/block" block_id="main-block" template="cms/content.phtml"}}
OR from a Category page via Catalog>>Manage Categories>Display Settings>CMS Block>Add Static Block~ main-block

I’m not sure if nested blocks are ‘kosher’ - maybe more experienced Mage’s can ellaborate
as I am but a (very tired)1 week old n00b

 
Magento Community Magento Community
Magento Community
Magento Community
 
caseybrave
Jr. Member
 
Total Posts:  1
Joined:  2010-07-19
 

this might be a dumb question but is XHTML another words the new HTML4.01 is it already in use? if so all formatting tags are deprecated right? if not then when will it be put into use?
Cho Yung Tea

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top