i4w_member_dir_editable

Usage:

This shortcode returns an editable ajax table consisting of a segment of your Infusionsoft contacts, selected by tag ID and/or company ID.

Through this shortcode, both regular and custom fields can be edited. The changes are immediately posted both locally, to your WordPress site, and to your Infusionsoft application. Both display fields and edit fields can be defined. In additional, action sets can be initiated for individual contacts in the list.

This shortcode does NOT supports conditional branching with [ELSE_member_dir_editable].

Shortcode nesting is NOT supported.

Parameters:

companyid This parameter can take one of three possible values: ‘no’, ‘yes’ or ‘123’ (where ‘123’ is a specific, existing CompanyId). If ‘no’ is specified, the company ID will not be taken into account during the query. If ‘yes’ is given, the current user’s company ID, if available, will be used. If the user doesn’t have a company ID, no member directory will be returned. Finally, if a specific company ID is given, a member directory will be returned using that company ID.
Default: ‘no’.
Required: no.
tagid One or more comma separated (CSV) tag ID’s, to select the segments of your list to be displayed.
Default: none.
Required: yes, at least one.
fields The Infusionsoft fields to display. Please use the identical spelling as documented in the API.
Default: none. Required: yes, at least one.
header_labels Column headers to be used instead of field names.
Default: none.
Required: no.
onlyid A comma separated list of Infusionsoft contact ID’s of members allowed to see the generated list. If used, only those members person will be able to see the list. If not used, anyone can see it.
Default: none.
Required: no.
headers May be ‘y’ or ‘n’, to define whether a <table> header is displayed or not.
Default: ‘y’.
Required: no.
pagelength Specifies the number of items displayed per page.
Default: 10.
Required: no.
sort_field The column to sort by. Starting with 0 for the first column.
Default: 0.
Required: no.
sort_order The sort order. asc for ascending, desc for descending.
Default: asc.
Required: no.
avatar_field Specifies an Infusionsoft field name (NOT custom field) where alternate avatar URL’s are stored.
avatar_header Specify a column header for the avatar column.
avatar_size => Defines the size of the avatar, limited to 1 x 1 minimum and 128 x 128 maximum. If no default is provided, the shortcode falls back on the global Gravator size.
avatar_default Defines which gravatar to use when the user doesn’t have one registered.
Default: yes, ‘mm’ (Mystery Man).
Required: no.
avatar_alt Determines which “alt” text is going to used in the image link.
Default: none.
Required: no.
edit_fields Defines the fields that can be edited.
Default: none.
Required: no.
edit_labels Specifies the labels used for the edit form.
Default: none.
Required: no.
actionsets If ‘yes’, specifies that actionsets can executed, or, if a list of actionset ID’s is provided, limits the actionsets that may be started. If ‘no’ is specified, a list of actionsets will not be made available to the edit form.
Default: none.
Required: no.

Example:

[i4w_member_dir_editable tagid='123,234,345' fields='FirstName,LastName,Phone1']

[i4w_member_dir_editable tagid='123,234,345' companyid='no' fields='FirstName,LastName,Phone1']

[i4w_member_dir_editable tagid='123,234,345' companyid='yes' fields='FirstName,LastName,Phone1']

[i4w_member_dir_editable tagid='123,234,345' companyid='123' fields='FirstName,LastName,Phone1']

[i4w_member_dir_editable tagid='123,234,345' fields='avatar,FirstName,LastName,Phone1' edit_fields='FirstName,LastName,Phone1,Email']

[i4w_member_dir_editable tagid='123,234,345' fields='avatar,FirstName,LastName,Phone1' actionsets='yes']

[i4w_member_dir_editable tagid='123,234,345' fields='avatar,FirstName,LastName,Phone1' actionsets='123,234,345']

[i4w_member_dir_editable tagid='123,234,345' fields='avatar,FirstName,LastName,Phone1' avatar_field='Address3Street' avatar_size='80' avatar_size='48' avatar_default='48']

[i4w_member_dir_editable tagid='123,234,345' fields='avatar,FirstName,LastName,Phone1' header_labels=',Nombre,Apellido,Telefono' avatar_field='Address3Street' avatar_size='80' avatar_size='48' avatar_default='48']

Notes:

he list is sorted on the first field defined in the fields list.

In addition to all the available Infusionsoft contact fields, this shortcode provides three virtual fields: Avatar, FullName and CityState, which are converted to a person’s gravatar, ‘FirstName LastName’ and ‘City, State’, respectively.

For additional information concerning gravatars and default values, please refer to: https://en.gravatar.com/site/implement/images/

API:

There is no API function equivalent for this shortcode.