zen

Zen default node.tpl.php 'Title' code

  1. <?php print render($title_prefix); ?>
  2.   <?php if (!$page && $title): ?>
  3.     <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
  4.   <?php endif; ?

path_to_theme() returns sites/all/themes/zen not sites/all/themes/mysubtheme

  1. // My template.php
  2.  
  3. /**
  4.  * Implementation of HOOK_theme().
  5.  */
  6. function mysubtheme_theme(&$existing, $type, $theme, $path) {
  7.   $hooks = zen_theme($existing, $type, $theme, $path);
  8.   return $hoo

page.tpl.php from www.afrixml.net/greengas

  1. <?php
  2. // $Id: page.tpl.php,v 1.18.2.1 2009/04/30 00:13:31 goba Exp $
  3. ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  4.   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  5. <html xmlns="

Zen subtheme layout-liquid.css w/o negative margins for sidebars

  1. /* $Id: layout-liquid.css,v 1.17 2009/11/05 12:09:53 johnalbin Exp $ */
  2.  
  3. /**
  4.  * @file
  5.  * Layout Styling (DIV Positioning)
  6.  *
  7.  * Define CSS classes to create a table-free, 3-column, 2-column, or

zen's theme_menu_item_link

  1. <?php
  2. /**                                                                                                  
  3.  * Implements theme_menu_item_link()                                                      

info file

  1. ; $Id: thrive_kitchen.info,v 1.13.2.1 2009/02/13 06:13:18 johnalbin Exp $
  2.  
  3.  
  4.   ; The name and description of the theme used on the admin/build/themes page.
  5. name        = Thrive Kitchen
  6. description

Zen edit_links_array as an array of arguments to pass to l()

  1.   // Display 'edit block' for custom blocks.
  2.   if ($block->module == 'block') {
  3.     $edit_link['title'] = t('edit block');

Code

  1. /**
  2.  * Implementation of hook_theme_registry_alter().
  3.  *
  4.  * Make simpleblocks' block preprocess function run *after* everything else's,

Fix for Instances of text-decoration in Zen CSS

  1. garrett@garrett-macbook] zen $ grep -rn "text-decoration" *
  2.  
  3. layout-fixed.css:66:    text-decoration: none;
  4. layout-liquid.css:57:    text-decoration: none;

Fix for Instances of text-decoration in Zen CSS

  1. garrett@garrett-macbook] zen $ grep -rn "text-decoration" *
  2.  
  3. layout-fixed.css:66:    text-decoration: none;
  4. layout-liquid.css:57:    text-decoration: none;
Syndicate content