DrupalBin
Submit Code
About
Recent Posts
Failed relationship
7 hours 7 min
ago
Fix for Code
8 hours 21 min
ago
Fix for Code
8 hours 25 min
ago
Fix for Code
8 hours 44 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
undefined
TitleWindow draggable border
September 22, 2008 - 1:12pm — Anonymous
private
function
makeBorderDraggable
(
)
:
void
{
this
.
addEventListener
(
MouseEvent.
MOUSE_DOWN
,
function
(
event: MouseEvent
)
:
void
{
if
(
enabled
&& isPopUp
)
{
undefined
Read more
Fix for installation profile create user
August 9, 2008 - 11:53am — Anonymous
<?php
$edit
=
array
(
'name'
=>
'admin'
,
'pass'
=>
'123'
,
'init'
=>
'admin'
,
'mail'
=>
'info@website.com'
,
'status'
=>
1
)
;
user_save
(
''
,
$edit
)
;
undefined
installation profile create user
August 9, 2008 - 11:52am — Anonymous
<?php
$edit
=
array
(
'name'
=>
'admin'
,
'pass'
=>
'drop'
,
'init'
=>
'admin'
,
'mail'
=>
'info@website.com'
,
'status'
=>
1
)
;
user_save
(
''
,
$edit
)
;
undefined
Fix for Updating user_force_term from D5 to D6
July 11, 2008 - 1:00pm — Anonymous
/*
hook_user() gets called without a valid account.
Merlinofchaos suggested an empty() check but a quick test revealed that more was needed in this case.
error
notice
undefined
user_force_term
Read more
Updating user_force_term from D5 to D6
July 11, 2008 - 12:27pm — Anonymous
/*
I am in the process of updating the user_force_term module from Drupal 5 to Drupal 6.
Update seems completed except for this notice:
error
notice
undefined
user_force_term
Read more
theme own checkbox
June 6, 2008 - 4:03pm — Anonymous
function
theme_my_checkbox
(
$element
)
{
return
'<'
.
$element
[
$id
]
.
'>'
;
}
undefined
Fix for Code
April 20, 2008 - 10:54am — Anonymous
<?php
class
test
{
function
pass
(
)
{
echo
"Pass
\n
"
;
}
function
fail
(
)
{
echo
"Fail
\n
"
;
}
}
undefined
Read more
Fix for Code
April 20, 2008 - 10:39am — Anonymous
<?php
class
test
{
function
pass
(
)
{
echo
"Pass
\n
"
;
}
function
fail
(
)
{
echo
"Fail
\n
"
;
}
}
undefined
Read more
Fix for Code
April 20, 2008 - 9:59am — Anonymous
<?php
define
(
'TEST_LOAD'
,
0
)
;
define
(
'TEST_START'
,
1
)
;
define
(
'TEST_IN'
,
2
)
;
/**
* on the first call, you pass in one argument, the test array.
undefined
Read more