<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/theme</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 09 Jul 2008 04:48:13 GMT</pubDate>
<item>
<title>(PHP) My Wordpress Archives Page - kristin</title>
<link>http://snipplr.com/view/6635/my-wordpress-archives-page/</link>
<description><![CDATA[ <p>The code for my wordpress Archives page, there have been a few people who asked how I did it.</p> ]]></description>
<pubDate>Tue, 10 Jun 2008 00:34:30 GMT</pubDate>
<guid>http://snipplr.com/view/6635/my-wordpress-archives-page/</guid>
</item>
<item>
<title>(PHP) Allow per-region template overrides. - berkes</title>
<link>http://snipplr.com/view/5042/allow-perregion-template-overrides/</link>
<description><![CDATA[ <p>A per-region override. 
ogt_blocks is ran for a region, if a region contains blocks, we search for a theme function named theme_region_regionname(). If exists, we run that, else we just return the concatenated blocks for that region.</p> ]]></description>
<pubDate>Wed, 13 Feb 2008 09:18:37 GMT</pubDate>
<guid>http://snipplr.com/view/5042/allow-perregion-template-overrides/</guid>
</item>
<item>
<title>(PHP) Override specific links in theme_links based on their class. - berkes</title>
<link>http://snipplr.com/view/4560/override-specific-links-in-themelinks-based-on-their-class/</link>
<description><![CDATA[ <p>Place the first function, phptemplate_links() in your template.php file. Alternatively (and IMO better) is to name the function your_theme_name_links() where your_theme_name is the name of your theme.

From here on, you can add theme functions like your_theme_name_links_comment_add(), whom will render the specific links with the comment_add class.</p> ]]></description>
<pubDate>Mon, 14 Jan 2008 09:44:47 GMT</pubDate>
<guid>http://snipplr.com/view/4560/override-specific-links-in-themelinks-based-on-their-class/</guid>
</item>
<item>
<title>(PHP) Drupal - Unset (not include) all core stylesheets - Theme variable overrides. - berkes</title>
<link>http://snipplr.com/view/3756/drupal--unset-not-include-all-core-stylesheets--theme-variable-overrides/</link>
<description><![CDATA[ <p>Removes the core, and node styles from the $style variable. 

You most morbably already defined _phptemplate_variables($hook, $vars), in that case just add the two lines there.
_sympal_theme.. is the name of the theme where we use this.</p> ]]></description>
<pubDate>Fri, 21 Sep 2007 09:27:05 GMT</pubDate>
<guid>http://snipplr.com/view/3756/drupal--unset-not-include-all-core-stylesheets--theme-variable-overrides/</guid>
</item>
<item>
<title>(PHP) Drupal - Shorten a string - general API - berkes</title>
<link>http://snipplr.com/view/3647/drupal--shorten-a-string--general-api/</link>
<description><![CDATA[ <p>Shortens a string, and adds a span with a title of the full string. 
Function is useful for listings where you don't want wraping; or for places where a long string liek a username can break the layout.</p> ]]></description>
<pubDate>Fri, 07 Sep 2007 09:05:02 GMT</pubDate>
<guid>http://snipplr.com/view/3647/drupal--shorten-a-string--general-api/</guid>
</item>
<item>
<title>(PHP) Drupal - Theme table with columstriping - berkes</title>
<link>http://snipplr.com/view/3607/drupal--theme-table-with-columstriping/</link>
<description><![CDATA[ <p>This snipped adds columnstriping to cells. It works fine for most cases, but will behave strange when combined with colspan. 
Cells get an additional class 'even-col'  or 'odd-col'</p> ]]></description>
<pubDate>Thu, 30 Aug 2007 11:49:19 GMT</pubDate>
<guid>http://snipplr.com/view/3607/drupal--theme-table-with-columstriping/</guid>
</item>
<item>
<title>(PHP) Put classes around your body - berkes</title>
<link>http://snipplr.com/view/3423/put-classes-around-your-body/</link>
<description><![CDATA[ <p>Put classes around your bodyy, to allow different colors for seperate pages and areas on your site.
IT will simply add a css-safe version of the first argument in an url. Say the url is /about_us/our_company the class will be
body.about-us
Requires phptemplate</p> ]]></description>
<pubDate>Mon, 30 Jul 2007 12:48:46 GMT</pubDate>
<guid>http://snipplr.com/view/3423/put-classes-around-your-body/</guid>
</item>
<item>
<title>(PHP) link images to their own node. - berkes</title>
<link>http://snipplr.com/view/2306/link-images-to-their-own-node/</link>
<description><![CDATA[ <p>This snippet is for use with image module, a small contributed module for image handling. (Yes: in Drupal you need a /contributed/ module for this o_O.

The template snippet  links the images to their own node.</p> ]]></description>
<pubDate>Mon, 12 Mar 2007 11:30:43 GMT</pubDate>
<guid>http://snipplr.com/view/2306/link-images-to-their-own-node/</guid>
</item>
</channel>
</rss>