a help about a button.

Author Message

jb bianchi

Wednesday 31 August 2005 5:13:16 am

hi,

In the template ezobjectrelationlist.tpl there is this:


<input class="button" type="submit" name="CustomActionButton[{$attribute.id}_browse_objects]" value="{'Add objects'|i18n( 'design/standard/content/datatype' )}" />

If I clik on this bouton , I go to the template browse.tpl

I want to send a variable between those two templates. but in ezobjectrelationlist.tpl there is no <form> and </form> and I don't understand how do this button.
Any ideas?

thank's

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:23:41
Script start
Timing: Jan 18 2025 19:23:41
Module start 'layout'
Timing: Jan 18 2025 19:23:41
Module start 'content'
Timing: Jan 18 2025 19:23:42
Module end 'content'
Timing: Jan 18 2025 19:23:42
Script end

Main resources:

Total runtime1.1061 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.0078152.6094
Module start 'layout' 0.00630.0049 741.617239.4141
Module start 'content' 0.01121.0933 781.0313401.3516
Module end 'content' 1.10450.0015 1,182.38288.1875
Script end 1.1060  1,190.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3463160.0002
Check MTime0.00150.1397160.0001
Mysql Total
Database connection0.00130.118410.0013
Mysqli_queries1.063796.1620460.0231
Looping result0.00040.0403440.0000
Template Total1.068996.620.5344
Template load0.00270.241420.0013
Template processing1.066296.388520.5331
Template load and register function0.00020.021610.0002
states
state_id_array0.00130.113510.0013
state_identifier_array0.00110.095820.0005
Override
Cache load0.00210.1871100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.050410.0006
Fetch class attribute name0.00100.091310.0010
XML
Image XML parsing0.00070.062910.0007
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00090.0794100.0001
String conversion0.00000.000840.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
1content/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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs