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) »
  • Creating a search profile
Pages: [1]

Author Topic: Creating a search profile  (Read 646 times)

juggleboy

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
Creating a search profile
February 11, 2011, 01:56:14 am
I was having problems creating a profile that would allow users to search by a indivduals last name. I would create a profile and make the relevant field searchable as outlined in http://en.flossmanuals.net/CiviCRM/CapturingExposing under the heading profiles and directories, but, instead of giving me a search button I got a save and cancel button.

I found that when you hit the cancel button you would be taken to a form that would allow you to search instead (it had a search button), so all I did to get that same form to come up was to copy the relevant items in the page source and then paste it into a new article. I now had the search functionality that I wanted without having to go through the other "save" form first.

This works in Joomla (I dont know about Drupal) I dont know if this is the correct way of doing things but it works.

NB: Also dont forget to copy the css style sheets if you want the same look.

mdlueck

  • Ask me questions
  • ****
  • Posts: 382
  • Karma: 4
  • CiviCRM version: 4.7.24
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.54
  • PHP version: 5.3.10
Re: Creating a search profile
February 16, 2011, 07:23:55 am
We have two Profiles working with a specific group within CiviCRM. One Profile is where data is entered. The other Profile is a search interface.

The Search Profile has a single "Search" button on it.

We have both checked:
Used For [ X ] Profile [ X ] Profile Search Results
And then we have selected in both Profiles: "Limit listings to a specific Group?" and picked the proper group.

We did not need to modify any CSS. Just straight up CiviCRM.
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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: Creating a search profile
February 16, 2011, 10:10:22 am
juggleboy - can you confirm that in the Profile Settings, you did set it to be used for Search - in the first options?? Silly question but you never know ;-)
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

noir

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: 6.20
  • MySQL version: 5.1.36
  • PHP version: 5.3.0
Re: Creating a search profile
March 29, 2011, 02:23:01 pm
I had a similar problem, but after hitting the cancel button on the profile I just copied the resultant URL instead of all the CSS.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Creating a search profile

This forum was archived on 2017-11-26.