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) »
  • [Solved] Member Directory in Joomla without the search step
Pages: [1]

Author Topic: [Solved] Member Directory in Joomla without the search step  (Read 1569 times)

MtnPavlas

  • Guest
[Solved] Member Directory in Joomla without the search step
February 14, 2010, 04:47:27 pm
I've seen various documentation sources + posts on this topic but none of them worked for me.
Requirement: Provide a member directory accessible via a navigation item. Display the directory without the need to click the Search button.

The manual offers: http://en.flossmanuals.net/CiviCRM/CapturingExposing (Member Directory is about 2/3 down the page.)
When I follow these instructions for Joomla, I am only able to get to the search page. When I hit the Search button, then I get the full member directory. From usability stand point, I'm trying to cut out that extra step.

These instructions here only worked for Drupal:
http://wiki.civicrm.org/confluence/display/CRMDOC/Creating+a+website+member+directory

Any ideas, guys, regarding what I could do here? Thanks a lot for any suggestions...
« Last Edit: February 15, 2010, 10:07:42 pm by MtnPavlas »

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 in Joomla without the search step
February 14, 2010, 08:36:04 pm

what step does not work in joomla?

basically adding force=1 will get civicrm to do a search when the url is invoked

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

MtnPavlas

  • Guest
Re: Member Directory in Joomla without the search step
February 15, 2010, 09:59:38 pm
Thanks, Lobo... What doesn't work in Joomla?
  • The instructions in the manual and other sources provide steps for creating a Joomla menu item leading to a search page. When the user clicks the "Search" button, then the directory displays.
  • There are other instructions that provide the URL for stand-alone or Drupal that leads directly to a member directory/listing page. I've had hard times figuring out what the URL, leading directly to a member directory, is for Joomla.

I've now figured it out through these steps:
1. Create a profile needed for the directory
2. Create a menu item: Components > CiviCRM > CiviCRM Profile > View Profile; in the menu item parameters select the profile you created in step 1
3. In the front end, click on the newly created menu item => a profile will display (if you're logged in, your values will display; I'm not sure what happens if you're not logged in or if there are no values for you in these fields you've selected for this profile)
4. At the bottom of the profile right-click on the "Back to Listings" link and select "Copy URL" or similar from your contextual menu
5. Go back to the menu item you created, click on the "Change Type" button; select "External Link"; paste the URL you copied in step 4; save, etc...

The URL that worked for me was:
Code: [Select]
index.php?option=com_civicrm&task=civicrm/profile&force=1&gid=Xreplace "X" with the desired profile ID

digitalzen

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: [Solved] Member Directory in Joomla without the search step
May 22, 2010, 06:05:05 pm
Very clever workaround/tip!  :D

This answered a question that's been dogging me for a while now.

Thanks!
Chris

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • [Solved] Member Directory in Joomla without the search step

This forum was archived on 2017-11-26.