Problems using dynamic menus

Author Message

Trond Åge Kvalø

Monday 02 February 2004 1:56:25 am

Hi there!

Are anyone else using Dreamweaver and Fireworks to design their webpages?

I'm having big problems trying to make use of a javascript pop-up menu created with Fireworks.

I get an error that says error: EzTemplate
expected whitespace, got: (navbar_images/path_to_image.gif)

I'm using the ezimage operator to make all the references to the images to the correct directory, but it doesn't seem to work.

Has anybody successfully incorporated a javascript pop-up menu navigation bar in eZpublish?

If so, how did you do it?

Best regards
Trond Kvalo
Senior developer
Atlantia as
Norway

trondåge

Tore Skobba

Monday 02 February 2004 2:55:11 am

Hmm I think you EZ template syntax might be wrong, I often get expected whitespace, got .. Usally that is caused by some wrong syntax (forgotten a { etc.). Have you enclosed your Javascript in {literal}{/literal} ?

See here for more: http://www.ez.no/ez_publish/documentation/customization/tips_tricks/javascript_in_templates

Cheers
Tore

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 19 2025 00:20:21
Script start
Timing: Jan 19 2025 00:20:21
Module start 'layout'
Timing: Jan 19 2025 00:20:21
Module start 'content'
Timing: Jan 19 2025 00:20:22
Module end 'content'
Timing: Jan 19 2025 00:20:22
Script end

Main resources:

Total runtime0.7829 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.3438152.6250
Module start 'layout' 0.00770.0048 741.968839.4453
Module start 'content' 0.01250.7691 781.4141488.4531
Module end 'content' 0.78160.0013 1,269.86728.1641
Script end 0.7828  1,278.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4563160.0002
Check MTime0.00150.1905160.0001
Mysql Total
Database connection0.00150.190510.0015
Mysqli_queries0.734193.7721540.0136
Looping result0.00060.0748520.0000
Template Total0.743795.020.3719
Template load0.00210.265220.0010
Template processing0.741694.730620.3708
Template load and register function0.00030.039010.0003
states
state_id_array0.00110.142610.0011
state_identifier_array0.00170.219820.0009
Override
Cache load0.00170.2184210.0001
Sytem overhead
Fetch class attribute can translate value0.00140.180620.0007
Fetch class attribute name0.00150.186720.0007
XML
Image XML parsing0.00030.035420.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00200.2575100.0002
String conversion0.00000.001940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs