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) »
  • Business Directory using Organization records, customizing?
Pages: [1]

Author Topic: Business Directory using Organization records, customizing?  (Read 675 times)

bdmc

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Joomla 2.5.25 / Joomla 3.x
  • MySQL version: 5.5.40
  • PHP version: 5.3.10
Business Directory using Organization records, customizing?
March 11, 2015, 07:52:29 am
I started this thread in Reports, but was told that a Profile was a reasonable way to accomplish my goal of a Business Directory using CiviCRM data.


I followed the instructions and examples in http://book.civicrm.org/user/current/organising-your-data/profiles/ and was able to create a Joomla Menu item that shows my new Profile.

However, the Default Page shown when I click on the menu item is the Search Form.  Is it possible to have it show an unfiltered list of records with a "Search" button, rather than the Search Form, as the Default?  There is also the possibility of an Alphabet list, linking to the set of records.

Also, is it possible to change how records are displayed without digging into core code?

Thanks,
Brian

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Re: Business Directory using Organization records, customizing?
March 11, 2015, 10:25:35 am
To display results use the following:

<<site>>/index.php?option=com_civicrm&task=civicrm/profile&reset=1&gid=<<profile ID>>&force=1&search=1

All the records should be listed alphabetically by contact name. There should be the ability to edit search criteria on the top of the page.

Hope this helps,

BT

bdmc

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Joomla 2.5.25 / Joomla 3.x
  • MySQL version: 5.5.40
  • PHP version: 5.3.10
Re: Business Directory using Organization records, customizing?
March 11, 2015, 11:35:34 am
Thank you.  That was exactly what I was looking for.   When you go through the Joomla "Menu Item Builder" it creates its own link code, and doesn't let you edit it.

bdmc

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Joomla 2.5.25 / Joomla 3.x
  • MySQL version: 5.5.40
  • PHP version: 5.3.10
Re: Business Directory using Organization records, customizing?
March 11, 2015, 11:41:39 am
Since I'm on a roll, is there some way that I can change the layout of the list or the individual entries ( click to View ). Perhaps a template?

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Re: Business Directory using Organization records, customizing?
March 11, 2015, 12:37:29 pm
You can create a custom template for the page. Here is a link to some info on how to go about that:

http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

Make sure you use a custom templates directory to avoid your changes being overwritten when there are upgrades.

If you are looking to adjust the order of fields being displayed that can be done in the profile setup.

BT

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Business Directory using Organization records, customizing?

This forum was archived on 2017-11-26.