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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Changing Page Titles in Custom data
Pages: [1]

Author Topic: Changing Page Titles in Custom data  (Read 773 times)

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Changing Page Titles in Custom data
May 19, 2010, 12:33:08 pm
I would like to change the page title in the custom data. Right now it says CIVICRM.  I have already created a cusom language for this but it seems to show up in this instance.  How can I adjust it? 
Success is the ability to go from one failure to another with no loss of enthusiasm.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Changing Page Titles in Custom data
May 19, 2010, 02:22:23 pm
Not sure what page / url you're asking about. Please post the URL (you can remove domain if you don't want to share that) and a screen shot. Also please update your forum profile with CiviCRM version and CMS / CMS version.
Protect your investment in CiviCRM by  becoming a Member!

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Re: Changing Page Titles in Custom data
May 19, 2010, 06:51:43 pm
the url is http://mydomain.org/civicrm/contact/view/cd/edit?tableId=1&cid=1&groupId=6&action=update&reset=1

updating my profile  I am running drupal 6.15 and Civi 3.1.3
« Last Edit: May 19, 2010, 07:31:33 pm by markimus »
Success is the ability to go from one failure to another with no loss of enthusiasm.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Changing Page Titles in Custom data
May 23, 2010, 04:33:59 pm
Got it. That form should use the contact name as it's title like other edit forms do in the contact's context. I've filed an issue and fixed this for 3.16 and 3.2:
http://issues.civicrm.org/jira/browse/CRM-6291

It's a two line change, so I think you should be able to backport to your 3.1 install if you like. Change is to CRM/Contact/Form/CustomData.php. Add these two lines after line 139:

        list( $displayName, $contactImage ) = CRM_Contact_BAO_Contact::getDisplayAndImage( $this->_tableID );       
        CRM_Utils_System::setTitle( $displayName, $contactImage . ' ' . $displayName );
Protect your investment in CiviCRM by  becoming a Member!

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Re: Changing Page Titles in Custom data
May 24, 2010, 05:45:28 pm
Thx so much that did the trick :)
Success is the ability to go from one failure to another with no loss of enthusiasm.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Changing Page Titles in Custom data

This forum was archived on 2017-11-26.