I've modified the code thus:
$items['a_module/js/%'] = array( 'access callback' => TRUE, 'access arguments' => array(1), 'page callback' => 'a_module_search_js', 'page arguments' => array(2), 'type' => MENU_CALLBACK, );
but it still reports a 403 error.
On Wed, 2010-05-12 at 10:41 -0400, Earnie Boyd wrote:
Scott wrote:
$items['a_module/js/%'] = array( 'page callback' => 'a_module_search_js', 'page arguments' => array(2), 'type' => MENU_CALLBACK, );
You need to supply the access callback and/or access arguments. You could simply add 'access callback' => TRUE if you want everyone accessing it all the time.
-- Earnie -- http://progw.com -- http://www.for-my-kids.com