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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Add some indicator in the relationship list that a relationship is permissioned
Pages: [1]

Author Topic: Add some indicator in the relationship list that a relationship is permissioned  (Read 1350 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Add some indicator in the relationship list that a relationship is permissioned
August 30, 2010, 11:48:15 pm
It would be pretty cool if by looking at a list of relationships you could tell which ones were either a_b or b_a permissioned.  This could be done by:

1? making the relationship <b>bold</b> or
2? by just adding another column that says "permissioned a_b: x" "permissioned "b_a" or something along those lines.  This would be way more convenient than clicking View for several different relationships to find each of their permissions.  I think this would be an excellent enhancement.  I hope you agree.

If it's not to hard and you can tell me which files to look in, I'll see if I can make the patch myself. oooooooooooh yeah
Try CiviTeacher: the online video tutorial CiviCRM learning library.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Add some indicator in the relationship list that a relationship is permissioned
August 31, 2010, 03:26:56 am
I agree it would be a useful enhancement  ;)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

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: Add some indicator in the relationship list that a relationship is permissioned
August 31, 2010, 07:45:08 am

CRM/Contact/Page/View/Relationship.php

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

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Add some indicator in the relationship list that a relationship is permissioned
October 25, 2010, 11:40:32 am
I have submitted a patch for this (thanks Dave G for the explanation on submitting patches) with the following improvements.

http://issues.civicrm.org/jira/browse/CRM-6991

1. I wanted to change the color of rows that have one or more permissioned relationships.  I did this by using an existing CSS: #crm-container .row-highlighted

2. I also wanted to provide an indicator of which type of permissioning it was: a_b, b_a, or both

3. I didn't want to clutter the <td with lots of text (that's why I added the legend at the bottom)

4. I tried to add additional <td but ran into an error popup about expected number of columns.  Didn't find any way to change this in the PHP I saw.  Decided a workaround was best anyway, because adding two more columns makes it really crowded - CiviCRM is wide enough already
Try CiviTeacher: the online video tutorial CiviCRM learning library.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Add some indicator in the relationship list that a relationship is permissioned
October 25, 2010, 11:54:00 am
nice approach stuart - thanks for sorting this for everyone's benefit
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Add some indicator in the relationship list that a relationship is permissioned

This forum was archived on 2017-11-26.