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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Best way to customise Activities tab listing
Pages: [1]

Author Topic: Best way to customise Activities tab listing  (Read 503 times)

artfulrobot.com

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 4
Best way to customise Activities tab listing
July 05, 2013, 05:06:28 am
All three of my CiviCRM installs have required me to change the Activities tab - it's such a useful overview page for a contact that organisations want to see the relevant details (e.g. certain custom fields, dependent on the activity type). I've previously blogged about how I hacked it a bit to add info http://artfulrobot.com/blog/how-i-customised-civicrm-activities-tab-listing

However, now it has Open/Clicks column which does not apply to most stuff and steals precious horizontal space.

I would be interested in implementing some features that might be useful generally:

1. Customise columns, e.g. remove open/clicks and add a hook to populate an optional special summary/details column which could be generated per-record; this would enable us to draw out really useful information without hacking the core.

2. Use the "follow up" (parent field) feature. This could be useful but at the mo there's no point putting the info in because you can't see that you have done it. I propose something like a link on a follow-up activity that takes you to the original (parent). An activity with follow up activities should list the follow ups when viewing the activity; and should allow adding more follow ups.

3. Edit the output to add css classes that determine the activity type, and perhaps data-id attrs: this would help styling (e.g. highlight important activity types) and also would help do clever things with an .extra.tpl because javascript would have a way to access the key data for further API calls. e.g. you could have it so that when you hovered over a follow-up activity it highlighted the original.

Wisdom please...




Piyush

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
    • Pecan Solutions
Re: Best way to customise Activities tab listing
April 15, 2014, 06:08:40 am
Hi,

Just wondering if there was any progress on any of this. Need to change the activities tab too and any of this would be very useful!

Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Best way to customise Activities tab listing

This forum was archived on 2017-11-26.