I just upgraded YUI to 5.x-2.4-rc1, and there's no longer a settings form for the YUI common controls. This worked in the previous release.

Comments

Steve Dondley’s picture

Ditto.

Steve Dondley’s picture

Looks to me like d5 module is using d6 api for hook_menu. Sigh.

Here's what it should look like


function yui_menu() {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/yui',
      'title' => 'YUI Common Settings',
      'description' => 'YUI Description',
      'callback' => 'drupal_get_form',
      'callback arguments' => array('yui_admin'),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );  
  }

  return $items;
}

Steve Dondley’s picture

Oops, forgot the function args. first line should look like this:

function yui_menu($may_cache) {

bakyildiz’s picture

Assigned: Unassigned » bakyildiz
Status: Active » Fixed

Many thanks. Had a version mismatch. Should be fixed on rc2.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.