DrupalBin
Submit Code
About
Recent Posts
Code
1 hour 46 min
ago
weird filefield with mp3 embed object
2 hours 2 min
ago
D6 FAPI Examples
2 hours 30 min
ago
returning to the same code a second time doesn't have the $form_values argument set
6 hours 50 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
security scanner
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
menu
Menu tasks
August 14, 2008 - 9:23am —
Wim Leers
// I want local tasks to appear… but it doesn't seem to be working very reliably!
// This works.
$items
[
'admin/subscriptions'
]
=
array
(
'title'
=>
'Mollom subscriptions'
,
menu
Read more
menu for stella
July 9, 2008 - 10:59am — Anonymous
function
meetings_menu
(
$may_cache
)
{
$items
=
array
(
)
;
if
(
$may_cache
)
{
$items
[
]
=
array
(
'path'
=>
'admin/vvmodules'
,
'title'
=>
t
(
'VidaVia Modules'
)
,
menu
Read more
hook_menu implementation which throws errors
June 29, 2008 - 5:27pm — Anonymous
function
comment_revisions_menu
(
)
{
$items
=
array
(
)
;
$items
[
'admin/settings/commentrevisions'
]
=
array
(
'title'
=>
'GB Comment Revisions settings'
,
Drupal 6
menu
Read more
Implementation of hook_menu question
June 29, 2008 - 7:09am — Anonymous
function
bd_menu
(
)
{
$items
[
'bd/foo'
]
=
array
(
'title'
=>
'Foo'
,
'page callback'
=>
'bd_foo'
,
'access arguments'
=>
array
(
'view birthdays'
)
,
'type'
=>
MENU_CALLBACK
,
)
;
menu
Read more
Can't map tab to function callback
June 19, 2008 - 6:56pm — Anonymous
$items
[
'admin/settings/gmapper/add'
]
=
array
(
'title'
=>
t
(
'Add Map'
)
,
'description'
=>
t
(
'Add An Empty Map'
)
,
'callback'
=>
'add_empty_map'
,
menu
tab
Read more
IE Destroyer hook_menu()
June 8, 2008 - 1:20pm —
Xano
/**
* Implementation of hook_menu()
*/
function
iedestroyer_menu
(
$may_cache
)
{
if
(
$may_cache
==
TRUE
)
{
return
array
(
'path'
=>
'admin/settings/iedestroyer'
,
menu
Read more
%crmapi_section doesn't get passed to form function
June 1, 2008 - 6:05pm — Anonymous
function
crmapi_menu
(
)
{
$items
=
array
(
)
;
$items
[
'crmapi/%crmapi_section'
]
=
array
(
'title callback'
=>
'crmapi_title'
,
'title arguments'
=>
array
(
1
)
,
Drupal 6
Forms
menu
Read more
white screen in Drupal 6
April 30, 2008 - 8:04pm — Anonymous
/**
* Implementation of hook_menu().
*/
function
letters_menu
(
$may_cache
)
{
$items
=
array
(
)
;
$items
[
'letter'
]
=
array
(
'path'
=> ,
menu
Read more
this is my user_queue_member.module file,
April 5, 2008 - 3:23am — Anonymous
<?php
# vim: set filetype=php expandtab tabstop=2 shiftwidth=2 autoindent smartindent:
/*
menu
Read more
Why this menu disables my left sidebar?
February 5, 2008 - 3:33pm — Anonymous
function
partners_menu
(
$may_cache
)
{
//$items = array();
$access_config
=
user_access
(
'administer site configuration'
)
;
$access_content
=
user_access
(
'access content'
)
;
if
(
$may_cache
)
{
menu
Read more
1
2
next ›
last »