autolink question

Author Message

Jorge estévez

Wednesday 23 March 2005 8:36:30 pm

I would like to use autolink in the line: $node.object.data_map.intro so all the http's and mails and ftp's could have their corresponding links.

BUT within the following context:


{attribute_view_gui attribute=$node.object.data_map.intro}

Can this be made?

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Łukasz Serwatka

Thursday 24 March 2005 12:06:20 pm

Hi,

What data type do you use? If xml field try

{$node.object.data_map.intro.content.output.output_text|autolink()}

I hope it will help

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

Jorge estévez

Friday 25 March 2005 12:46:15 am

Thanks, it worked just as I needed....

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

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 20 2025 02:37:15
Script start
Timing: Jan 20 2025 02:37:15
Module start 'layout'
Timing: Jan 20 2025 02:37:15
Module start 'content'
Timing: Jan 20 2025 02:37:16
Module end 'content'
Timing: Jan 20 2025 02:37:16
Script end

Main resources:

Total runtime0.8655 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.0391152.6094
Module start 'layout' 0.00440.0027 741.648439.4297
Module start 'content' 0.00710.8571 781.0781534.6328
Module end 'content' 0.86420.0013 1,315.71098.1875
Script end 0.8654  1,323.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3628160.0002
Check MTime0.00140.1615160.0001
Mysql Total
Database connection0.00070.080410.0007
Mysqli_queries0.821494.9123570.0144
Looping result0.00070.0773550.0000
Template Total0.835996.620.4180
Template load0.00280.322320.0014
Template processing0.833196.261920.4166
Template load and register function0.00020.022410.0002
states
state_id_array0.00090.109610.0009
state_identifier_array0.00090.102420.0004
Override
Cache load0.00240.2720160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.078120.0003
Fetch class attribute name0.00180.204740.0004
XML
Image XML parsing0.00070.084420.0004
class_abstraction
Instantiating content class attribute0.00000.002440.0000
General
dbfile0.00080.0910180.0000
String conversion0.00000.000740.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs