Using ezurl to show url, rather than build link

Author Message

James Packham

Monday 16 February 2004 2:57:07 am

Hi I'm trying to use ezurl to build a link inside a mailto link like so:

<a href="mailto:?subject={$node.object.data_map.title.data_text}&body={concat("/content/view/full/",$node.node_id,"/")|ezurl}">Tell someone about this</a>

But it just doesn't seem to want to build a url, the best I can get is by adding (no) to ezurl (to remove the quotes), which results something like this:

mailto:?subject=This item&body=/content/view/full/102

Is what I'm trying to do even posisble with ezurl?

Thanks,

~James~

James Packham

Tuesday 17 February 2004 7:47:53 am

I've got a sort of solution:

concat("http://",ezini( 'SiteSettings', 'SiteURL'),"/",$node.url_alias)

But I'm still messing around trying to get it to work in <a> tags

~James~

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.