Forums / Setup & design / Use Flash .swf for banner

Use Flash .swf for banner

Author Message

Brian Henkel

Saturday 12 April 2008 12:18:38 pm

I'd like to replace the static banner with a Flash file (.swf). I was hoping it would be as simple as uploading the .swf file in Admin--similar to an image file--but obviously this isn't the case. I'm hoping someone will tell me how to do this. Thanks in advance.

Andy Boston

Saturday 12 April 2008 11:49:19 pm

Hi Brian,

This is certainly possible in ezpublish 4.0 with the ezwebin interface, I know, I've done it!

What you have to do is make sure you upload the swf into the media banner folder as a flash file and not a banner/image type.

Also make sure you define the dimensions or it won't show up.

I hope that helps

:-)

Gabor Nagy

Monday 21 April 2008 5:46:15 pm

There is a very good website: <b>http://www.bannermakersite.com</b>. You can edit flash banners free! You are not required to registrate at all, if You just want to have a look at the pictures and flash animations You could useon Your own banners! You are also allowed to try the editor in the case You haven’t registrated yet. I guarantee that You are going to registrate in the case You try it, because this site is fantastic.

Piotrek Karaś

Monday 21 April 2008 9:11:28 pm

Brian,

The way we usually solve the banner issue is the following:

1) We have a flash banner module, that is a swf file that constitutes a frame for displaying banners. This module is capable of dynamically loading and displaying images (class image) or other swf files (class flash or flash banner), showing the loading progress etc. The module is part of the design, you don't manage it, while the real flash/jpeg banners are stored somewhere in the media library.

2) All the 'structure' classes (used to create the general structure) have an attribute 'top banner', most likely of object relation type. If a page (or any other type of structure content) requires a unique banner, we simply choose one. Otherwise, the global setting (or any other rule) can be set.

Hope this helps.

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

minority slam

Saturday 06 September 2008 12:03:27 pm

Hi,

This is really easy. I can send you the code or do this for you. I am doing something similar for my website too http://www.esigns.co/vinyl-banners/
Check it out.

eZ debug

Timing: Jan 18 2025 16:15:01
Script start
Timing: Jan 18 2025 16:15:01
Module start 'content'
Timing: Jan 18 2025 16:15:02
Module end 'content'
Timing: Jan 18 2025 16:15:02
Script end

Main resources:

Total runtime1.2211 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0384 591.3438180.8359
Module start 'content' 0.03841.0332 772.1797668.7813
Module end 'content' 1.07160.1494 1,440.9609337.0625
Script end 1.2210  1,778.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.01251.0258210.0006
Check MTime0.00220.1808210.0001
Mysql Total
Database connection0.00330.270210.0033
Mysqli_queries1.132392.73062060.0055
Looping result0.00220.18412040.0000
Template Total1.153494.520.5767
Template load0.00340.274420.0017
Template processing1.150094.181520.5750
Template load and register function0.00020.017810.0002
states
state_id_array0.00130.103610.0013
state_identifier_array0.00110.090720.0006
Override
Cache load0.00290.2378250.0001
Sytem overhead
Fetch class attribute can translate value0.00140.115960.0002
Fetch class attribute name0.00110.090970.0002
XML
Image XML parsing0.00180.144560.0003
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00380.3088340.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs