Change title of Submit buttons

Sometimes you might want to change Save to Submit or something else. To do so, find the following files and make copies of them in your CiviCRM custom template directory with your changes:

-------------------------------------------

Profile Forms:

Drupal = civicrm/CRM/Profile/Form/Edit.php

Joomla = administrator/components/com_civicrm/civicrm/CRM/Profile/Form/Edit.php

 

$this->addButtons(array(
                                array ('type'      => $buttonName,
                                       'name'      => ts('Save'), 
                                       'isDefault' => true),

                                array ('type'      => 'cancel',
                                       'name'      => ts('Cancel'), 

                                       'isDefault' => true)
                                )
                          );

 

------------

Contribution Pages:

Drupal: civicrm/CRM/Contribute/Form/Contribution/confirm.php

Joomla!: administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/confirm.php

 

 } else {

            if ( $this->_contributeMode == 'notify' || ! $this->_values['is_monetary'] || $this->_amount <= 0.0 ) {

                $contribButton = ts('Continue >>');

            } else {

                $contribButton = ts('Make Contribution');

            }

            $this->addButtons(array(

 

 

 

Your Inbox, Our Secrets

Email:
Small Nonprofit Web Tips
Organic SEO Tips
Secret CiviCRM User Tips