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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Fundamental confusion with Joomla + CiviCRM
Pages: 1 2 [3]

Author Topic: Fundamental confusion with Joomla + CiviCRM  (Read 10865 times)

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Re: Fundamental confusion with Joomla + CiviCRM
December 01, 2012, 09:30:12 am
I just submitted a patch / pull request for Joomla 2.5 tracker here:

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=11410&tracker_item_id=29769

Hope you can test and post on the tracker so this is included in next Joomla 2.5.9 release.
--
Nick (aka nant from CB Team)

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Re: Fundamental confusion with Joomla + CiviCRM
December 02, 2012, 12:52:55 am
Quote from: nant on December 01, 2012, 09:30:12 am
I just submitted a patch / pull request for Joomla 2.5 tracker here:

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=11410&tracker_item_id=29769

Hope you can test and post on the tracker so this is included in next Joomla 2.5.9 release.

Looks like my Joomla 2.5 and 3.0 patches will be accepted.

So you can now trigger off one of the following events:

"onConfigurationBeforeSave" or "onConfigurationAfterSave"

I suggest the second one.

Let me know if I can help further on this one.
--
Nick (aka nant from CB Team)

AndrewSmith

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.2.4
  • CMS version: Joomla 2.5
  • MySQL version: 5.5.27-cll
  • PHP version: 5.3.17
Re: Fundamental confusion with Joomla + CiviCRM
December 09, 2012, 09:46:58 am
From someone who can't write code to save himself, thanks for going the extra mile here.

Andrew

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Re: Fundamental confusion with Joomla + CiviCRM
January 23, 2013, 12:55:47 am
Quote from: lcdweb on October 11, 2012, 08:35:26 am
the onUserAfterSaveGroup() event is a little weak in the documentation area. but I implemented it with the understanding that it is fired whenever an ACL group is saved -- including when permissions are changed for the group.

when those triggers are fired, they call CRM_Core_BAO_Navigation::resetNavigation( );
that is definitely the right CiviCRM method to call, and should take care of the user's navigation cache. the function clears the navigation value in the setting table (for the user) and also removes any navigation rows from the main cache table.

I suspect that in some scenario, onUserAfterSaveGroup() is not getting fired as we expect, and that's where the problem lies.

I'm not opposed to clearing the nav cache on user login. we would use the onUserLogin($user, $options = array()) event to do that. i'll take a look.

FYI - there are 2 Joomla tracker items I have opened and also submitted patches for that need testing in order to be included in next Joomla releases:

Tracker items are:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=11410&tracker_item_id=29769
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=29770
--
Nick (aka nant from CB Team)

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Fundamental confusion with Joomla + CiviCRM

This forum was archived on 2017-11-26.