"Contribution Note" field seems only available thru Profile. Although it looks like a civicrm core component. I did not create this using custom fields. How Can I enable it as part of other contribution related record.

enter image description here

Once used this field on Online contribution page, it appears in view contribution like this

enter image description here

4 Answers 4


This is a default field already related with contribution

when creating a contribution just look for "Additional Details" profile where you can find "Notes" add a value to it you will get the same result

Also you can find the field values in the DB table called "civicrm_note"

  • Thanks. I just overlooked it!! Is there a way to uncollapse the tab additional details by default?
    – Tapash
    May 14, 2015 at 11:57
  • Not in the UI, you can change the css class? From May 14, 2015 at 12:17
  • @Tapash looks like you should change the accepted answer to this one.
    – Lizbeth
    May 14, 2015 at 22:46

If I want to change some values on a template I will create my own template like this:

<div id='expert-cases'>
  <div class='crm-summary-row expert-cases'>
    <div class='crm-label'>{ts}Main Activities{/ts}</div>
    <div class='crm-content'>{$countExpertCases}</div>
  <script type='text/javascript'>

in this example I add a field to the template and use jQuery to move it to the right spot. Yours is even simpler, you need to change the class. Adding the template to the form is then

      'template' => 'CRM/Threepeas/Page/ExpertCases.tpl'));

in the right spot. In you case probably in the buildForm hook of the Contribution page.

  • Thanks, It will be useful in the future!! I have managed to get this worked out.
    – Tapash
    May 14, 2015 at 13:15
  • 1
    The advantage of doing it this way is that you are much less likely to be hurt by upgrades then when you change the template :-) May 15, 2015 at 7:24

Thanks Erik, I have found it. Its the contribution.tpl By removing "collapse" from the Additional/honoree/Premium block, it worked.


<div class="crm-accordion-wrapper crm-ajax-accordion crm-{$paneValue.id}-accordion {if $paneValue.open neq 'true'}collapsed{/if}"


<div class="crm-accordion-wrapper crm-ajax-accordion crm-{$paneValue.id}-accordion {if $paneValue.open neq 'true'}{/if}"

You can not uncollapse in the UI as far as I know. You can the css class? Default will be

crm-accordion-wrapper crm-ajax-accordion crm-AdditionalDetail-accordion collapsed

If you leave out the 'collapsed' it is uncollapsed.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.