Commit aceac171 authored by mattwire's avatar mattwire
Browse files

Move settings to admin path so admin elements get added to HTML automatically

parent eb126875
......@@ -14,7 +14,7 @@ For having postcode lookup feature in CiviCRM backend and Front end profiles.
### Installation ###
* Install the extension manually in CiviCRM. More details [here](http://wiki.civicrm.org/confluence/display/CRMDOC/Extensions#Extensions-Installinganewextension) about installing extensions in CiviCRM.
* Configure postcode lookup provider details in Administer >> Postcode Lookup(civicrm/postcodelookup/settings?reset=1)
* Configure postcode lookup provider details in Administer >> Postcode Lookup(civicrm/admin/postcodelookup/settings?reset=1)
#### Integration with Drupal Webform
This drupal module provides integration with Drupal Webform: https://github.com/compucorp/webform_civicrm_postcode
......
......@@ -140,7 +140,7 @@ function civicrmpostcodelookup_civicrm_navigationMenu( &$params ) {
'attributes' => array (
'label' => 'Postcode Lookup',
'name' => 'Postcode Lookup',
'url' => 'civicrm/postcodelookup/settings?reset=1',
'url' => 'civicrm/admin/postcodelookup/settings?reset=1',
'permission' => 'administer CiviCRM',
'operator' => NULL,
'separator' => TRUE,
......
<?xml version="1.0"?>
<menu>
<item>
<path>civicrm/postcodelookup/settings</path>
<path>civicrm/admin/postcodelookup/settings</path>
<page_callback>CRM_Civicrmpostcodelookup_Form_Setting</page_callback>
<title>Postcode Lookup - Settings</title>
<access_arguments>administer CiviCRM</access_arguments>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment