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
Forms
Fix for Fix for Code
April 5, 2010 - 7:38am — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
Forms
radio
Read more
Fix for Fix for Code
April 3, 2010 - 10:41pm — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
,
'ty
Forms
radio
Read more
Fix for Code
April 3, 2010 - 10:37pm — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
Forms
radio
Read more
Code
April 3, 2010 - 10:36pm — Anonymous
<?php
function
test_menu
(
)
{
$items
[
'test1'
]
=
array
(
'title'
=
>
'test1'
,
'page callback'
=
>
'drupal_get_form'
,
'page arguments'
=
>
array
(
'test_1_form'
)
Forms
radio
Read more
Hook Form Alter Module
December 5, 2009 - 1:06pm — Anonymous
<?php
/**
* Display help and module information
* @param path which path of the site we're displaying help
* @param arg array that holds the current path as would be returned from arg() function
Forms
Read more
In form alter, the required DOES work but the multiple doesn't
December 3, 2009 - 8:24am — Anonymous
function
frankp_horoscope_form
(
&
$node
)
{
$type
=
node_get_types
(
'type'
,
$node
)
;
$form
[
'taxonomy'
]
[
FRANKP_HOROSCOPE_TAXONOMY_STAR_SIGNS
]
=
taxonomy_form
(
FRANKP_HOROSCOPE_TAXONOMY_STAR_SIGNS
)
;
Forms
Read more
Fix for Fix for Example of displaying multiple checkboxes,alue selected with one v
November 30, 2009 - 7:15am —
balaji
$form
[
'option_occassions'
]
=
array
(
'#type'
=
>
'checkboxes'
,
'#title'
=
>
t
(
'Associated Occassions'
)
,
'#options'
=
>
array
(
1
=
>
"Formal"
,
2
=
>
"Social"
,
3
=
>
"Xmas"
,
4
=
>
checkboxes
fapi
Forms
Read more
Fix for Example of displaying multiple checkboxes,alue selected with one v
November 27, 2009 - 9:53am — Anonymous
$form
[
'option_occassions'
]
=
array
(
'#type'
=
>
'checkboxes'
,
'#title'
=
>
t
(
'Associated Occassions'
)
,
'#options'
=
>
array
(
1
=
>
"Formal"
,
2
=
>
"Social"
,
3
=
>
"Xmas"
,
4
=
>
checkboxes
fapi
Forms
Read more
template.php for D5 theming of UC checkout and cart
September 15, 2009 - 7:40am — Anonymous
/**
* Overriding theme_uc_cart_block_content() to hide
* TOTAL from Wholesalers
*
* Theme the shopping cart block content.
*/
function
phptemplate_uc_cart_block_content
(
)
{
global
$user
5.x
drupal
Forms
tapir
theming
ubercart
Read more
Fix for Fix for Fix for Disable a form using jQuery, then Renable with a button
July 11, 2009 - 5:01pm — Anonymous
Drupal.behaviors.enableSignupEditForm =
function
(
context
)
{
var
$button
= $
(
'#edit-update-signup'
, context
)
.click
(
enableForm
)
;
var
$form_elements
=
$button
.parents
(
'form:first'
)
.find
(
'input, tex
Forms
jquery
Read more
1
2
3
next ›
last »