CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribute Button Text
Pages: [1]

Author Topic: Contribute Button Text  (Read 660 times)

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Contribute Button Text
July 21, 2014, 08:05:58 am
Civicrm - Current Stable, WordPress 3.8
I created a Free Membership page and would like to change the text of the ' Contribute ' Button to ' Submit '. I spent 2 hours looking through all the civicrm folders looking for a tpl page or anything that has this button code so I could change it. Anyone have any idea where I can find this.

Thanks

andrewhunt

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 13
    • AGH Strategies
  • CiviCRM version: all of 'em
  • CMS version: Drupal, Joomla, and WordPress
Re: Contribute Button Text
July 21, 2014, 12:21:48 pm
Sadly, there's only one way to do this as an administrator, and it's a very blunt tool.  You can use the word replacements tool to replace all instances of "confirm contribution" with something else.  You'll find that in Administer - Customize Data and Screens - Word Replacements.  However, that will replace the text site-wide, including in places where it may be inappropriate to do so.  (People most commonly do this for something like replacing "Membership" with "Subscription", "member" with "subscriber", etc.)

If you're able to dig into the code, it's simple to change the text for some or all contribution pages by writing an extension (the preferred way) or doing a template override.  I'm also certain that it would be a welcome new feature in the core CiviCRM code to allow for custom contribution page (and event, petiion, and profile) buttons.
You can find me at AGH Strategies.
Need help now?  Civi911 is your go-to for CiviCRM support.

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Contribute Button Text
July 21, 2014, 04:11:23 pm
>> If you're able to dig into the code, it's simple to change the text for some or all contribution pages by writing an extension

This maybe possible if I had any clue where to find it.

Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribute Button Text

This forum was archived on 2017-11-26.