<?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>Drupal</title>
 <link>http://www.kinetasystems.com/blog/tags/drupal</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>Creating custom error pages in Drupal</title>
 <link>http://www.kinetasystems.com/blog/creating-custom-error-pages-in-drupal</link>
 <description>	&lt;p&gt;Currently there are three options for creating error pages in the Drupal system, that I know of. I&amp;#8217;m going to show here which I think is the best, for reasons of usability, performance and general webmaster sanity. At the foot of this article, there&amp;#8217;s some free code too!&lt;/p&gt;

	&lt;p&gt;The options:&lt;/p&gt;

	&lt;ul&gt;
		&lt;li&gt;Drupal&amp;#8217;s built-in support for error pages (@ /admin/settings/error-reporting)&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/search404&quot;&gt;Search404.module&lt;/a&gt; (404&amp;#8217;s only, of course)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;a href=&quot;http://drupal.org/project/customerror&quot;&gt;Customerror.module&lt;/a&gt; (404 &amp; 403)&lt;/li&gt;
	&lt;/ul&gt;

	&lt;h2&gt;Drupal&amp;#8217;s build in error page support&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/creating-custom-error-pages-in-drupal&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/creating-custom-error-pages-in-drupal#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/php">PHP</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <category domain="http://www.kinetasystems.com/blog/tags/usability">Usability</category>
 <pubDate>Tue, 26 Feb 2008 19:28:43 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">83 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>Millions of tiny blue aliens unleashed - Drupal 6 ALIVE!</title>
 <link>http://www.kinetasystems.com/blog/millions-of-tiny-blue-aliens-unleashed-drupal-6-alive</link>
 <description>	&lt;p&gt;Yesterday afternoon, I popped my head onto the Drupal &lt;span class=&quot;caps&quot;&gt;IRC&lt;/span&gt; channels, and suddenly everything went a bit strange&amp;#8230;&lt;/p&gt;

	&lt;p&gt;Somebody shouted, &amp;#8220;Drupal 6 is out!&amp;#8221; &amp;#8211; and then the whole place erupted into hysterical blogging and Digg-ing (over 1000 now) and general chaos. Millions of tiny blue aliens are unleashed &amp;#8211; Drupal 6 is ALIVE!&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/millions-of-tiny-blue-aliens-unleashed-drupal-6-alive&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/millions-of-tiny-blue-aliens-unleashed-drupal-6-alive#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <pubDate>Thu, 14 Feb 2008 06:38:15 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">80 at http://www.kinetasystems.com</guid>
</item>
<item>
 <title>Protecting your Drupal site with security updates</title>
 <link>http://www.kinetasystems.com/blog/protecting-your-drupal-site-with-security-updates</link>
 <description>	&lt;p&gt;I&amp;#8217;ve read a scare story recently concerning a &lt;a href=&quot;http://www.smallbiztrends.com/2008/02/hacked-it-could-never-happen-to-my-site-famous-last-words.html&quot;&gt;blogger having his site overtaken by hackers.&lt;/a&gt; It&amp;#8217;s not the first one I&amp;#8217;ve come across either. If you&amp;#8217;re using a third party web development agency, then I suggest you have a word with them and make sure you&amp;#8217;re &amp;#8220;protected&amp;#8221;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/protecting-your-drupal-site-with-security-updates&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/protecting-your-drupal-site-with-security-updates#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/business">Business</category>
 <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/performance">Performance</category>
 <category domain="http://www.kinetasystems.com/blog/tags/security">Security</category>
 <pubDate>Tue, 12 Feb 2008 11:23:00 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">75 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>
<item>
 <title>Speed up Drupal 5 load times with Javascript aggregation</title>
 <link>http://www.kinetasystems.com/blog/speed-up-drupal-5-load-times-with-javascript-aggregation</link>
 <description>	&lt;p&gt;Recently released &amp;#8211; a Javascript aggregator module for Drupal 5. This function is included in core in Drupal 6, but users of 5.x are left hanging on. Enter, the &lt;a href=&quot;http://drupal.org/project/javascript_aggregator&quot;&gt;Javascript Aggregator&lt;/a&gt; module.&lt;/p&gt;

	&lt;p&gt;I put this onto my own site straight away to test it out, as I&amp;#8217;m using shared hosting at the moment, and I want to reduce page load times as much as I can. It seems to work just fine. The module requires no core patches, and also includes an interface for file exceptions, as TinyMCE (natch) causes the module to fail.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.kinetasystems.com/blog/speed-up-drupal-5-load-times-with-javascript-aggregation&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kinetasystems.com/blog/speed-up-drupal-5-load-times-with-javascript-aggregation#comments</comments>
 <category domain="http://www.kinetasystems.com/blog/tags/drupal">Drupal</category>
 <category domain="http://www.kinetasystems.com/blog/tags/javascript">Javascript</category>
 <category domain="http://www.kinetasystems.com/blog/tags/modules">Modules</category>
 <category domain="http://www.kinetasystems.com/blog/tags/performance">Performance</category>
 <category domain="http://www.kinetasystems.com/blog/tags/planet">Planet</category>
 <pubDate>Thu, 07 Feb 2008 06:58:15 -0500</pubDate>
 <dc:creator>Nik</dc:creator>
 <guid isPermaLink="false">74 at http://www.kinetasystems.com</guid>
</item>
</channel>
</rss>
