DrupalBin
Submit Code
About
Recent Posts
httpd.conf file
Code
Fix for Close button for views
Close button for views
Code
Code
Code
results
hook_view and hook_insert
KITTENS ZOMG
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
Panels
simpletest
test
theme
user
views
more tags
Home
Forms
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
Fix for Fix for Disable a form using jQuery, then Renable with a button
July 11, 2009 - 4:59pm — 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
Trouble with default values on form fields within fieldsets
February 2, 2009 - 9:32am — Anonymous
/* Only pasted the revelant code here for readability */
class
views_accordion_style_plugin
extends
views_plugin_style
{
/**
* Set default options
*/
function
option_definition
(
)
{
fieldsets
Forms
views
Read more
Fix for Disable a form using jQuery, then Renable with a button
January 21, 2009 - 11:36pm — Anonymous
Drupal.
behaviors
.
enableSignupEditForm
=
function
(
context
)
{
var
$button
=
$
(
'#edit-update-signup'
,
context
)
.
click
(
changeValues
)
;
var
$form
=
$button.
parents
(
'form:first'
)
;
Forms
jquery
Read more
Fix for Disable a form using jQuery, then Renable with a button
January 21, 2009 - 11:34pm — Anonymous
Drupal.
behaviors
.
enableSignupEditForm
=
function
(
context
)
{
var
$button
=
$
(
'#edit-update-signup'
,
context
)
.
click
(
changeValues
)
;
Forms
jquery
Read more
1
2
3
next ›
last »