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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • change text in button Save , Save and New
Pages: [1]

Author Topic: change text in button Save , Save and New  (Read 485 times)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
change text in button Save , Save and New
November 13, 2014, 11:50:47 pm
hi all  :)

how can i change text in button Save , Save and New .

for instance : when add new campaign .

i opened FormButtons.tpl ,but i did not see text "Save" in there. just like this

{crmRegion name='form-buttons'}
  {foreach from=$form.buttons item=button key=key name=btns}
    ....


thanks.
« Last Edit: November 13, 2014, 11:56:46 pm by henro »

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: change text in button Save , Save and New
November 14, 2014, 12:52:59 am
Henro,
the labels of the buttons are set in the calling PHP class. Why would you want to save those button labels? It seems like a very detailed level of customization that will mean you will have a lot of work everytime you upgrade? And the button will show the behaviour that is attached to 'Save' and 'Save and New' and there will be many spots in CiviCRM where this occurs.
I would not recommend you changing this.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

henro

  • I post occasionally
  • **
  • Posts: 115
  • Karma: -1
  • CiviCRM version: 4.5.0
  • CMS version: drupal
  • MySQL version: 4.2.7.1
  • PHP version: 5.2.0
Re: change text in button Save , Save and New
November 18, 2014, 01:40:50 am
thanks Erick  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • change text in button Save , Save and New

This forum was archived on 2017-11-26.