DrupalBin
Submit Code
About
Recent Posts
Fix for Allow HTML in <i> node titles</i> for Drupal 6.x
Template Pre-proccessing
Testing Ubercart donation product
dave's menu screenshot
Code
Modify user profile page theme
Modify user profile page
Fix for Fix for Code
Fix for Code
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
test
theme
user
views
more tags
Home
dougvann
drupal_add_css not adding css
June 23, 2009 - 12:21pm — Anonymous
function
apb_zen_preprocess_page
(
&
$vars
,
$hook
)
{
if
(
drupal_is_front_page
(
)
)
{
drupal_add_js
(
path_to_theme
(
)
.
css
dougvann
drupal_add_css
Read more
Taxonomy
May 23, 2009 - 10:48am — Anonymous
<?php
/**
* Prints an unordered list of the terms (as links) that are
* associated to the currently displayed node.
*/
if
(
arg
(
0
)
==
'node'
&&
is_numeric
(
arg
(
1
)
)
)
{
array
dougvann
taxonomy
Read more
Thene over ride for Nice_Menus to remove the text link and replace with an image
May 12, 2009 - 2:29pm — Anonymous
if
(
$mlid
!
=
'694'
)
{
//if the mlid is NOT 694 then simply use the expected text as the link-text
dougvann
drupal
nice menus
theme
theming
Read more
Code
March 25, 2009 - 4:39pm — Anonymous
<?php
// $Id$
/**
*Unset non-essential elements of the form add and edit pages.
* Auth: Doug Vann
* http://dougvann.com
* http://www.twitter.com/dougvann
*/
admin_edit
custom module
dougvann
hook_form_alter
usability
Read more