urlClean is used as an output modifier on urls to force them to validate, also useable on document ID's to create links to them.
accepts option value equal to the makeURL scheme parameter when used on document ID's instead of full urls
url: youtube.com/test?q=this and that -> //youtube.com/test?this%20and%20that
url: /test relative?var=with, params.&that -> /test%20relative?var=with%2C%20params%2E&that
url: 2 -> /alias-to-your-page
[[+id:urlClean=`full`]] -> http://your-site.com/alias-to-document
AUTHOR: Jason Carney, DashMedia.com.au
Install via package management
- First seen
- Supported databases
- Minimum MODX Requirement
|MODX.com||1.0.3-pl||2015-05-29 (7 years ago)|
We've also seen 2 unverified versions of urlClean in use, but don't list those as we've been unable of confirming they are official releases from an official source.