<?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>Bin-Blog &#187; page-ad</title>
	<atom:link href="http://www.bin-co.com/blog/tag/page-ad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +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>Drupal Plugin: Page Ad</title>
		<link>http://www.bin-co.com/blog/2009/07/drupal-plugin-page-ad/</link>
		<comments>http://www.bin-co.com/blog/2009/07/drupal-plugin-page-ad/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 18:00:21 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[page-ad]]></category>
		<category><![CDATA[plugin-week-2]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=327</guid>
		<description><![CDATA[This is my first Drupal plugin - so I'm not sure how much mistakes I have made in creating this. Page Ad module allows the admin to <strong class="highlight">add advertisement specific to a page</strong>. It will create a textarea in the edit/create page of content. Whatever HTML you type into it will be shown in a block anywhere on the client side display of that page.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/druplicon.png" alt="Drupal" title="Drupal" width="175" height="200" class="aligncenter size-full wp-image-329 intro" align="right" /></a></p>
<p class="intro">This is my first Drupal plugin &#8211; so I&#8217;m not sure how much mistakes I have made in creating this. Page Ad module allows the admin to <strong class="highlight">add advertisement specific to a page</strong>. It will create a textarea in the edit/create page of content. Whatever HTML you type into it will be shown in a block anywhere on the client side display of that page.</p>
<h3><a href='http://www.bin-co.com/blog/wp-content/uploads/2009/07/page_ad.zip'>Download Page Ad</a></h3>
<p>Note: This module is <strong class="highlight">for Drupal 5</strong>. I have not tested it in Drupal 6.</p>
<p>Note 2: <strong class="highlight">I will not provide support for this plugin</strong>. If you run into any trouble, you are on your own.</p>
<h2>Installation</h2>
<ul>
<li>Download and extract the module</li>
<li>Upload the module to sites/all/modules folder of Drupal.</li>
<li>Enable the module from the admin side</li>
<li>Edit the <code>node.tpl.php</code> template file and insert the code <code>&lt;?php print $page_ad ?&gt;</code> where you want the block to show up.</li>
<li>Edit the <code>template.php</code> file and add the code <code>'page_ad' => t('Page Specific Ad')</code> in the returning array for the regions function.</li>
<li>Go to the block configuration page and set the &#8216;Page Specific Ad&#8217; block with the &#8216;Page Specific Ad&#8217; region.</li>
</ul>
<p>This is a plugin that I created to learn a bit  about Drupal. I did this quite a while ago. It may have a lot of error &#8211; because I&#8217;m not an expert in Drupal. I don&#8217;t use it much.</p>
<h2>Screenshot</h2>
<p>This is how the admin side will look&#8230;</p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/admin_side.png" alt="Admin interface" title="Admin interface" width="403" height="229" class="aligncenter size-full wp-image-330" /></p>
<h2>Plugin Week 2</h2>
<p>This plugin is part of the Plugin Week 2 series. <strong class="highlight">Plugin Week is a week when I publish a new plugin each day for an entire week</strong>. I have already one this <a href="http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/">one time</a> &#8211; so this is Plugin Week 2. The plugins released so far&#8230;</p>
<ul>
<li><a href="http://www.bin-co.com/blog/2009/07/plugin-week-2-wordpress-plugin-weather-man/">Weather Man</a></li>
<li><a href="http://www.bin-co.com/blog/2009/07/minicart-wordpress-plugin-shopping-cart-for-wordpress/">MiniCart WordPress Plugin</a></li>
<li><a href="http://www.bin-co.com/blog/2009/07/gallifrey-image-gallery-wordpress-plugin/">Gallifrey WordPress Plugin</a></li>
<li><a href="http://www.bin-co.com/blog/2009/07/gimp-plugin-web-2-0-shadows/">GIMP Plugin – Web 2.0 Shadows</a></li>
</ul>
<p>If you want to get news about the upcoming plugin releases(remember, 1 per day), please <strong class="highlight"><a href="http://feeds2.feedburner.com/bin-blog">subscribe to this site</a>.</strong></p>
<p><a href="http://www.bin-co.com/blog/wp-content/uploads/2009/07/druplicon.png"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2009/07/drupal-plugin-page-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
