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
drupal
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
Node To Word Stats module, dev snapshot
August 17, 2010 - 12:48pm — Anonymous
<?php
// $Id$
/*
* Created by Greg Harvey on 26 Jul 2010
*
* http://www.drupaler.co.uk
*/
/**
* Helper function for returning node ID for given document
* download path.
*
* @p
6.x
drupal
module
Read more
Fix for Allow HTML in <i> node titles</i> for Drupal 6.x
July 31, 2010 - 3:23am — 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
QuickTabs live example from newteachers.tes.co.uk/qanda
July 12, 2010 - 10:14am — Anonymous
/**
* Function for building the Q&A page tabbed views.
*/
function
nqt_features_build_qanda_quicktabs
(
)
{
$quicktabs
=
array
(
)
;
// General settings.
$quicktabs
[
'ajax'
]
=
TRUE
;
$quickt
6.x
drupal
quicktabs
Read more
user.save with Drupal Services 6.x-2.2
June 28, 2010 - 7:56am — Anonymous
/*
* Now let's retrieve our user to change
*/
// set vars for this connection
$nonce
=
getUniqueCode
(
"10"
)
;
$method_name
=
'user.load'
;
$timestamp
=
(
string
)
strtotime
(
"now"
)
;
$required_args
6.x
drupal
Services
user.save
Read more
Fix for XML RPC example for Drupal 6.x Services
June 17, 2010 - 1:43pm — 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
jay
Services
web services
xmlrpc
Read more
Fix for Allow HTML in node titles for Drupal 6.x
April 8, 2010 - 11:21am — 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
Fix for Multipage User Registration
February 18, 2010 - 10:04pm —
abigoltree
<?php
/**
* Implementation of hook_menu()
*/
function
multipage_register_menu
(
)
{
$items
[
'add/user'
]
=
array
(
'title'
=
>
'Add a user'
,
'page callback'
=
>
'multipage_register_wizard'
,
'ac
drupal
form
user creation
Read more
Multipage User Registration
February 18, 2010 - 5:55pm —
abigoltree
<?php
/**
* The purpose of this module is to take the user-registration form and make it
* multipage, where the pages change depending on the options selected during
* the last step.
drupal
form
user creation
Read more
Fix for Fix for Fix for Allow HTML in node titles for Drupal 6.x
December 16, 2009 - 8:58am — 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
1
2
3
4
5
6
7
8
next ›
last »