Value Aggregator

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.1

License Agreement

Buy Now!

$10.00
Qty:

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.

  • 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

Value Aggregator allows you to compose from several values a string suitable for use as a value of parameter.

PARAMETERS:

operator1 - Optional. Allows you to specify operator which will be appended
once on the left in resulting string. E.g if the value of “operator1”
parameter is “not”, then resulting string will be “not the_rest_of_string”.

operator2 - Optional. Allows you to specify operator which will be included
between every value pair. E.g. if the value of “operator2” parameter is “&”,
then resulting string will be “first_value&second_value&third_value”. Default value
of this parameter is “|”.

value1, value2, value3 ... value50 - Optional. Allows you to specify up to
50 values.

append_left - Optional. Allows you to specify string which will be appended
on the left in resulting string. E.g if the value of “append_left” parameter
is “|”, then resulting string will be “|the_rest_of_string”.

append_right - Optional. Allows you to specify string which will be appended
on the right in resulting string. E.g if the value of “append_right” parameter
is “|”, then resulting string will be “the_rest_of_string|”.

VARIABLES:

{value_aggregator_result} - outputs string composed from several values and suitable
for use as a value of parameter.

{nonempty_values_number} - outputs number of non-empty values passed as parameters to the
{exp:value_aggregator} tag.

EXAMPLE OF USAGE:

The code

{exp:value_aggregator append_left="|" value1="200" value2="198" value3="201" value4="88" value5="93" value6="197" value7="" value8="" value9="" value10=""}

{value_aggregator_result}

{/exp:value_aggregator}

will output the string “|200|198|201|88|93|197”

Value Aggregator Links

This entry was created July 9, 2009, 10:24 am.
This entry was last updated May 26, 2011, 3:29 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!