DrupalBin
Submit Code
About
Recent Posts
Fix for Views cumulus: tag_cloud
Fix for Code
sjfgjgjfgidfgh
Code
Code
test.berniecram.com.alias.drushrc.php
Code
provision-deploy error
Create node programmatically with file
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
drupal
Ignition proof-of-concept
August 11, 2011 - 3:59pm — Anonymous
/*
* TODO:
*
* Review this section - this is a proof-of-concept JSON managed config
* exporter.
6.x
deployment
drupal
Read more
CTools Error with Drupal 7
April 15, 2011 - 12:25pm — Anonymous
CTools CSS Cache Unable to create
The CTools CSS cache directory, ctools
/
css could not be created due to a misconfigured files directory.
7
CSS folder error
ctools
drupal
Read more
LT initial functionality test
April 11, 2011 - 11:11am — Anonymous
<?php
// $Id$
class
LoginTobogganMiscTest
extends
DrupalWebTestCase
{
/**
* Implementation of getInfo().
*/
public
static
function
getInfo
(
)
{
return
array
(
'name'
=
>
t
(
'
6.x
drupal
logintoboggan
SimpleTests
Read more
Broken Panels hook
February 16, 2011 - 12:35pm — Anonymous
function
ignition_default_page_manager_pages
(
)
{
$pages
=
array
(
)
;
dpm
(
'here'
)
;
watchdog
(
'debug'
,
t
(
'In page manager hook'
)
)
;
// Check the include directory.
$path
=
drupal_get_path
(
'mo
6.x
drupal
hook
pages
Panels
Read more
Ctools hook
February 16, 2011 - 12:28pm — Anonymous
/**
* Implementation of hook_ctools_plugin_api().
*
* If you do this, CTools will pick up default panels pages in
* <modulename>.pages_default.inc
*/
function
ignition_ctools_plugin_api
(
$mo
6.x
api
ctools
drupal
hook
Read more
Batch API on installation
January 14, 2011 - 1:08pm — Anonymous
// IN THE .install FILE:
/**
* Implementation of hook_install().
*/
function
node_to_word_stats_install
(
)
{
// Create tables.
drupal_install_schema
(
'node_to_word_stats'
)
;
// Populate
6.x
batch api
drupal
Read more
Checkmember_user
November 19, 2010 - 6:31pm — Anonymous
<?php
function
checkmember_user
(
$op
,
&
$edit
,
&
$user
,
$category
=
null
)
{
if
(
$op
==
"insert"
||
$op
==
"update"
)
{
// clear first
db_query
(
'DELETE FROM {users_roles} WHERE uid = %d'
,
drupal
hook_user
Read more
Fix for Allow HTML in node titles for Drupal 6.x
November 10, 2010 - 8:42am — Anonymous
<?php
/*
* Created 20 Apr 2009 12:07:47 by Greg Harvey
* http://www.drupaler.co.uk
*/
function
html_titles_preprocess_page
(
&
$vars
)
{
if
(
arg
(
0
)
==
'node'
&&
is_numeric
(
arg
(
1
)
)
)
{
$node
6.x
drupal
html
nodes
titles
Read more
Emfield WTF!
September 13, 2010 - 7:48am — Anonymous
/**
* the embedded flash displaying the Vimeo video
*/
function
theme_video_cck_vimeo_flash
(
$embed
,
$width
,
$height
,
$autoplay
)
{
watchdog
(
'emfield'
,
print_r
(
$embed
,
TRUE
)
)
;
$output
=
''
;
5.x
drupal
emfield
pain
Read more
Fix for XML RPC example for Drupal 6.x Services
August 26, 2010 - 11:43am — Anonymous
<?php
/**
* Function for generating a random string, used for
* generating a token for the XML-RPC session
*/
function
getUniqueCode
(
$length
=
""
)
{
$code
=
md5
(
uniqid
(
rand
(
)
,
true
)
)
;
6.x
drupal
Services
web services
xmlrpc
Read more
1
2
3
4
5
6
7
8
9
next ›
last »