URL Encode

Developer

Airtype Studio

3rd Party (Free)

GNU General Public License v3 Download

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Facebook’s Like button requires a urlencoded URL. Rather than using PHP in our template, we built this light plugin to solve our problem.

The URL Encode plugin urlencodes your string to make it safe for Facebook’s Like Button or other applications.

The tag pair is simply:
{exp:url_encode}URL{/exp:url_encode}

Example usage:
{exp:url_encode}http://www.airtypestudio.com/{/exp:url_encode}
  becomes:
http%3A%2F%2Fwww.airtypestudio.com%2F

Download URL Encode

EE Support Downloads Add-On Version Release Date
Not Specified Download

URL Encode Links

This entry was created July 19, 2010, 11:49 am.
This entry was last updated February 12, 2011, 10:04 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

5 Reviews:

stephendavis89 11.04.14

stephendavis89
Rating - {addon_rating_average}

This plugin works quite well, although it’s unfortunate they didn’t include variable parsing. For those interested in hacking, line 43 can be changed to the following to enable this functionality.

$this->return_data = urlencode($this->EE->TMPL->parse_globals($this->EE->TMPL->tagdata));

nevsie 05.13.14

nevsie
Rating - {addon_rating_average}

works. simple. would be nice if it used EE’s nice url encode too:
$this->EE->load->helper(‘url’);
  $this->return_data = url_title($this->EE->TMPL->tagdata);

Sneed's Feed & Seed 01.21.14

Sneed's Feed & Seed
Rating - {addon_rating_average}

It works. ‘nuff said.

Dom & Tom, Inc 01.15.13

Dom & Tom, Inc
Rating - {addon_rating_average}

Great little add-on. Solved my problem mostly. Would love support for rawurlencode as well, as i’ll have to hack it up just a bit.

Ray Brown 03.15.11

Ray Brown
Rating - {addon_rating_average}

This simple plugin does exactly what it says it does. This plugin would get five stars out of me if it could handle the {site_url} tag.