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 Profiles (Moderator: Dave Greenberg) »
  • Member directory - want to customize website listing
Pages: [1]

Author Topic: Member directory - want to customize website listing  (Read 1109 times)

josue

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 7
    • PTP
  • CiviCRM version: 3.4.4, 4.1.1
  • CMS version: Drupal 6.24, Drupal 7.12
  • MySQL version: 5.0
  • PHP version: 5.2
Member directory - want to customize website listing
November 02, 2011, 11:08:14 am
hey folks,

i have a great member directory, https://dwn.ourpowerbase.net/civicrm/profile?reset=1&force=1&gid=27. the only issue is that the website includes the type of website.

anyone know what i need to do to be able to remove (Main) or (Work) from this listing?

thanks!

--josue

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: Member directory - want to customize website listing
November 02, 2011, 02:47:30 pm

for the short short term, u can hack:

CRM/Profile/Selector/Listings.php, line 548

I'm not sure that location type is needed in the website display. So i would argue to get rid of that in the display for everyone. Might want to follow this up wth dgg

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

gibsonoliver

  • I post occasionally
  • **
  • Posts: 65
  • Karma: 2
    • Northbridge Digital
Re: Member directory - want to customize website listing
February 17, 2014, 04:30:02 am
The change detail is;
Change line 615 of Listings.php to

            $row[] = "<a href=\"$url\">{$result->$name}</a>";

Tested in version 4.3.5

Oliver
Oliver Gibson, Northbridge Digital

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Member directory - want to customize website listing

This forum was archived on 2017-11-26.