Closed (fixed)
Project:
Article
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Sep 2006 at 14:57 UTC
Updated:
29 Jan 2007 at 23:19 UTC
In cvs 4.7 settings function is
function article_menu($may_cache) {
$items = array();
$items[] = array('path' => 'article', 'title' => t('Article listings'), 'callback' => 'article_page', 'access' => user_access('access content'), 'type' => MENU_CALLBACK);
return $items;
}
Changed it to
function article_menu($may_cache) {
$items = array();
$items[] = array('path' => 'article', 'title' => t('Article listings'), 'callback' => 'drupal_get_form','callback arguements' => 'article_page', 'access' => user_access('access content'), 'type' => MENU_NORMAL_ITEM);
return $items;
}
Still having problems accessing the settings part on 5.0 code freeze but that's probably just my learning curve
Comments
Comment #1
ctmattice1 commentedAbove Patch doesn't work. It should be
Also in the function artilce_setting the last line of code reads
Should be
Comment #2
msameer commented5.0 version released. Will mark this as fixed. Thanks.
Comment #3
msameer commented