Share » Forums » Developer » image full path in xml text

image full path in xml text

image full path in xml text

Thursday 07 July 2005 1:39:23 am - 2 replies

Author Message

ludo thomas

Thursday 07 July 2005 2:10:56 am

I have the solution:

I use ereg_replace function in my workflow:

$mailTemplateResult=ereg_replace("/var","http://www.DOMAIN.com/var",$mailTemplateResult);

Ɓukasz Serwatka

Thursday 07 July 2005 2:14:18 am

Hi,

You can get SiteURL from INI file, and full path of image with code below, and use it as paramters of concat function.

I didn`t test it ...

{def $site_url=ezini( 'SiteSettings', 'SiteURL', 'site.ini' )
     $img_url=$node.data_map.corps.content[original].url|ezroot}


<img src={concat( $site_url, $img_url )} />

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu