DrupalBin
Submit Code
About
Recent Posts
Failed relationship
7 hours 4 min
ago
Fix for Code
8 hours 18 min
ago
Fix for Code
8 hours 22 min
ago
Fix for Code
8 hours 42 min
ago
more
Tags
CCK
fapi
jquery
menu
module
Panels
php
simpletest
template.php
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
ahah
Fix for ahah add elements (array) in form
September 25, 2008 - 4:09pm — Anonymous
<?php
/**
* Menu-callback PARA JAVASCRIPT PSEUDO-AJAX
*/
function
simulador_js
(
)
{
######################################################
ahah
Read more
Changing Form Cache for AHAH manipulation
September 25, 2008 - 9:22am — 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 use ahah to do ajaxy updates on individual feeds in a translation tool.
August 4, 2008 - 12:41pm — Anonymous
// The story so far...
function
fringslate_menu
(
)
{
/*
* Lots of irrelevant menu entries
* ...and then:
*/
ahah
Read more
use ahah to do ajaxy updates on individual feeds in a translation tool.
August 4, 2008 - 10:44am — Anonymous
// The story so far...
function
fringslate_menu
(
)
{
/*
* Lots of irrelevant menu entries
* ...and then:
*/
$items
[
'strings/js'
]
=
array
(
'type'
=>
MENU_CALLBACK
,
ahah
Read more
Fix for AHAH inside replace
July 13, 2008 - 9:05am — Anonymous
original:
<div id=
"edit-scheme-wrapper"
class
=
"form-item"
>
<label
for
=
"edit-scheme"
>Color set: </label>
<select id=
"edit-scheme"
class
=
"form-select"
name=
"scheme"
>
</select>
</div>
<?php
ahah
inside
replace
Read more
AHAH inside replace
July 13, 2008 - 9:01am — Anonymous
original:
<div id=
"edit-scheme-wrapper"
class
=
"form-item"
>
<label
for
=
"edit-scheme"
>Color set: </label>
<select id=
"edit-scheme"
class
=
"form-select"
name=
"scheme"
>
</select>
</div>
<?php
ahah
inside
replace
Read more
AHAH FAPI Callback Helper
April 10, 2008 - 6:35pm —
Wim Leers
// Example usage. This is an AHAH callback function.
function
mymodule_ahah
(
)
{
// Update the form and render only the wrapper inside the "Refund Settings"
// fieldset.
ahah
drupal6
fapi
Read more
AHAH helper - not yet working
April 10, 2008 - 6:18pm —
Wim Leers
<?php
function
&ahah_helper_get_form_element
(
$form
,
$parents
)
{
// Allow $parents to be either an array of the element's parents or the name
// of an element.
ahah
drupal6
fapi
Read more
Form build array
February 13, 2008 - 7:19pm — Anonymous
["derivatives"]=>
array(4) {
["#title"]=>
string(33) "Allow modifications of your work?"
["#description"]=>
ahah
creativecommons
Read more