Forums / Setup & design / Using ezurl to show url, rather than build link

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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~