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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Turn off Find Contacts, Advanced Search and Search Builder Tabs
Pages: [1]

Author Topic: Turn off Find Contacts, Advanced Search and Search Builder Tabs  (Read 1997 times)

sm@tacs.org

  • Guest
Turn off Find Contacts, Advanced Search and Search Builder Tabs
November 05, 2008, 12:41:26 pm
I have created a Custom Search form for use in a public page, listing only certain contact information.  All is working well, but I do not want the public to be able to access the "Find Contacts", "Advanced Search" and "Search Builder" tabs on this form.

There does not appear to be a "switch" I can turn on or off in the tpl files, or in the php file.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Turn off Find Contacts, Advanced Search and Search Builder Tabs
November 05, 2008, 03:52:04 pm
There is no interface to do this. You will have to manually hack the code.
You can edit templates/Menu/Contact.xml, and remove basic, advanced and search builder. Then do menu rebuild; http://....../civicrm/menu/rebuild?reset=1

Since your forum profile is not updated with CiviCRM version, i am assuming you are using CiviCRM v2.1

HTH

Kurund
Found this reply helpful? Support CiviCRM

sm@tacs.org

  • Guest
Re: Turn off Find Contacts, Advanced Search and Search Builder Tabs
November 06, 2008, 08:40:34 am
We have version 2.0.1

If I make this change, will it affect all searches?  I only want to affect the public search/listing screen that I created.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Turn off Find Contacts, Advanced Search and Search Builder Tabs
November 06, 2008, 11:38:58 am
I guess for CiviCRM v2.1 you will have to modify CRM/Core/Menu.php

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Turn off Find Contacts, Advanced Search and Search Builder Tabs

This forum was archived on 2017-11-26.