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 (Moderator: Dave Greenberg) »
  • Custom Menu Option to View all Contacts with customized columns, and a BUG
Pages: [1]

Author Topic: Custom Menu Option to View all Contacts with customized columns, and a BUG  (Read 1005 times)

nolanrh

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 1.6
  • MySQL version: IDK
  • PHP version: IDK
Custom Menu Option to View all Contacts with customized columns, and a BUG
February 27, 2011, 01:38:40 pm
I'd like to do the same thing described here: http://forum.civicrm.org/index.php/topic,10199.0.html

Basically, I want a one-click menu option to do an advanced search, with a search results profile selected.

This works for all contacts:
http://DOMAIN.ca/civicrm/contact/search/advanced?force=1&qfKey=0&reset=1

I was hoping I could just add uf_group_id=11 (the profile id) to selected the appropriate search results profile, but this isn't working.

Second, I found a bug. I added a new navigation menu item via Administer --> customize --> Navigation menu, and unclicked enabled.
Now when I go back to customize Navigation Menu it hangs with "loading"...

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: Custom Menu Option to View all Contacts with customized columns, and a BUG
February 27, 2011, 08:08:39 pm

try adding "id=11"

for some strange reason we used that GET variable, rather than uf_group_id

can you reproduce the second bug on our demo server (http://drupal.demo.civicrm.org/) and let us know the steps to do so once uv'e verified it happens

thanx

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

nolanrh

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 1.6
  • MySQL version: IDK
  • PHP version: IDK
Re: Custom Menu Option to View all Contacts with customized columns, and a BUG
February 27, 2011, 10:37:06 pm
Reproduced on the demo server:

Click: Administer --> Customize --> Navigation menu

Add a new menu item, and uncheck enabled, then create.

I'd be more specific, but my installation and the demo site are currently broken because of this so I can't look up the exact steps.

Oh and id=11 worked. Sorry, it's been awhile since I did any web development it looked like that other id was the correct one.

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: Custom Menu Option to View all Contacts with customized columns, and a BUG
February 28, 2011, 12:12:15 am
Hi nolanrh,
Quote
Second, I found a bug. I added a new navigation menu item via Administer --> customize --> Navigation menu, and unclicked enabled.
Now when I go back to customize Navigation Menu it hangs with "loading"...
This was bug in CiviCRM v3.3.5 & fixed under http://issues.civicrm.org/jira/browse/CRM-7536.
Following is the patch that will help you:
https://fisheye2.atlassian.com/changelog/CiviCRM?cs=32474

Hth
Sushant
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

nolanrh

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 1.6
  • MySQL version: IDK
  • PHP version: IDK
Re: Custom Menu Option to View all Contacts with customized columns, and a BUG
February 28, 2011, 01:23:47 pm
Thanks for that.

One more question, how do you find the correct parameter to use. I'm now trying to set something else, a custom field. How do I search through the source to find the correct parameter name in the URL?

Nolan

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: Custom Menu Option to View all Contacts with customized columns, and a BUG
February 28, 2011, 07:51:37 pm

There are very few parameters that we accept via GET in the main CiviCRM code. So you cannot pass custom fields / other parameters via GET in the latest (or prior) versions of CiviCR

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Custom Menu Option to View all Contacts with customized columns, and a BUG

This forum was archived on 2017-11-26.