Mixed output

Author Message

sangib das

Monday 23 October 2006 5:42:56 am

Hi all
I have a class called Biodata consist of
1 FristName (Text line)
2.LastName(Text line)

After creating some object into the admin side such as
1.Boby(FristName) Logon(Last Name)
1.Sogan(FristName) Lupa(Last Name)

In user site frist one i want dispaly
Like that
Boby Logon
second one
Lupa Sogan

is it possible?
Thanks and Regards
Sangib

Ɓukasz Serwatka

Tuesday 24 October 2006 12:23:04 am

Hi,

It is possible. Just access object attributes with {attribute_view_gui attribute=$node.object.data_map.first_name} or without attribute_view_gui but with direct access to attribute data like $node.object.data_map.first_name.data_text where first_name is your attribute id.

Hope this will help you?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 31 2025 03:25:10
Script start
Timing: Jan 31 2025 03:25:10
Module start 'layout'
Timing: Jan 31 2025 03:25:10
Module start 'content'
Timing: Jan 31 2025 03:25:10
Module end 'content'
Timing: Jan 31 2025 03:25:10
Script end

Main resources:

Total runtime0.0296 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.0076 588.0078151.1953
Module start 'layout' 0.00760.0053 739.2031220.6406
Module start 'content' 0.01290.0148 959.8438997.7578
Module end 'content' 0.02770.0018 1,957.601629.9922
Script end 0.0295  1,987.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003010.2896140.0002
Check MTime0.00123.9254140.0001
Mysql Total
Database connection0.00082.569410.0008
Mysqli_queries0.005318.090430.0018
Looping result0.00000.091910.0000
Template Total0.00134.310.0013
Template load0.00103.394910.0010
Template processing0.00030.892510.0003
Override
Cache load0.00072.292810.0007
General
dbfile0.00165.457280.0002
String conversion0.00000.033140.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