DrupalBin
Submit Code
About
Recent Posts
TwitterFeed for D4D review
text
rewrite
Module to overrule the save settings of the "new node" form
Code
apidoc
Empty DateTime Object
Fix for listcars_manufacturer.module
listcars_manufacturer.info
listcars_manufacturer.module
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
test
theme
user
views
more tags
Home
menu
Wrap links in span tags
August 13, 2010 - 3:58pm — Anonymous
function
THEMENAME_links
(
$links
,
$attributes
=
array
(
'class'
=
>
'links'
)
)
{
global
$language
;
$output
=
''
;
if
(
isset
(
$attributes
[
'add_span'
]
)
)
{
$span_class
=
$attributes
[
'add_span'
]
;
menu
menu links
span
Read more
Fix for expanded menu overide for set MID - needs to collapse MID properly when not ative
June 25, 2010 - 10:14am — Anonymous
/**
* Implementation of theme_menu_item().
* Add active class and custom id to current menu item links.
*/
function
zen_menu_item
(
$mid
,
$children
=
''
,
$leaf
=
TRUE
)
{
// store a list of the me
expanded
menu
Read more
expanded menu overide for set MID - needs to collapse MID properly when not ative
June 25, 2010 - 9:15am — Anonymous
/**
* Implementation of theme_menu_item().
* Add active class and custom id to current menu item links.
*/
function
zen_menu_item
(
$mid
,
$children
=
''
,
$leaf
=
TRUE
)
{
// store a list of the me
expanded
menu
Read more
Fix for Fix for expanded menu overide for set MID
June 23, 2010 - 8:50am — Anonymous
/**
* Implementation of theme_menu_item().
* Add active class and custom id to current menu item links.
*/
function
zen_menu_item
(
$mid
,
$children
=
''
,
$leaf
=
TRUE
)
{
$item
=
menu_get_item
(
$mi
D5
expanded
menu
Read more
Fix for expanded menu overide for set MID
June 23, 2010 - 8:15am — Anonymous
/**
* Implementation of theme_menu_item().
* Add active class and custom id to current menu item links.
*/
function
zen_menu_item
(
$mid
,
$children
=
''
,
$leaf
=
TRUE
)
{
$item
=
menu_get_item
(
$mi
D5
expanded
menu
Read more
expanded menu overide for set MID
June 23, 2010 - 7:36am — Anonymous
/**
* Implementation of theme_menu_item().
* Add active class and custom id to current menu item links.
*/
function
zen_menu_item
(
$mid
,
$children
=
''
,
$leaf
=
TRUE
)
{
$item
=
menu_get_item
(
$mi
D5
expanded
menu
Read more
Tirando links dos pais no menu
May 20, 2010 - 9:30am — Anonymous
<?php
function
seutema_menu_item_link
(
$link
)
{
if
(
empty
(
$link
[
'localized_options'
]
)
)
{
$link
[
'localized_options'
]
=
array
(
)
;
}
if
(
$link
[
'has_children'
]
)
{
return
$link
[
'title
hook_menu_item_link
menu
Read more
theme menu
May 17, 2010 - 10:29am — Anonymous
/**
* Implements theme_menu_item_link()
*/
function
garland_menu_item_link
(
$link
)
{
if
(
empty
(
$link
[
'localized_options'
]
)
)
{
$link
[
'localized_options'
]
=
array
(
)
;
}
// If an item
menu
Read more
Adding tab
November 16, 2009 - 8:05am — Anonymous
function
uc_deliverynote_menu_alter
(
&
$items
)
{
$items
[
'admin/store/orders/%uc_order/deliverynote'
]
=
array
(
'page callback'
=
>
'uc_deliverynote_report'
,
'access arguments'
=
>
array
(
'view al
menu
tab
ubercart
Read more
Hide title for pages in the primary links menu
August 25, 2009 - 11:34am —
mongolito404
/**
* Hide the title of the page if there is an entry for its path in the primary-menu (at any depth).
* Usefull when primary links use huge font, to avoid repeating the same information on screen.
*
menu
primary-links
theme
Read more
1
2
3
4
5
6
7
next ›
last »