DrupalBin
Submit Code
About
Recent Posts
Code
Fix for Fix for Code
Fix for Code
Code
Node type whitelist
an axe coach accessories
coach purses married
Fix for de las ghd alturas
de las ghd alturas
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
include
add JS in views hack
June 8, 2011 - 7:49am — Anonymous
// this returns an array that can be used by the #attached attribute in the style 0 => script1.js, 1 => script2.js
$includes
= galleria_includes
(
'classic'
)
;
// add this in the appropriate templa
include
javascript
views
Read more
Update function
May 5, 2009 - 2:46pm — Anonymous
function
blah_migration_update_6000
(
&
$sandbox
)
{
$ret
=
array
(
)
;
module_load_include
(
'inc'
,
'install_profile_api'
,
'core/menu'
)
;
include
install profile api
update
Read more