dougvann

drupal_add_css not adding css

  1. function apb_zen_preprocess_page(&$vars, $hook) {
  2.   if (drupal_is_front_page()) {
  3.     drupal_add_js(path_to_theme() .

Taxonomy

  1. <?php
  2. /**
  3.  * Prints an unordered list of the terms (as links) that are
  4.  * associated to the currently displayed node.
  5.  */
  6. if ( arg(0) == 'node' && is_numeric(arg(1)) ) {

Thene over ride for Nice_Menus to remove the text link and replace with an image

  1.         if ($mlid!='694') { //if the mlid is NOT 694 then simply use the expected text as the link-text

Code

  1. <?php
  2. // $Id$
  3. /**
  4. *Unset non-essential elements of the form add and edit pages.
  5. * Auth: Doug Vann
  6. * http://dougvann.com
  7. * http://www.twitter.com/dougvann
  8. */
Syndicate content