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) »
  • Contacts/Organization editing from Joomla Front End
Pages: [1]

Author Topic: Contacts/Organization editing from Joomla Front End  (Read 1234 times)

sergeich

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • USDLC
Contacts/Organization editing from Joomla Front End
September 21, 2008, 05:10:17 pm
Environment: Civicrm beta4, Joomla 1.5.4

I intend to allow a user in charge of an Organization to edit that Organization's Info and edit all members of the Organization. Once you establish needed relationships (owner--> organization, organization--> members) and logon as the owner of the organization through the  Joomla front-end the dashboard shows the Organization however only Dashboard link works out of three. 'Edit Contact Information' link is blocked by URL filter in components/com_civicrm.php. In order for it to function I addedd ‘contact’ in allowed type of URL’s ($validPath array).

    // all profile and file urls, as well as user dashboard and tell-a-friend are valid
    $arg1 = CRM_Utils_Array::value( 1, $args );
    $validPaths = array( 'profile', 'user', 'dashboard', 'friend', 'file','contact' );
    if ( in_array( $arg1 , $validPaths ) ) {
        return true;
    }

1) My first question is: is that a horrible thing to do security-wise?

2) Once you get to edit the contact information the fancy Country/State selector doesn't work: administrator/components/com_civicrm/civicrm/bin/ajax.php&return=countries
Not sure how to fix it :(

3) The control panel (Global settings/Site Preferences page) for the Dashboard malfunctions in my case. I selected only Contacts/Organizations to be displayed however Your Contributions and Your Membership still show.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contacts/Organization editing from Joomla Front End
September 21, 2008, 07:46:21 pm

Can you please file issues for this (and we'll fix before final release). http://issues.civicrm.org/. All 3 are bugs.

You can file points 1 and 2 as one issue and point 3 as another issue

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Contacts/Organization editing from Joomla Front End

This forum was archived on 2017-11-26.