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) »
  • Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
Pages: [1]

Author Topic: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3  (Read 4073 times)

NASC2009

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 20, 2013, 08:23:57 am
We have Wordpress 3.51 and CiviCRM 4.3, we can't seem to find the instructions on how to setup search forms on the public side of the site.
We found Joomla and Drupal, but no Wordpress. Is this possible yet?

We have a very extensive list of custom profiles and custom fields that we would like to gather info from. Just a few search fields per form
so that it can be nicely formatted on one page.

Thank you

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: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 20, 2013, 08:31:06 am

can you point to the specific joomla/drupal pages that you are referring to

in general most / all of those instructions should apply to WordPress also

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

NASC2009

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Re: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 20, 2013, 08:42:01 am
This is the best page we could find

http://wiki.civicrm.org/confluence/display/CRMDOC43/Linking+Profiles#LinkingProfiles-CustomizedAdvancedSearchResults

The object to to put a few simple search forms on the public side of the site, such as the default 'name and address' profile
that is already setup.


Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 20, 2013, 08:51:41 am
Hey there,

There is also http://book.civicrm.org/user/current/website-integration/integrating-with-wordpress/ and http://book.civicrm.org/user/current/the-user-interface/profiles/ but I suspect they are missing some important info.

If / when you do work it out, would be good if you could update the docs so that it is clearer for the next person :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

NASC2009

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Re: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 20, 2013, 09:16:14 am
Thanks, we'll take a look.

Tadpole Collective

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
    • Tadpole Collective
  • CiviCRM version: Latest
  • CMS version: latest
Re: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 22, 2013, 09:35:35 am
I did a little work through on this and come up with the following notes, let me know if this works or makes sense. I think it needs some improvement on how it integrates with WP, but it's a start for now.

With profiles, you can also create listings and search form to view profile data that has been submitted and is within CiviCRM overall or from a specific group. The following defines the steps to setup for WP.

Create a Profile

  • Create a new Profile for a Listing, do this by checking Standalone Form or Directory in the Used for section under the Profile name.
  • In Advanced Settings, the only part needed here is Limit listings to a specific Group?, if you want to limit it to a specific group.

Adding Fields

When adding fields within the Profile the following needs to be taken into account:

Visibility needs to be set to Public Pages & Listings and two new options appear
  • Searchable, which means that it will provide a way for folks to search and sort
  • Results Column, which  means it will appear in the table results column of that listing

Listing and Search

The listing results would look something like this: yourdomain.org/civibasepage/?page=CiviCRM&q=civicrm/profile&force=1&gid=16. Once shortcode is added, it can be added to the page. For now, view in dashboard with something like this: wp-admin/admin.php?page=CiviCRM&q=civicrm/profile&force=1&gid=16 and replace with the civi basepage url to view on the frontend.

Note: It's important to the profile listing be added in profile listing view not create mode. I couldn't see how to make it work with the HTML snippet as of now, just direct links and removing the wp-admin & create parts of the URLs.

Permission to View Profiles

It's important to take into account is the Access Levels needed to view the listing in CiviCRM 4.3+ with WP. To view this, the roles will need access to CiviCRM: profile listings and forms. If only listings is chosen, then donate or membership forms won't be viewable. If it gets put into a shortcode on a later time and access to the WP page could be controlled from within WP permissions access to that specific page with something like Members plugin.

Hope this helps.

NASC2009

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Re: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 25, 2013, 10:14:06 am
Thanks for your help.

I used your format yourdomain.org/civibasepage/?page=CiviCRM&q=civicrm/profile&force=1&gid=16, substituting gid=1 for my case.
But I could only get the default 'name and address'  profile to work.

My questions are:
1. Where did you find the civicrm/profile&force text from?
2. I made sure my profiles were set for searching, public listings, everthing just like the 'name and address' profile but it would always come
up with just a profile to enter data in, doesn't say search
--For now, I just changed the 'name and address' profile to match what I wanted to search for and it works for now.
3. Is there any way to clear the fields when you want to do anothe search?
4. Do you know if the search capability supposed to work for Wordpress  with 4.3.1 or is this just a workaround for now?

Tadpole Collective

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
    • Tadpole Collective
  • CiviCRM version: Latest
  • CMS version: latest
Re: Instructions on how to setup public search forms for wordpress using CiviCRM 4.3
April 25, 2013, 04:06:14 pm
Glad to hear, I asked for a little help too  :)

I also got details about listing/search Help documentation (the question mark) in the Profiles list page on the dashboard in the green box that describes what Profiles are. From what I know the preview and create modes are input view, the help documentation has the rest. I have to look at clearing text, don't know off the top of my head. And I think the search option is CiviCRM core, not CMS dependent.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Instructions on how to setup public search forms for wordpress using CiviCRM 4.3

This forum was archived on 2017-11-26.