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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Custom component not being recognized in 3.2
Pages: [1]

Author Topic: Custom component not being recognized in 3.2  (Read 1591 times)

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Custom component not being recognized in 3.2
December 29, 2010, 10:23:46 am
Hi
We developed a custom component for some specific payment processing issues under 3.0.3.

We have a new client currently running 3.2.1 and have encountered a few issues.

We developed the component based on the framework described here (http://wiki.civicrm.org/confluence/display/CRMDOC33/Creating+custom+components)

The code is installed and enabled. The permissions appear correctly but the menu items never get added to the menu
(even after multiple rebuilds)

the menu xml is in the xml/menu folder for the component. Here is the content:
Code: [Select]
<?xml version="1.0" encoding="iso-8859-1" ?>

<menu>
<item>
<path>civicrm/armodule/payment/add</path>
<path_arguments>action=add,cid=%%id%%</path_arguments>
<title>New Payments</title>
<page_callback>CRM_ARModule_Page_Tab</page_callback>
<access_arguments>add payment</access_arguments>
<page_type>2</page_type>
<component>ARModule</component>
</item>
<item>
<path>civicrm/armodule/batch/add</path>
<path_arguments>action=add,cid=%%id%%</path_arguments>
<title>Create Batch</title>
<page_callback>CRM_ARModule_Page_Batch</page_callback>
<access_arguments>create batch</access_arguments>
<page_type>2</page_type>
<component>ARModule</component>
</item>
<item>
<path>civicrm/armodule/file/export</path>
<path_arguments>action=add,cid=%%id%%</path_arguments>
<title>Export Transaction File</title>
<page_callback>CRM_ARModule_Form_ExportFile</page_callback>
<access_arguments>export file</access_arguments>
<page_type>2</page_type>
<component>ARModule</component>
</item>
<item>
<path>civicrm/armodule/batch/je</path>
<title>JE Summary</title>
<page_callback>CRM_ARModule_Form_Batch_JESummary</page_callback>
<component>ARModule</component>
</item>
<item>
<path>civicrm/armodule/batch/td</path>
<title>Batch Transacction Details</title>
<page_callback>CRM_ARModule_Form_Batch_TrnxDetails</page_callback>
<component>ARModule</component>
</item>
<item>
<path>civicrm/armodule/file/download</path>
<title>Export Transaction File</title>
<page_callback>CRM_ARModule_Form_DownloadFile</page_callback>
<component>ARModule</component>
</item>
<item>
<path>civicrm/armodule/accounts</path>
<title>Manage Contribution Accounts</title>
<page_callback>CRM_ARModule_Page_Accounts</page_callback>
<page_type>2</page_type>
<component>ARModule</component>
</item>
</menu>

Any ideas?
I haven't tried clearing the template cache.

Thanks
 Dave

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Custom component not being recognized in 3.2

This forum was archived on 2017-11-26.