<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.kinetasystems.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Themes</title>
 <link>http://www.kinetasystems.com/blog/tags/themes</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Quick theme tip: abusing Drupal&#039;s $mission variable</title>
 <link>http://www.kinetasystems.com/blog/quick-theme-tip-abusing-drupals-mission-variable</link>
 <description>	&lt;p&gt;
Just a quick tip for an extra, more accessible theming variable. I have personally found that on nearly all the sites I&amp;#8217;ve built, &lt;strong&gt;I&amp;#8217;ve never had a use for the Mission variable.&lt;/strong&gt; So it struck me that I could probably use this field to output something else; something relevant to the general workings of the site, for sure though.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/quick-theme-tip-abusing-drupals-mission-variable&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/quick-theme-tip-abusing-drupals-mission-variable#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <category domain="http://www.kinetasystems.com/blog/tags/themes">Themes</category>
 <pubDate>Wed, 09 Apr 2008 07:20:45 -0400</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">87 at http://www.kinetasystems.com</guid>
</item>
<item>
 <title>Three tips for comment theming in Drupal</title>
 <link>http://www.kinetasystems.com/blog/three-tips-for-comment-theming-in-drupal</link>
 <description>	&lt;p&gt;
Today I&amp;#8217;m just demonstrating a few simple theme adjustments to comments. Comments in Drupal 5 are &amp;#8220;not sexy&amp;#8221;, out of the box, so in this short post I&amp;#8217;m going to illustrate how to:&lt;/p&gt;

	&lt;ul&gt;
		&lt;li&gt;change the text on &amp;#8220;submitted&amp;#8221; lines in comments (just a little)&lt;/li&gt;
		&lt;li&gt;add nofollow to username links &amp;#8211; unless you&amp;#8217;re feeling generous&lt;/li&gt;
	&lt;/ul&gt;
	&lt;ul&gt;
		&lt;li&gt;remove the &amp;#8220;not verified&amp;#8221; marker from anonymous users&lt;/li&gt;
	&lt;/ul&gt;

&lt;?php
// change the &quot;submitted by&quot; text to &quot;posted by&quot;
// note that you can alter the date display too, by changing the way 
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/three-tips-for-comment-theming-in-drupal&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/three-tips-for-comment-theming-in-drupal#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/php">PHP</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <category domain="http://www.kinetasystems.com/blog/tags/seo">SEO</category>
 <category domain="http://www.kinetasystems.com/blog/tags/themes">Themes</category>
 <pubDate>Wed, 26 Mar 2008 06:09:30 -0400</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">82 at http://www.kinetasystems.com</guid>
</item>
<item>
 <title>Theming the $links variable in Drupal nodes</title>
 <link>http://www.kinetasystems.com/blog/theming-the-links-variable-in-drupal-nodes</link>
 <description>	&lt;p&gt;This snippet of code gives a brief example of how to rewrite components of the $links variable to make them prettier :) Specifically, here I&amp;#8217;m overwriting the link generated by the &lt;a href=&quot;http://drupal.org/project/forward&quot;&gt;Forward module.&lt;/a&gt; You can see the result below: the little envelope icon labelled &amp;#8220;Email&amp;#8221;. Normally, this would just say &amp;#8220;Forward this page&amp;#8221;, which is a bit&amp;#8230; well, it could be better. Obviously, it&amp;#8217;s nice to be able to change these things to taste.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/theming-the-links-variable-in-drupal-nodes&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/theming-the-links-variable-in-drupal-nodes#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/modules">Modules</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <category domain="http://www.kinetasystems.com/blog/tags/themes">Themes</category>
 <pubDate>Wed, 27 Feb 2008 21:05:47 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">55 at http://www.kinetasystems.com</guid>
</item>
<item>
 <title>Adding website section images in Drupal themes</title>
 <link>http://www.kinetasystems.com/blog/adding-website-section-images-in-drupal-themes</link>
 <description>	&lt;p&gt;Quite frequently I&amp;#8217;ve been asked about putting images into site &amp;#8220;sections&amp;#8221;, depending on path or menu trail. Look up, that &amp;#8220;Blog&amp;#8221; image is what I&amp;#8217;m talking about. It&amp;#8217;s on all blog related pages. So, here goes &amp;#8211; it&amp;#8217;s nice to be able to finally offer this information here.&lt;/p&gt;

	&lt;p&gt;The first main chunk of code attempts to get a menu item and build an image link from that. The second chunk assumes failure of the first and tries again using a partial path method. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/adding-website-section-images-in-drupal-themes&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/adding-website-section-images-in-drupal-themes#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/php">PHP</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <category domain="http://www.kinetasystems.com/blog/tags/themes">Themes</category>
 <pubDate>Sat, 23 Feb 2008 14:06:26 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">67 at http://www.kinetasystems.com</guid>
</item>
<item>
 <title>Where do I create PHPTemplate variables in Drupal theming?</title>
 <link>http://www.kinetasystems.com/blog/where-do-i-create-phptemplate-variables-in-drupal-theming</link>
 <description>	&lt;p&gt;Here&amp;#8217;s some code, which you can put into your template.php file. It demonstrates how to insert code into that file, so you can make new variables available to page, node and comment template files. Examples of where this is useful are shown in the snippet below.&lt;/p&gt;
&lt;?php
function _phptemplate_variables($hook, $vars = array()) {
  switch ($hook) {
    case &#039;page&#039;:
      // code relating to variables for page templates here
      // EXAMPLE - is the current user logged in?
      $vars[&#039;logged_in&#039;] = ($user-&gt;uid &gt; 0) ? TRUE : FALSE;
      break;

    case &#039;node&#039;:
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/where-do-i-create-phptemplate-variables-in-drupal-theming&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/where-do-i-create-phptemplate-variables-in-drupal-theming#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/php">PHP</category>
 <category domain="http://www.kinetasystems.com/blog/tags/themes">Themes</category>
 <pubDate>Mon, 11 Feb 2008 15:54:31 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">78 at http://www.kinetasystems.com</guid>
</item>
<item>
 <title>How to make unwanted Drupal CSS disappear!</title>
 <link>http://www.kinetasystems.com/blog/how-to-make-unwanted-drupal-css-disappear</link>
 <description>	&lt;p&gt;
I sometimes run into people on the Drupal &lt;span class=&quot;caps&quot;&gt;IRC&lt;/span&gt; channels that have a theming issue they just can&amp;#8217;t fathom &amp;#8211; dysfunctional &lt;span class=&quot;caps&quot;&gt;CSS&lt;/span&gt;. Some poor guy has overridden a core &lt;span class=&quot;caps&quot;&gt;CSS&lt;/span&gt; class, but his styles just don&amp;#8217;t work. I&amp;#8217;ve been there myself before and I know it can be very frustrating.&lt;/p&gt;

	&lt;p&gt;Rather than showering your &lt;span class=&quot;caps&quot;&gt;CSS&lt;/span&gt; with !important tags, here is an alternative &amp;#8211; remove the offending style file altogether. You can then copy the style information into your own theme, remove any bits that you don&amp;#8217;t want and alter it as you see fit. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/how-to-make-unwanted-drupal-css-disappear&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/how-to-make-unwanted-drupal-css-disappear#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/css">CSS</category>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <category domain="http://www.kinetasystems.com/blog/tags/themes">Themes</category>
 <category domain="http://www.kinetasystems.com/blog/tags/web-design">Web Design</category>
 <pubDate>Mon, 11 Feb 2008 11:27:40 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">54 at http://www.kinetasystems.com</guid>
</item>
</channel>
</rss>
