DrupalBin
Submit Code
About
Recent Posts
Code
1 hour 16 min
ago
Code
13 hours 16 min
ago
scrollbox.js
17 hours 36 min
ago
imagefield_gallery_scrollbox.module
17 hours 37 min
ago
more
Tags
CCK
drupal
fapi
javascript
jquery
menu
module
Panels
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
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
adding menu item under my account doesnt work
January 15, 2008 - 4:54pm — Anonymous
$items
[
'user/%user/xxx'
]
=
array
(
'title'
=>
'feffeef'
,
'page callback'
=>
'gallery_overview_page'
,
'page arguments'
=>
array
(
1
)
,
'access arguments'
=>
array
(
'administer image gallery'
)
,
menu
my account
Read more
Doesn't rename menu items
January 8, 2008 - 5:45pm — Anonymous
function
aic_menu
(
$may_cache
)
{
$items
=
array
(
)
;
if
(
$may_cache
)
{
}
else
{
// Rename the user/view and user/edit tabs. I hope this works. :-)
menu
Read more
1
2
next ›
last »