This documentation refers to an older version of CiviCRM (3.4 / 4.0). View latest version.

Skip to end of metadata
Go to start of metadata
This page refers to CiviCRM 3.4 and 4.0, current STABLE version.

Documentation Search


CiviCRM 3.4 and 4.0 Documentation

Support and Participation

Developer Resources


CiviCRM books!

Make sure to check out the FLOSS Manual Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Or support us by buying an eBook or hard copy of Using CiviCRM from Packt Publishing.

Everytime you are displaying an entity, put as close as the top of the root:

class="crm-entity" id="{entity}_{id}"

so for the contact id 42: <div class="crm-entity" id="contact_42">

for each field you want to edit in place:

class="crmf-{field} crm-editable"

so for the contact source: <td class="crm-source crm-editable">bla bla</td>

If you need something different, you can use our new jquery plugin (defined in rest.js) directly $({selector}.crmEditable()

More to come...

Labels
  • None