DrupalBin
Submit Code
About
Recent Posts
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
Проверка
Code
$item['title'] = $item['title'];
Loading specific field
expire give non-aliased paths
Fix for 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
ahah
Fix for Changing Form Cache for AHAH manipulation
November 4, 2011 - 3:17pm — Anonymous
function
ehu_photos_js
(
)
{
$cache
=
cache_get
(
'form_'
.
ahah
cache
module
Read more
Fix for Changing Form Cache for AHAH manipulation
November 4, 2011 - 3:16pm — Anonymous
function
ehu_photos_js
(
)
{
$cache
=
cache_get
(
'form_'
.
$_POST
[
'form_build_id'
]
,
'cache_form'
)
;
$node
=
(
object
)
$_POST
;
$form
=
$cache
-
>
data
;
$form_state
=
array
(
'values'
=
>
$_POST
)
;
ahah
cache
module
Read more
Fix for Fix for Overriding ahah success function to alter Drupal.settings
May 28, 2011 - 2:02pm — Anonymous
(
function
(
$
)
{
if
(
Drupal.jsEnabled
)
{
$
(
document
)
.ready
(
function
(
)
{
if
(
Drupal.ahah
!
= undefined
)
{
insert
(
cucumber
)
.into
(
beaver
)
;
/**
* Override of Drupal.ahah.pro
ahah
Read more
Fix for Overriding ahah success function to alter Drupal.settings
May 4, 2010 - 1:35pm — Anonymous
(
function
(
$
)
{
if
(
Drupal.jsEnabled
)
{
$
(
document
)
.ready
(
function
(
)
{
if
(
Drupal.ahah
!
= undefined
)
{
insert
(
cucumber
)
.into
(
beaver
)
;
/**
* Override of Drupal.ahah.pro
ahah
Read more
Fix for Overriding ahah success function to alter Drupal.settings
January 27, 2010 - 10:38pm — Anonymous
(
function
(
$
)
{
if
(
Drupal.jsEnabled
)
{
$
(
document
)
.ready
(
function
(
)
{
if
(
Drupal.ahah
!
= undefined
)
{
/**
* Override of Drupal.ahah.prototype.success.
ahah
Read more
Fixed AHAH Wysiwyg integration
January 17, 2010 - 9:50pm — Anonymous
// $Id$
/*
This version works when the #ahah element is a button.
Drupal passes the button name and value to .ajaxSubmit
but when we re-serialize the form that data is lost so we
need to ad
ahah
Drupal 6
wysiwyg
Read more
Fix for AJAX/AHAH event handlers for Wysiwyg integration in D6
January 17, 2010 - 8:47pm — Anonymous
// $Id$
/*
drupal_add_js(this_file) on the form for which this is needed.
Customize the CHANGE ME parts to deal with the relevant fields.
*/
/*
* Attach AJAX/AHAH event handlers for Wys
ahah
Drupal 6
wysiwyg
Read more
AJAX/AHAH event handlers for Wysiwyg integration in D6
January 17, 2010 - 8:41pm — Anonymous
// $Id$
/*
drupal_add_js(this_file) on the form for which this is needed.
Customize the CHANGE ME parts to deal with the relevant fields.
*/
/*
* Attach AJAX/AHAH event handlers for Wys
ahah
Drupal 6
wysiwyg
Read more
Fix for Code
June 5, 2009 - 10:22am — Anonymous
<?php
/**
* Implementation of hook_form_alter().
* @see http://api.drupal.org/api/function/hook_form_alter
* We add a few custom fields to the default Drupal contact form
*/
ahah
Read more
Code
June 5, 2009 - 9:20am — Anonymous
<?php
function
hookContact_menu
(
)
{
$items
[
'contact/js/addInfos'
]
=
array
(
'page callback'
=
>
'hookContact_addInfos'
,
'type'
=
>
MENU_CALLBACK
,
'access callback'
=
>
TRUE
,
)
;
ahah
Read more
1
2
3
next ›
last »