To use attribute_view_gui instead of node_view_gui in dynamic blocks of ezflow

Author Message

Romeo Antony

Sunday 20 June 2010 4:09:19 am

Hi, i need to display an article's, image at the left column and heading , summary at the right side of the column .I am using ezflow dynamic blocks.I found that rotaton can be applied to dynamic block if we use node prperty {foreach $valid_nodes as $valid_node}
{node_view_gui view='block_item' image_class='block2items1' content_node=$valid_node}
{delimiter}

instead of {attribute_view_gui attribute}

but i want to use attribute_view_gui attribute in forloops for dynamic blcoks .how do I do that .Have anyone did this before.?

Luc Chase

Saturday 26 June 2010 4:29:09 pm

Maybe I don't understand what you're asking.... you want to show just one attribute of $valid_node?

{attribute_view_gui attribute=$valid_node.data_map.name}

The Web Application Service Provider

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 19:38:17
Script start
Timing: Jan 30 2025 19:38:17
Module start 'layout'
Timing: Jan 30 2025 19:38:17
Module start 'content'
Timing: Jan 30 2025 19:38:17
Module end 'content'
Timing: Jan 30 2025 19:38:17
Script end

Main resources:

Total runtime0.0237 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.6250151.2734
Module start 'layout' 0.00580.0038 739.8984220.7656
Module start 'content' 0.00960.0126 960.6641997.8984
Module end 'content' 0.02220.0015 1,958.562529.9922
Script end 0.0237  1,988.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.4986140.0002
Check MTime0.00114.8021140.0001
Mysql Total
Database connection0.00083.357810.0008
Mysqli_queries0.003213.489430.0011
Looping result0.00000.050210.0000
Template Total0.00114.510.0011
Template load0.00083.467310.0008
Template processing0.00021.002410.0002
Override
Cache load0.00062.410610.0006
General
dbfile0.00031.421380.0000
String conversion0.00000.025140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs