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

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 31 2025 08:06:38
Script start
Timing: Jan 31 2025 08:06:38
Module start 'layout'
Timing: Jan 31 2025 08:06:38
Module start 'content'
Timing: Jan 31 2025 08:06:38
Module end 'content'
Timing: Jan 31 2025 08:06:38
Script end

Main resources:

Total runtime0.0169 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0313151.1953
Module start 'layout' 0.00500.0023 739.226636.6172
Module start 'content' 0.00730.0083 775.843890.1250
Module end 'content' 0.01550.0013 865.968833.9922
Script end 0.0168  899.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.5566140.0002
Check MTime0.00116.6456140.0001
Mysql Total
Database connection0.00084.821610.0008
Mysqli_queries0.002213.306730.0007
Looping result0.00000.077810.0000
Template Total0.00095.610.0009
Template load0.00074.186710.0007
Template processing0.00021.358810.0002
Override
Cache load0.00052.745910.0005
General
dbfile0.003218.888980.0004
String conversion0.00000.033940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs