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
database
Fix for my module is showing bug .. not sure why ..
October 8, 2009 - 10:46pm — Anonymous
By fkaufusi
Drupal
version
6:
function
user_access
(
$string
,
$account
=
NULL
,
$reset
=
FALSE
)
{
global
$user
;
static
$perm
=
array
(
)
;
if
(
$reset
)
{
$perm
=
array
(
)
;
}
i
database
error
module
permission
user hooks
Read more
Shell script for taking a copy of a remote database to your local machine.
May 29, 2009 - 3:58am — Anonymous
if [ $1 = "--help" ];
then
echo "
#########
# USAGE #
#########
Syntax for running this script is:
./devdb2localdb.sh sshuser sshdomain remotedatabaseuser databasename
database
linux
mysql
shell
Read more
Fix for settings.php database array for sharing profiles
May 21, 2009 - 7:41am — Anonymous
<?php
//usual local settings:
$db_url
=
'mysqli://username:password@localhost/my_drupal_db'
;
$db_prefix
=
array
(
'default'
=>
''
,
'profile_fields'
=>
'site1_'
,
database
drupal
profile
tables
Read more
settings.php database array for sharing profiles
May 21, 2009 - 7:29am — Anonymous
<?php
//usual local settings:
$db_url
=
'mysqli://username:password@localhost/my_drupal_db'
;
$db_prefix
=
array
(
'profile_fields'
=>
'site1_'
,
'profile_values'
=>
'site1_'
,
)
;
?>
database
drupal
profile
tables
database helper function for keyed array
February 28, 2009 - 9:58am — Anonymous
/**
* Database helper function: fetch the entire result set as a keyed array.
* The first field in the result becomes the keys.
database
Read more
Ignore Slave Server Patch
February 10, 2009 - 12:37am — Anonymous
/**
* Implementation of hook_comment_insert().
*/
function
comment_comment_insert
(
$comment
)
{
drupal_set_ignore_slave
(
)
;
}
/*
* Implementation of hook_comment_update().
*/
database
slave server
Read more
database benchmarks
August 19, 2008 - 2:05am — Anonymous
Settings:
block cache: disabled
optimize CSS: enabled
optimize JS: enabled
front page with one node.
HEAD:
====
Page cache: disabled
Requests per second: 9.77 [#/sec] (mean)
database
Read more
New DatabaseCondition
April 18, 2008 - 12:54am — Anonymous
class
DatabaseCondition implements QueryConditionInterface, Countable
{
protected
$conditions
=
array
(
)
;
protected
$arguments
=
array
(
)
;
protected
$updated
=
TRUE
;
database
Read more
Fix for my module is showing bug .. not sure why ..
March 16, 2008 - 3:41pm — Anonymous
<?php
# vim: set filetype=php expandtab tabstop=2 shiftwidth=2 autoindent smartindent:
/* TODO: add user billing address. User card information or other things may be .. */
database
error
module
permission
user hooks
Read more
Fix for my module is showing bug .. not sure why ..
March 16, 2008 - 3:01pm — Anonymous
/*
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /c/projects/click_to_call/trunk/control_interface/includes/database.inc on line 235.
database
error
module
permission
user hooks
Read more
1
2
next ›
last »