Where to put Flash/SWF-files?

Author Message

Bjørn Sandvik

Wednesday 09 March 2005 3:45:16 pm

I'm using some Flash/SWF-files for making charts on our site. If I want to use these files in my templates where should I put them? It is not possible to create a new folder like /design/mysite/charts/ and then use

<PARAM NAME=movie VALUE="/design/mysite/charts/FC_3b_MSBar2D.swf">

on the template-file.

http://blog.thematicmapping.org
http://www.globalis.no

Björn Dieding@xrow.de

Wednesday 09 March 2005 5:23:11 pm

yes better use

<PARAM NAME=movie VALUE="{'charts/FC_3b_MSBar2D.swf'|ezdesign}">

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bjørn Sandvik

Thursday 10 March 2005 12:27:22 am

The problem seems to be that eZ publish is not accepting swf-files.

http://globalis.fn.no/design/globalis/charts/2015_buttons.png
shows me the picture.

But
http://globalis.fn.no/design/globalis/charts/FC_3b_MSBar2D.swf
gives the error "Module not found"

http://blog.thematicmapping.org
http://www.globalis.no

Łukasz Serwatka

Thursday 10 March 2005 12:28:53 am

Hi,

Try to add .swf extension to .htaccess file if you using it. It will help I hope ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Eivind Marienborg

Thursday 10 March 2005 12:29:44 am

Have you checked this?

http://www.ez.no/ez_publish/documentation/incoming/developing_projects/flash/how_to_display_a_flash_movie_in_pagelayout_tpl

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:05:43
Script start
Timing: Jan 18 2025 19:05:43
Module start 'layout'
Timing: Jan 18 2025 19:05:43
Module start 'content'
Timing: Jan 18 2025 19:05:44
Module end 'content'
Timing: Jan 18 2025 19:05:44
Script end

Main resources:

Total runtime0.7547 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9141152.6250
Module start 'layout' 0.00640.0035 740.539139.4453
Module start 'content' 0.00990.7436 779.9844648.7578
Module end 'content' 0.75350.0012 1,428.742216.1641
Script end 0.7547  1,444.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4404160.0002
Check MTime0.00140.1815160.0001
Mysql Total
Database connection0.00120.159010.0012
Mysqli_queries0.685690.8465670.0102
Looping result0.00070.0989650.0000
Template Total0.713994.620.3569
Template load0.00230.302120.0011
Template processing0.711694.281520.3558
Template load and register function0.00010.016010.0001
states
state_id_array0.00170.225910.0017
state_identifier_array0.00170.223520.0008
Override
Cache load0.00180.2438270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.085340.0002
Fetch class attribute name0.00220.293290.0002
XML
Image XML parsing0.00380.506140.0010
class_abstraction
Instantiating content class attribute0.00000.0027100.0000
General
dbfile0.00280.3651360.0001
String conversion0.00000.001340.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs