DrupalBin
Submit Code
About
Recent Posts
Problemas com o submit
Fix for extranet
extranet
Fix for drush make snippet for apachesolr library
Fix for Embedding Google Maps, use object instead of iframe with XHTML Strict
Code
Serializable closures
Closures in menu item arguments
dpr($content['field_headshot'])
Fix for Git push error
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
›
Rob Loach
›
Recent Posts
Rob Loach
View
Posts
Code
April 29, 2012 - 12:06pm —
Rob Loach
diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 6abe08a..
8929a53
100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -
2137
,
14
+
2137
,
14
@@ fun
Read more
Twig DIC
April 20, 2012 - 9:56am —
Rob Loach
drupal_container
(
)
-
>
register
(
'twig_loader'
,
'Twig_Loader_Filesystem'
)
-
>
addArgument
(
DRUPAL_ROOT .
Read more
Code
January 8, 2010 - 12:21pm —
Rob Loach
1 attachment
Clearfix
December 31, 2009 - 5:04pm —
Rob Loach
/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/
/* http://sonspring.com/journal/clearing-floats */
.clear
{
cl
Read more
Blahdsfasdvnv
October 28, 2009 - 8:41pm —
Rob Loach
$recommended_version
.=
'<div title="Major upgrade warning" class="update-major-version-warning" id="warning-'
.
$project
[
'name'
]
.
'">'
.
Read more
Test
July 31, 2009 - 4:20pm —
Rob Loach
4 attachments
jCarousel context
July 14, 2009 - 7:41pm —
Rob Loach
Index: jcarousel.js
===================================================================
RCS
file
:
/
cvs
/
drupal-contrib
/
contributions
/
modules
/
jcarousel
/
Attic
/
jcarousel.js,v
retrieving revision 1.1.2.
Read more
jCarousel Wrap
July 14, 2009 - 7:24pm —
Rob Loach
Index: jcarousel.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/jcarousel/Attic/jcarousel.js,v
retrieving revision 1.1.2.
Read more
drupal_get_library
July 2, 2009 - 7:34pm —
Rob Loach
function
drupal_get_library
(
$module
,
$name
)
{
$libraries
=
&
drupal_static
(
__FUNCTION__
,
array
(
)
)
;
// Make sure we have the libraries available from the hosting module.
if
(
!
isset
(
$libraries
Read more
Code
July 2, 2009 - 7:17pm —
Rob Loach
// Add additional CSS and JavaScript files associated with this element.
foreach
(
array
(
'css'
,
'js'
)
as
$kind
)
{
if
(
!
empty
(
$elements
[
'#attached_'
.
Read more
Foreach!
July 2, 2009 - 6:43pm —
Rob Loach
/**
* Adds multiple JavaScript or CSS files at the same time.
*
* A library defines a set of JavaScript and/or CSS files, optionally using
* settings, and optionally requiring another librar
Read more
Code
July 2, 2009 - 5:11pm —
Rob Loach
/**
* Themes are allowed to set Skinr styles in their .info files.
*
* @todo Use DB caching.
Read more
Whaat?
June 30, 2009 - 11:43pm —
Rob Loach
rob@RobLoachDesktop ~ $ ab -c 200 -n 2000 http://www.litwol.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Lice
Read more
OMGZ Regex
June 30, 2009 - 2:15pm —
Rob Loach
/**
* Test JavaScript ordering.
*/
function
testRenderOrder
(
)
{
// Add a bunch of JavaScript in strange ordering:
drupal_add_js
(
'(function($){alert("Weight 25 #1");})(jQuery);'
,
Read more
JavaScript Library Context
June 29, 2009 - 10:44am —
Rob Loach
/**
* Implementation of hook_help().
*/
function
jquery_ui_help
(
$path
,
$arg
)
{
switch
(
$path
)
{
case
'admin/help#jquery_ui'
:
$output
=
'<p>'
.
Read more
jQuery UI Behaviors
June 28, 2009 - 7:48pm —
Rob Loach
/**
* Implementation of hook_help().
*/
function
jquery_ui_help
(
$path
,
$arg
)
{
switch
(
$path
)
{
case
'admin/help#jquery_ui'
:
$output
=
'<p>'
.
Read more
Flowplayer RTMP
June 25, 2009 - 2:38pm —
Rob Loach
$url
=
$node
-
>
field_url
[
0
]
[
'value'
]
;
$config
=
array
(
'clip'
=
>
array
(
// 'autoPlay' => $autoplay,
'url'
=
>
'Michael_Berg_Limud_Parashat_Korach_20090618_Hebrew.flv'
,
Read more
Drupal NYC Meet Attendees
June 17, 2009 - 3:18pm —
Rob Loach
Christina Hall
Charles Novick
Al Schulmann
Stephen Musgrave
Andrew Levine
Bob Phelps
Benjamin Guhin
Michael Eisenstein
Charlie Gordon
Suzi Arnold
Nikki Henninger
Bruce Gordon
David Campbel
Read more
Fix for JS Weight documentation
June 9, 2009 - 2:30am —
Rob Loach
OMG TEST
!
javascript
ShareThis jQuery Plugin
April 14, 2009 - 11:29am —
Rob Loach
Moved to http://plugins.jquery.com/project/sharethis .
jquery
sharethis
1
2
3
next ›
last »