<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joshua's Life &#187; custom regions</title>
	<atom:link href="http://www.joshuaslife.com/tag/custom-regions/feed" rel="self" type="application/rss+xml" />
	<link>http://www.joshuaslife.com</link>
	<description>Joshua Heiland's life as a web developer</description>
	<lastBuildDate>Thu, 25 Feb 2010 07:15:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Regions Not Loading in Drupal 6</title>
		<link>http://www.joshuaslife.com/drupal/trouble-creating-new-regions-in-drupal-6</link>
		<comments>http://www.joshuaslife.com/drupal/trouble-creating-new-regions-in-drupal-6#comments</comments>
		<pubDate>Wed, 29 Oct 2008 06:14:59 +0000</pubDate>
		<dc:creator>Joshua Heiland</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[custom regions]]></category>
		<category><![CDATA[regions]]></category>
		<category><![CDATA[regions in drupal]]></category>

		<guid isPermaLink="false">http://www.joshuaslife.com/?p=47</guid>
		<description><![CDATA[<img src="http://www.joshuaslife.com/wp-content/uploads/dupal-icon.jpg" width="35" height="35" alt="" title="Drupal" /><br/>Creating new regions in a Drupal theme that you can publish blocks too, is extremely easy.
edit your &#8220;themename.info&#8221; file:
regions[name_of_new_region] = name of new region
then output the region in your &#8220;page.tpl.php&#8221; file:
&#60;?php if ($name_of_new_region) print $name_of_new_region; ?&#62;
The problem  you may run into (and the point of this post), is that during development of your theme, the [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.joshuaslife.com/wp-content/uploads/dupal-icon.jpg" width="35" height="35" alt="" title="Drupal" /><br/><p>Creating new regions in a Drupal theme that you can publish blocks too, is extremely easy.</p>
<p><strong>edit your &#8220;themename.info&#8221; file:</strong></p>
<blockquote><p><span class="geshifilter"><code class="geshifilter-php">regions<span class="br0">[</span>name_of_new_region<span class="br0">]</span> <span class="sy0">=</span> name of <span class="kw2">new</span> region</code></span></p></blockquote>
<p><strong>then output the region in your &#8220;page.tpl.php&#8221; file:</strong></p>
<blockquote><p><span class="geshifilter"><code class="geshifilter-php"><span class="kw2">&lt;?php</span> <span class="kw1">if</span> <span class="br0">(</span><span class="re1">$name_of_new_region</span><span class="br0">)</span> <span class="kw3">print</span> <span class="re1">$name_of_new_region</span><span class="sy0">;</span> <span class="kw2">?&gt;</span></code></span></p></blockquote>
<p>The problem  you may run into (and the point of this post), is that during development of your theme, the new regions may not show up in your Drupal blocks page.  What you will need to do, is head over to your &#8220;build/themes&#8221; page and set another theme as your default temporarily.  Once another theme is saved as the default, reselect your theme and set it as the default once again.  This will load your new regions, and you should now be able to publish blocks to them.</p>
<p>I didn&#8217;t see mention of this problem on other sites, so I thought I would throw it out there in case anyone else had the same frustration!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshuaslife.com/drupal/trouble-creating-new-regions-in-drupal-6/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
