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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • civicrm footer showing when you edit a related contact in front end dashboard
Pages: [1]

Author Topic: civicrm footer showing when you edit a related contact in front end dashboard  (Read 1252 times)

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
civicrm footer showing when you edit a related contact in front end dashboard
August 02, 2011, 04:59:46 pm
Hi,

This thread was really helpful, http://forum.civicrm.org/index.php/topic,12040.msg51769.html#msg51769

If my logged in user is a member of a household and you edit the household (by using the link in the table) the form that opens shows the backend admin footer giving all the powered by civicrm version and links, see screenshot.

I just don't want my front end users to see all this.

Is it something to do with this

<div class="crm-submit-buttons">
    {$form.buttons.html}
</div>

in the related contact.tpl?

Any help in tracking it down would be welcomed, cheers,

Dave

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: civicrm footer showing when you edit a related contact in front end dashboard
August 04, 2011, 01:16:10 am
I think it is disabled on all frontend pages: check http://joomla.demo.civicrm.org/index.php?option=com_civicrm&view=Events&layout=register&Itemid=3

Kurund
Found this reply helpful? Support CiviCRM

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
Re: civicrm footer showing when you edit a related contact in front end dashboard
August 04, 2011, 01:26:22 am
Hi,

Thanks Kurund, I think it is apart from the edit related contact screen from the contact dashboard.

Tried it on joomla demo and it is showing in related contact edit form from the contact dashboard the same as my screenshot.

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/contact/relatedcontact&Itemid=7&action=update&reset=1&cid=105&rcid=103

I added a joomla login link on the demo site to login as the demo user in order to get access to the contact dashboard, added the demo user to a newly created test household.

go the demo users contact dashboard and then click the edit contact details on the related household record. I then get the form which has the backend footer on the bottom of the page?

Cheers,

Dave

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: civicrm footer showing when you edit a related contact in front end dashboard
August 04, 2011, 01:50:10 am
Quote
go the demo users contact dashboard and then click the edit contact details on the related household record. I then get the form which has the backend footer on the bottom of the page?

Right. try below patch:


Index: CRM/Core/xml/Menu/Contact.xml
===================================================================
--- CRM/Core/xml/Menu/Contact.xml   (revision 35585)
+++ CRM/Core/xml/Menu/Contact.xml   (working copy)
@@ -113,6 +113,7 @@
      <title>Edit Related Contact</title>
      <page_callback>CRM_Contact_Form_RelatedContact</page_callback>
      <access_arguments>access Contact Dashboard</access_arguments>
+     <is_public>true</is_public>
   </item>
   <item>
      <path>civicrm/contact/merge</path>

and then do menu rebuild

HTh
Kurund
Found this reply helpful? Support CiviCRM

davesage

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 3
  • CiviCRM version: 3.4 & 4.1
  • CMS version: Joomla 1.5 & 2.5
  • MySQL version: 5.1
  • PHP version: 5.3
Re: civicrm footer showing when you edit a related contact in front end dashboard
August 05, 2011, 08:30:22 am
Hi Kurund,

Thanks a lot for looking into this, your patch sorted it - fantastic.

Should I raise an issue in Jira to get this change into the core?

Cheers,

Dave

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: civicrm footer showing when you edit a related contact in front end dashboard
August 06, 2011, 01:04:11 am
Yes please file an issue for this with the patch.

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: civicrm footer showing when you edit a related contact in front end dashboard
August 09, 2011, 01:33:07 pm
Issue filed, fixed, closed: http://issues.civicrm.org/jira/browse/CRM-8632
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • civicrm footer showing when you edit a related contact in front end dashboard

This forum was archived on 2017-11-26.