How to add the user information link for the author?

Author Message

zfirst zlast

Wednesday 15 October 2008 8:48:39 pm

Hi everyone,

I want to add a link to author of articles, when people click this link, it could take them to a new page to view this author's biography. And i know the link should be like this:

<public_site_url>/Users/<group>/<firstname>-<lastname>

Then i found the following codes:

{foreach $attribute.content.author_list as $author}
{$author.name|wash( xhtml )}{delimiter}, {/delimiter}
{/foreach}

so the problem is how could i get the "group" of this author( maybe i should get the firstname and lastname of this author too )? Do i have to modify the codes in kernel or anybody who have experience about this can help me?

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 16:24:20
Script start
Timing: Jan 18 2025 16:24:20
Module start 'layout'
Timing: Jan 18 2025 16:24:20
Module start 'content'
Timing: Jan 18 2025 16:24:21
Module end 'content'
Timing: Jan 18 2025 16:24:21
Script end

Main resources:

Total runtime0.9521 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.0054 588.0625152.6406
Module start 'layout' 0.00540.0024 740.703139.4766
Module start 'content' 0.00780.9427 780.1797400.6172
Module end 'content' 0.95050.0015 1,180.79698.1250
Script end 0.9520  1,188.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3256160.0002
Check MTime0.00130.1386160.0001
Mysql Total
Database connection0.00090.097110.0009
Mysqli_queries0.912695.8514460.0198
Looping result0.00060.0588440.0000
Template Total0.916896.320.4584
Template load0.00220.235820.0011
Template processing0.914696.064120.4573
Template load and register function0.00020.020410.0002
states
state_id_array0.00130.132910.0013
state_identifier_array0.00230.239720.0011
Override
Cache load0.00190.1979110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.061910.0006
Fetch class attribute name0.00100.101810.0010
XML
Image XML parsing0.00020.025210.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0657100.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs