CiviCRM: Difference between revisions

No edit summary
No edit summary
Line 140: Line 140:


<blockquote>
<blockquote>
Custom tokens (based on custom data) can be added for organizations as well. These tokens will not be displayed in the list of available tokens, but can be added manually. The format is {contact.custom_12} where 12 is the ID of the custom data field. To find the custom data field ID, go Administer > Customize Data & Screens > Custom Fields and click on the field you want to use. Look at the URL. The last part of the URL will be an equal sign and a number (=12). The number (12 in this example) is the id of that custom field.
Custom tokens (based on custom data) can be added for organizations as well. These tokens will not be displayed in the list of available tokens, but can be added manually. The format is {contact.custom_12} where 12 is the ID of the custom data field. To find the custom data field ID, go Administer > Customize Data & Screens > Custom Fields and click �edit� on the field you want to use. Look at the URL. The last part of the URL will be an equal sign and a number (=12). The number (12 in this example) is the id of that custom field.
</blockquote>
</blockquote>


Line 324: Line 324:
== Extensions ==
== Extensions ==
* See [https://civicrm.org/extensions/drupal listing of CiviCRM extensions for Drupal]
* See [https://civicrm.org/extensions/drupal listing of CiviCRM extensions for Drupal]
* [http://wiki.civicrm.org/confluence/display/CRMDOC/Extensions Extensions documentation in the wiki]
* [https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/#installing-a-new-extension  Installing extensions]
* [http://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Custom-Search+Extension Create a Custom Search extension]
There are multiple ways to use the <code>cv</code> command to download and install extensions:
;Download a published extension from the directory (long name).
:<code>cv dl org.example.foobar</code>
;Download a published extension from the directory (short name).
:<code>cv dl foobar</code>
;Download an unpublished extension (long name and zip URL)
:<code>cv dl org.example.foobar@http://example.org/files/foobar-1.2.zip</code>
;Download a pre-release (alpha/beta) from the directory.
:<code>cv dl --dev foobar</code>
 
 


== Developing Extensions ==
== Developing Extensions ==