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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile views do not reset
Pages: [1]

Author Topic: Profile views do not reset  (Read 1710 times)

lorenzo

  • Guest
Profile views do not reset
February 11, 2009, 06:08:37 pm
Hello,

I made a profile which I want to use to list contacts.

I am using this link in a drupal block:
<root>/index.php?q=/civicrm/profile/view?reset=1&gid=5

On this page, I do a search by name by entering a contact name in the name field under "New Search", which gets 2 results.

The next time I click the link in the block, only the 2 results of my previous search are listed, not the all the contacts which match profile with id=5 ?

I tried disabling cache but this does not work.

The civicrm demo sandbox works fine with this.

Any help appreciated, thank you.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profile views do not reset
February 12, 2009, 02:01:20 pm
The URL to go to a profile search is:

<root>/index.php?q=/civicrm/profile?reset=1&gid=5

... and not

<root>/index.php?q=/civicrm/profile/view?reset=1&gid=5
(this url is for viewing a specific contact record - and should have an id=xx appended to it with the contact's ID)
Protect your investment in CiviCRM by  becoming a Member!

lorenzo

  • Guest
Re: Profile views do not reset
February 12, 2009, 02:55:38 pm
Thanks for the reply.

I used the URL

<root>/index.php?q=/civicrm/profile?reset=1&gid=5

as mentioned in the manual but had to insert a "view"

<root>/index.php?q=civicrm/profile/view?reset=1&gid=5

because the first URL does not work on my installation. In fact, if I click

<root>/index.php?q=/civicrm/profile?reset=1&gid=5

it serves me the Civi start page instead of the profile listing:

<root>/index.php?q=civicrm&reset=1

This is the case for all values of gid and for the admin user.

Can anybody please explain me what I do wrong here?


Thank you again.


« Last Edit: February 12, 2009, 03:12:09 pm by lorenzo »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profile views do not reset
February 12, 2009, 03:31:57 pm
Hi lorenzo - Best bet would be to recreate your profile as you have it configured on the public demo and see if you can recreate the issue. You should see a search form. (Make sure you have at least a few fields in the profile with "Searchable" checked.)

You should also upgrade your site to the current stable release - 2.1.4 (which might resolve your problem).
Protect your investment in CiviCRM by  becoming a Member!

lorenzo

  • Guest
Re: Profile views do not reset
February 12, 2009, 03:35:55 pm
Thanks Dave, hopefully I will post about my successes here soon :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile views do not reset

This forum was archived on 2017-11-26.