parameters transferred to full view

Author Message

kaderkieta kaderkieta

Monday 27 September 2010 3:48:22 pm

How can pass parameters to the view pagelayout to a full view,
do not tell me the extension swark because it tested and no result
thank you in advance!ÉcouterLire phonétiquement

Matthieu Sévère

Tuesday 28 September 2010 12:03:30 am

Hi,

If you mean pass a variable from view full to pagelayout you can use the persistent variable. See : http://doc.ez.no/doc/eZ-Publish/Technical-manual/4.x/Reference/Template-override-conditions/pagelayout.tpl

Cheers

--
eZ certified developer: http://ez.no/certification/verify/346216

Bayron Guevara

Tuesday 28 September 2010 12:03:46 am

Simply,

{node_view_gui content_node=$some_node view='full'
           param1=$param1Value
           param2=$param2Value}

Web Developer & Modern Philosopher
Visit http://www.laprensa.hn, http://www.diez.hn, http://www.estilo.hn

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 30 2025 21:46:58
Script start
Timing: Jan 30 2025 21:46:58
Module start 'layout'
Timing: Jan 30 2025 21:46:58
Module start 'content'
Timing: Jan 30 2025 21:47:00
Module end 'content'
Timing: Jan 30 2025 21:47:00
Script end

Main resources:

Total runtime1.4102 sec
Peak memory usage8,192.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1563151.2109
Module start 'layout' 0.00480.0045 739.3672220.6953
Module start 'content' 0.00931.4001 960.06254,488.1172
Module end 'content' 1.40940.0008 5,448.179711.8438
Script end 1.4102  5,460.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2496160.0002
Check MTime0.00130.0923160.0001
Mysql Total
Database connection0.00060.041310.0006
Mysqli_queries1.324793.9360600.0221
Looping result0.00060.0420580.0000
Template Total1.358396.320.6792
Template load0.00210.146820.0010
Template processing1.356296.174020.6781
Template load and register function0.00130.088610.0013
states
state_id_array0.00200.141710.0020
state_identifier_array0.00190.133720.0009
Override
Cache load0.00170.1201160.0001
Sytem overhead
Fetch class attribute can translate value0.00190.137630.0006
Fetch class attribute name0.00200.138950.0004
XML
Image XML parsing0.00250.180230.0008
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00380.2724230.0002
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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs