[ezoe] Make a link with URL

Author Message

Guillaume Kulakowski

Tuesday 15 June 2010 2:30:28 am

Hi,

is there a solution for make automaticaly a clickable link with a URL ? I would like when I past an URL, ezoe make automaticaly a clicable link.

Thx.

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Nicolas Pastorino

Tuesday 15 June 2010 4:37:48 am

Hi Guillaume,

Have you checked this operator : http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_operators/strings/autolink

This implies modifying the display templates for ezxmltext datatypes, but may do the deal ?

Keep us posted,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 03:06:35
Script start
Timing: Jan 18 2025 03:06:35
Module start 'layout'
Timing: Jan 18 2025 03:06:35
Module start 'content'
Timing: Jan 18 2025 03:06:36
Module end 'content'
Timing: Jan 18 2025 03:06:36
Script end

Main resources:

Total runtime0.4591 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9219152.6250
Module start 'layout' 0.00550.0021 740.546939.4453
Module start 'content' 0.00760.4501 779.9922535.0547
Module end 'content' 0.45770.0013 1,315.04698.1641
Script end 0.4591  1,323.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.6366160.0002
Check MTime0.00120.2635160.0001
Mysql Total
Database connection0.00110.239410.0011
Mysqli_queries0.408488.9617550.0074
Looping result0.00050.1148530.0000
Template Total0.427893.220.2139
Template load0.00210.459420.0011
Template processing0.425792.718120.2128
Template load and register function0.00010.025310.0001
states
state_id_array0.00060.127610.0006
state_identifier_array0.00130.285520.0007
Override
Cache load0.00180.3823150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.135020.0003
Fetch class attribute name0.00160.352040.0004
XML
Image XML parsing0.00130.286420.0007
class_abstraction
Instantiating content class attribute0.00000.002040.0000
General
dbfile0.00130.2765230.0001
String conversion0.00000.001840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs