2

How do you add a CiviCRM query link such as:

index.php?q=civicrm/member/search&force=1&qfKey=0&reset=1

Into a Drupal main menu with Clean URLs enabled?

With Clean URLs enabled, Drupal will strip out the ?q=, breaking the link.

Desired outcome: Drupal main menu. Menu item "Members". URL to "civicrm/member/search&force=1&qfKey=0&reset=1"

2

You can find further info here, but I'd recommend setting up a Redirect (using this module) and using that URL in the menu. For example, the redirect URL could be member/search and then it redirects to civicrm/member/search&force=1&qfKey=0&reset=1.

2

You could also use "/civicrm/member/search&force=1&qfKey=0&reset=1" in the link? That should work too.

  • I find that when I enter that into the path I receive the following error - "The path '/civicrm/member/search&force=1&qfKey=0&reset=1' is either invalid or you do not have access to it". While Laryn's solution works as desired. Thanks Parvez. – CuriousGeorge Jun 12 '15 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.