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
hierarchical-select
POST response from Firebug Console
July 23, 2010 - 7:27pm — Anonymous
<!
-- Using Krumo Skin: skins
/
orange
/
skin.css --
>
<
style type=
"text/css"
>
<!
--
/**/
/**
* Krumo "Orange" Skin
*
* @version $Id: skin.css,v 1.1.2.2 2008/06/03 20:36:05 weitzman Exp $
* @author Kal
hierarchical-select
Read more
Fix for Fix for jQuery Form Plugin's POST is incorrect
February 7, 2010 - 3:44pm — Anonymous
// $_POST after browser form submit:
Array
(
[title] =>
[taxonomy] => Array
(
[1] => Array
(
[hierarchical_select] => Array
hierarchical-select
jquery
Read more
Fix for jQuery Form Plugin's POST is incorrect
February 7, 2010 - 3:43pm — Anonymous
// $_POST after browser form submit:
Array
(
[title] =>
[taxonomy] => Array
(
[1] => Array
(
[hierarchical_select] => Array
hierarchical-select
jquery
Read more
Fix for AHAH callback in Drupal 5
July 16, 2009 - 10:40am — Anonymous
<?php
/**
* Menu callback; format=text/json; generates and outputs the appropriate HTML.
*/
function
hierarchical_select_json
(
)
{
// We are returning Javascript, so tell the browser.
hierarchical-select
Read more
Initial code for new HS implementation: hs_smallhierarchy (or has somebody got a better name?)
February 15, 2009 - 2:22pm —
Wim Leers
/**
* Automatically transform a given hierarchy with this format:
* array(
* 'win' => array(
* 'label' => 'Windows',
* 'children' => array(
hierarchical-select
Read more
Code
November 30, 2008 - 8:21pm —
Wim Leers
/**
* Helper function to reconstruct the lineages given a set of selected items
* and the fact that the "save lineage" setting is enabled.
*
hierarchical-select
Read more
The Most Monstrous Function Ever
November 30, 2008 - 8:19pm —
Wim Leers
/**
* Hierarchical select form element type #process callback.
*/
function
hierarchical_select_process
(
$element
)
{
static
$hsid
;
if
(
!
isset
(
$hsid
)
)
{
$hsid
=
0
;
}
else
{
hierarchical-select
Read more
HS demo cleanup
September 19, 2008 - 9:42am — Anonymous
/**
* Implementation of hook_cron().
*/
function
hsdemo_cron
(
)
{
$last_cleanup
=
variable_get
(
'hsdemo_last_cleanup'
, 0
)
;
$delta
=
7200
;
// 2 hours.
hierarchical-select
Read more
With inline comments this time!
September 18, 2008 - 8:20am —
Wim Leers
/**
* Definition of our hierarchy.
*/
function
hs_tutorial_hierarchy
(
)
{
static
$internal_hierarchy
;
// The user-visible hierarchy. Only defines labels. Has 3 levels.
hierarchical-select
Read more
Code
September 18, 2008 - 8:08am —
Wim Leers
/**
* Definition of our hierarchy.
*/
function
hs_tutorial_hierarchy
(
)
{
static
$internal_hierarchy
;
// The user-visible hierarchy. Only defines labels. Has 3 levels.
hierarchical-select
Read more
1
2
next ›
last »