Scope in {def} function not working !

Author Message

H-Works Agency

Saturday 10 September 2005 9:23:53 am

Hi all

The scope in def function is not working.

Debug says :

Error: eZTemplate:def
Sep 10 2005 18:17:22

parser error @ design/site/override/templates/menu.tpl:5
($) expected at [scope='relative']

Why is it doing this ? How can i solve this issue ?

Thanx for your help,

Martin

EZP is Great

Frederik Holljen

Saturday 10 September 2005 9:29:46 am

It would be nice if you could provide some information about what version of eZ publish you are using, and exactly what it is that you are trying to do (small code example reproducing the problem)

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

Main resources:

Total runtime0.8570 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.0058 589.1797152.6250
Module start 'layout' 0.00580.0039 741.804739.4453
Module start 'content' 0.00980.8458 781.2500529.4375
Module end 'content' 0.85560.0014 1,310.68758.1563
Script end 0.8570  1,318.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3753160.0002
Check MTime0.00130.1485160.0001
Mysql Total
Database connection0.00090.104110.0009
Mysqli_queries0.810494.5651540.0150
Looping result0.00050.0594520.0000
Template Total0.826696.520.4133
Template load0.00200.230720.0010
Template processing0.824696.220420.4123
Template load and register function0.00010.011010.0001
states
state_id_array0.00100.121510.0010
state_identifier_array0.00080.094820.0004
Override
Cache load0.00160.1905170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.082520.0004
Fetch class attribute name0.00130.149640.0003
XML
Image XML parsing0.00090.107420.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00080.0975230.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs