eZ Newsletter - urls in xmltext

Author Message

STEVO +

Sunday 07 January 2007 7:46:20 am

has anyone figured out a good way to make urls in xmltext sent out in the newsletters fully qualified (with the hostname + not just relative)?

i can only think of:

a) overriding link.tpl, ezimage.tpl etc. but that would affect the whole site, not just the emails.
b) hacking one of the newsletter files to do a search + replace of 'src=' + 'href=' etc. but i'd rather not.

there must be an easy way, no?

cheers

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 18:37:04
Script start
Timing: Jan 18 2025 18:37:04
Module start 'layout'
Timing: Jan 18 2025 18:37:04
Module start 'content'
Timing: Jan 18 2025 18:37:05
Module end 'content'
Timing: Jan 18 2025 18:37:05
Script end

Main resources:

Total runtime0.8661 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.0055 587.9141152.6250
Module start 'layout' 0.00550.0034 740.539139.4453
Module start 'content' 0.00890.8556 779.9844433.2188
Module end 'content' 0.86450.0015 1,213.20318.1641
Script end 0.8660  1,221.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3760160.0002
Check MTime0.00130.1536160.0001
Mysql Total
Database connection0.00080.087310.0008
Mysqli_queries0.826495.4155460.0180
Looping result0.00050.0520440.0000
Template Total0.834296.320.4171
Template load0.00200.229320.0010
Template processing0.832296.087920.4161
Template load and register function0.00010.011310.0001
states
state_id_array0.00110.125010.0011
state_identifier_array0.00100.119620.0005
Override
Cache load0.00160.1838100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.057310.0005
Fetch class attribute name0.00050.056820.0002
XML
Image XML parsing0.00050.055910.0005
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00080.0902160.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs