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: Feb 16 2025 07:15:08
Script start
Timing: Feb 16 2025 07:15:08
Module start 'layout'
Timing: Feb 16 2025 07:15:08
Module start 'content'
Timing: Feb 16 2025 07:15:08
Module end 'content'
Timing: Feb 16 2025 07:15:08
Script end

Main resources:

Total runtime0.9323 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.0051 589.8203151.2109
Module start 'layout' 0.00510.0022 741.031336.6563
Module start 'content' 0.00730.9238 777.6875548.9453
Module end 'content' 0.93120.0011 1,326.63287.8516
Script end 0.9322  1,334.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4001160.0002
Check MTime0.00180.1910160.0001
Mysql Total
Database connection0.00080.082210.0008
Mysqli_queries0.884294.8434540.0164
Looping result0.00040.0473520.0000
Template Total0.904097.020.4520
Template load0.00230.251220.0012
Template processing0.901696.710720.4508
Template load and register function0.00020.024910.0002
states
state_id_array0.00060.064610.0006
state_identifier_array0.00060.066420.0003
Override
Cache load0.00180.1974100.0002
Sytem overhead
Fetch class attribute can translate value0.00040.038120.0002
Fetch class attribute name0.00140.147730.0005
XML
Image XML parsing0.00390.417420.0019
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00670.7192160.0004
String conversion0.00000.000640.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