Very cool idea for a simple module that just works.

I started some initial testing and noticed that after enabling the module my main site navigation block had a bunch of blank lines in it (see attached screenshot). I've also confirmed that disabling the module causes this issue to go away.

Any ideas as to what would be the cause?

--Ben

CommentFileSizeAuthor
NavBlock.png11.93 KBBenK

Comments

klausi’s picture

Version: » 7.x-1.x-dev

Confirmed, I think that requires some tweaking in the menu_alter hook.

dave reid’s picture

      $items[$menu_path] = array(
        'page callback' => 'restws_page_callback',
        'page arguments' => array($resource),
        'access callback' => TRUE,
      );

You are missing 'type' => MENU_CALLBACK,.

klausi’s picture

Status: Active » Fixed

fago fixed that recently.

dave reid’s picture

Status: Fixed » Active

The first code chunk (line 161 of restws.module) is still missing its type declaration.

klausi’s picture

Status: Active » Fixed

Thanks, fixed.

Status: Fixed » Closed (fixed)

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