DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
Code
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
taxonomy
test
theme
views
more tags
Home
D5
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
Fix for Add more options to weight form element
March 2, 2010 - 6:12am —
David Thomas
/**
* Implementation of hook_elements().
*/
function
example_elements
(
)
{
// add our process function to weight type element
$type
=
array
(
)
;
$type
[
'weight'
]
[
'#process'
]
=
array
(
'example
D5
drupal 5
Read more
Add more options to weight form element
March 2, 2010 - 6:11am —
David Thomas
/**
* Implementation of hook_elements().
*/
function
example_elements
(
)
{
// add our process function to weight type element
$type
=
array
(
)
;
$type
[
'weight'
]
[
'#process'
]
=
array
(
'resourc
D5
drupal 5
Read more
views table theming function
December 4, 2008 - 11:39am — Anonymous
/**
* Display the nodes of a view as a table.
*/
function
theme_views_view_table
(
$view
,
$nodes
,
$type
)
{
$fields
= _views_get_fields
(
)
;
foreach
(
$nodes
as
$node
)
{
$row
=
array
(
)
;
D5
theming
views
Read more
file_copy to remote site
July 14, 2008 - 6:58am —
amitaibu
/**
* Copy a file from one site to another.
*
* Error I get "The selected file files/Snap1.png could not be uploaded, because the destination is not properly configured."
*/
D5
Read more
cck variables get printed as null in Drupal 5 view
June 10, 2008 - 5:57am — Anonymous
//in template.php----------------------------
function
phptemplate_views_view_list_promotion_box
(
$view
,
$nodes
,
$type
)
{
/*
$fields = _views_get_fields();
CCK
D5
views
Read more