Forums / Developer / ezurl without quotes?

ezurl without quotes?

Author Message

Marco Zinn

Tuesday 02 December 2003 8:17:43 am

The mail, that a user receives, when he clicks the "forgot password"-link, has a temporary link in it. This link is enclosed in double quotes. This confuses some users (who copy the URL with quotes to the browser) and maybe some semi-intelligent email-clients.
So, I'd like to remove the (double) quotes completly.

The Template code for this is
{"Click here to get new password"|i18n('design/standard/user/forgotpassword')}:
{concat("user/forgotpassword/", $hash_key, '/')|ezurl}

I know, that I can get single quotes from ezurl with the parameter "single", but how can i get the url without any quotes?

Marco
http://www.hyperroad-design.com

Ole Morten Halvorsen

Tuesday 02 December 2003 9:10:57 am

Marco,

Try with |ezurl(no)

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Marco Zinn

Tuesday 02 December 2003 9:18:33 am

Thanks, that did it.

Marco
http://www.hyperroad-design.com