[support] Problem getting a custom menu to display (D7)
Metzler, David
metzlerd at evergreen.edu
Thu Oct 25 20:51:45 UTC 2012
Looks like you're missing the 'type' on your second items array (the one in your foreach loop. You also might consider properly url econding the menu rather than using the str_replace() function.
Also can you verify what happens if you visit the URL directly? Do you get the page or a page not found?
Dave
-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Ken Robinson
Sent: Thursday, October 25, 2012 1:29 PM
To: support at drupal.org
Subject: [support] Problem getting a custom menu to display (D7)
I have written a menu using a custom module. I can't get it to
display on my test site. I used the menu example in the examples
module as a guideline.
My code can be seen at http://pastebin.com/VJiC5anM
I've enabled the module and I know it's being executed, since I see
the output of the dpm($items) call. I clear the cache every time I
make a change to the code. Any help would be appreciated.
Thanks in advance.
Ken
--
[ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list