MC Curenc-ee Select

Developer

Michael Cohen - ProImage

3rd Party (Commercial)

Creative Commons Attribution Share Alike

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2

Compatibility

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

Requirements

Add-On Type(s)

Fieldtype

Tags

This fieldtype lets you choose a currency (or currencies) from the official ISO 4217 3-digit currency codes and names. It can be set to either single or multi-select modes, restricted to only show common currencies or all 176 of them, works as either a single tag or a tag pair, has a search-as-you-type filter, and is Matrix and SafeCracker-compatible. Currencies are returned as the 3 digit code (USD, EUR, GBP, etc) - great for interfacing with online services such as PayPal.

Try Before You Buy!

Download the add-on for free from GitHub, and if you like it, buy it afterwards! See the License Agreement for details.

Changelog

  • 2.1.0 (2013-04-29):
    • Switched to using Chosen jQuery plugin instead of EE/CI tables for selection of multiple currencies. Chosen also enhances single-currency selection and adds a search-as-you-type feature to the currency fields.
    • Add-on is now for sale at devot-ee.com. GitHub repo remains available for free trials.
  • 2.0.0 (2013-01-30):
    • Now EE2 compatible. All new features listed for this version and onwards are EE2-only. EE1 development has ended.
    • Added global and field settings for single/multiple currency selection and displaying common/all currencies
    • Added tag pair support
    • Added “markup” and “separator” parameters to single-tag mode
    • Added {total_results}, {count}, and {code} variables to tag pair
    • Added “backspace” parameter to tag pair
  • 1.0.0 (Not released publicly; EE1-only)
    • Single currency selection
    • Matrix celltype support

Examples

Assume:

  • Field short name is “my_currency”
  • Selected single currency:
    • US Dollars
  • Selected multiple currencies:
    • US dollar
    • Euro
    • Pound sterling

Single Tag

Single Currency

Code:

{my_currency}

Output:

USD
Multiple Currencies
No Parameters

Code:

{my_currency}

Output:

USD, EUR, GBP
“Separator” Parameter

Code:

{my_currency separator="|"}

Output:

USD|EUR|GBP
“Markup” Parameter

Code:

{my_currency markup="ol"}

Output:

<ol>
    <li>USD</li>
    <li>EUR</li>
    <li>GBP</li>
</ol>

Tag Pair

Single Currency

Code:

{my_currency}
    Selected Currency:
    {count}. {code}
{/my_currency}

Output:

Selected Currency:
1. USD
Multiple Currencies
Basic Example

Code:

{my_currency backspace="2"}{code}; {/my_currency}

Output:

USD; EUR; GBP

Note that whitespace is counted as a character for the “backspace” parameter.

Advanced Example

Code:

{my_currency}
{if count == 1}
    <dl>
{/if}
        <dt>{count}</dt>
        <dd>{code}</dd>
{if count == total_results}
    </dl>
    Total Selected Currencies: {total_results}
{/if}
{/my_currency}

Output:

<dl>
    <dt>1</dt>
    <dd>USD</dd>

    <dt>2</dt>
    <dd>EUR</dd>

    <dt>3</dt>
    <dd>GBP</dd>
</dl>
Total Selected Currencies: 3

Download MC Curenc-ee Select

EE Support Downloads Add-On Version Release Date
Not Specified Download 2.0.0 Jan 30, 2013
Not Specified Download 2.1.0 Apr 29, 2013

MC Curenc-ee Select Links

This entry was created February 5, 2010, 7:29 am.
This entry was last updated April 29, 2013, 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.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!