javascript in customer template

Author Message

Didier Kalulambi

Monday 11 October 2010 3:11:13 am

I have a problem to change the text of a paragraph (<p>) with javascript: here is the code I use: document.getElementId ('my'). value = 'ok'; help me...

Lo' F.

Monday 11 October 2010 4:46:29 am

"

...getElementId...

"

..getElementById..

loredanaebook.it

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 02:55:53
Script start
Timing: Jan 18 2025 02:55:53
Module start 'layout'
Timing: Jan 18 2025 02:55:53
Module start 'content'
Timing: Jan 18 2025 02:55:54
Module end 'content'
Timing: Jan 18 2025 02:55:54
Script end

Main resources:

Total runtime0.5490 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.0048 589.0469152.6250
Module start 'layout' 0.00480.0028 741.671939.4531
Module start 'content' 0.00770.5400 781.1250519.8125
Module end 'content' 0.54770.0012 1,300.93758.1641
Script end 0.5489  1,309.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5475160.0002
Check MTime0.00130.2313160.0001
Mysql Total
Database connection0.00060.113710.0006
Mysqli_queries0.511693.1953540.0095
Looping result0.00040.0686520.0000
Template Total0.521995.120.2610
Template load0.00200.362920.0010
Template processing0.519994.711620.2600
Template load and register function0.00020.028410.0002
states
state_id_array0.00100.188210.0010
state_identifier_array0.00090.157220.0004
Override
Cache load0.00180.3289100.0002
Sytem overhead
Fetch class attribute can translate value0.00040.076520.0002
Fetch class attribute name0.00080.141330.0003
XML
Image XML parsing0.00050.088720.0002
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00260.4672160.0002
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs