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 CiviCase (Moderator: Dave Greenberg) »
  • How to show only user assigned Activities in his dashboard.
Pages: [1]

Author Topic: How to show only user assigned Activities in his dashboard.  (Read 2163 times)

naseem_sarwar

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: civivrm version 4
  • CMS version: drupal 7
  • MySQL version: mysql 5+
  • PHP version: php version 5+
How to show only user assigned Activities in his dashboard.
August 22, 2011, 01:55:20 am
Hi,

 i was investigation how to show the activities in the dashboard. and i make a user and assigned some activities. but on the activities it is showing all the activities. but i want to show only activities that assigned to that particular user. not all of it. i tried to set that via drupal role based. but there is only one option of that which is "show all activities" and delete activities.

But i think it should Show activities assigned. please help.

naseem_sarwar

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: civivrm version 4
  • CMS version: drupal 7
  • MySQL version: mysql 5+
  • PHP version: php version 5+
Re: How to show only user assigned Activities in his dashboard.
August 22, 2011, 04:34:51 am
Hi,

simply i just need that one a user of drupal logs in.... the activities assigned to him only shown on the dashboard not all the activities on the system. is there any way i can achieve that. i have try to understand the acl's but there is no way i can assign a task to show activities  relating to that particular person.

like in drupal if we have different kind of content types. and we can assign in roles that particular person only can edit or delete specific content type and also can see his posts and stuff.

can we do that in the activities too?

Thanks for help in advance.

naseem_sarwar

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: civivrm version 4
  • CMS version: drupal 7
  • MySQL version: mysql 5+
  • PHP version: php version 5+
Re: How to show only user assigned Activities in his dashboard.
August 23, 2011, 01:38:22 am
Any comments on that... may be i am missing some stupid thing. please help atleast give me any pointers or something.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: How to show only user assigned Activities in his dashboard.
August 23, 2011, 03:49:28 am
Hi,

You can put any report you create with CiviReports as a 'dashlet' - ie. http://drupal.demo.civicrm.org/civicrm/dashboard?reset=1

You can set the 'target_contact' & 'assigned_contact' as criteria

http://drupal.demo.civicrm.org/civicrm/report/instance/3?reset=1

But I don't think you can have the report detect the logged in user without some code level customisation (handy though).

Depending how many users you have it make sense to create a report per user
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

naseem_sarwar

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: civivrm version 4
  • CMS version: drupal 7
  • MySQL version: mysql 5+
  • PHP version: php version 5+
Re: How to show only user assigned Activities in his dashboard.
August 23, 2011, 08:42:57 am
Yeah i have loads of users not only one. it ll be best that i can hack that activities 'dashlet'.  is there any help on that how to do coding in that. unfortunately i dont have much time to do that personally. and i asked client it is dueable. Blind faith on civicrm i guess.

any help in that ll be appriciated.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: How to show only user assigned Activities in his dashboard.
August 23, 2011, 12:16:16 pm

You are looking to base it on this report

http://svn.civicrm.org/civicrm/branches/v3.4/CRM/Report/Form/Activity.php

There is some talk about getting the contact id in this thread

http://forum.civicrm.org/index.php/topic,21034.msg89189.html#msg89189
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • How to show only user assigned Activities in his dashboard.

This forum was archived on 2017-11-26.