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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:09:17
Script start
Timing: Jan 18 2025 19:09:17
Module start 'layout'
Timing: Jan 18 2025 19:09:17
Module start 'content'
Timing: Jan 18 2025 19:09:18
Module end 'content'
Timing: Jan 18 2025 19:09:18
Script end

Main resources:

Total runtime0.9628 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.0469152.6250
Module start 'layout' 0.00700.0032 741.671939.4453
Module start 'content' 0.01020.9514 781.1172663.7031
Module end 'content' 0.96150.0013 1,444.820312.1641
Script end 0.9628  1,456.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3764160.0002
Check MTime0.00160.1645160.0001
Mysql Total
Database connection0.00150.156010.0015
Mysqli_queries0.901193.5879690.0131
Looping result0.00110.1163670.0000
Template Total0.921795.720.4609
Template load0.00260.271020.0013
Template processing0.919195.462220.4596
Template load and register function0.00020.023610.0002
states
state_id_array0.00110.111510.0011
state_identifier_array0.00140.144920.0007
Override
Cache load0.00220.2332250.0001
Sytem overhead
Fetch class attribute can translate value0.00090.091750.0002
Fetch class attribute name0.00140.141170.0002
XML
Image XML parsing0.00140.148950.0003
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00170.1728230.0001
String conversion0.00000.002340.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs