<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building a Website with Drupal 6 &#8211; Part 7: Installing Modules and Themes</title>
	<atom:link href="http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/</link>
	<description>Programming blog - Discussions, Tutorials, Resources</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:36:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Costas</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-9525</link>
		<dc:creator>Costas</dc:creator>
		<pubDate>Fri, 02 Jul 2010 20:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-9525</guid>
		<description>I just started a new drupal website (my first experience with Drupal) and after about 5 hours (installation included) I am now at the end of part 7 of your excellent tutorial.
You have done an amazing job, I am in my 70s and all works fine to this point. Congratulations and all the very best to you. 

Costas</description>
		<content:encoded><![CDATA[<p>I just started a new drupal website (my first experience with Drupal) and after about 5 hours (installation included) I am now at the end of part 7 of your excellent tutorial.<br />
You have done an amazing job, I am in my 70s and all works fine to this point. Congratulations and all the very best to you. </p>
<p>Costas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mary</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8903</link>
		<dc:creator>mary</dc:creator>
		<pubDate>Mon, 11 Jan 2010 15:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8903</guid>
		<description>Andrew
What tags are you referring to?  The &quot;&lt; ?php&quot; should be there with no space between the &lt; and ?, similarly to the &quot;? &gt;&quot; again with no space between them, I just added the spaces so they would render correctly in the comments and not be processed as code by wordpress.  Basically the &lt; ?php opens the block of code and the ? &gt; closes the block. Anything between those tags gets processed as PHP code. 

Is this what you meant by tagging?

mary</description>
		<content:encoded><![CDATA[<p>Andrew<br />
What tags are you referring to?  The &#8220;< ?php" should be there with no space between the < and ?, similarly to the "? >&#8221; again with no space between them, I just added the spaces so they would render correctly in the comments and not be processed as code by wordpress.  Basically the < ?php opens the block of code and the ? > closes the block. Anything between those tags gets processed as PHP code. </p>
<p>Is this what you meant by tagging?</p>
<p>mary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndrewBW</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8896</link>
		<dc:creator>AndrewBW</dc:creator>
		<pubDate>Sat, 09 Jan 2010 04:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8896</guid>
		<description>Worked like a charm Mary. Thanks. I thought I tried that setup but if I did I must have been off slightly somewhere. Just one question I&#039;m curious about. The .php file has  tags around the &lt; ?php print t(&#039;By &#039;) tagging but they&#039;re omitted from your tagging above. However putting them in or leaving them out doesn&#039;t seem to make any actual difference.  Are they there for some other reason?</description>
		<content:encoded><![CDATA[<p>Worked like a charm Mary. Thanks. I thought I tried that setup but if I did I must have been off slightly somewhere. Just one question I&#8217;m curious about. The .php file has  tags around the &lt; ?php print t(&#039;By &#039;) tagging but they&#039;re omitted from your tagging above. However putting them in or leaving them out doesn&#039;t seem to make any actual difference.  Are they there for some other reason?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mary</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8862</link>
		<dc:creator>mary</dc:creator>
		<pubDate>Mon, 04 Jan 2010 16:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8862</guid>
		<description>Andrew
Sorry for the delay. OK, I looked into the Marinelli node.tpl.php.  If you want the author and date information to appear in both the teaser and full view, here&#039;s what you need to do.  

In the node.tpl.php you have a block of code that looks like this:



&lt;blockquote&gt;&lt;?php if (!$teaser): ?&gt;
	&lt;?php if ($submitted): ?&gt;
    &lt; div class=&quot;metanode&quot;&gt;&lt;p&gt;&lt;?php print t(&#039;By &#039;) .&#039;&lt; span class=&quot;author&quot;&gt;&#039;. theme(&#039;username&#039;, $node).&#039;&lt; / span&gt;&#039; . t(&#039; - Posted on &#039;) . &#039;&lt; span class=&quot;date&quot;&gt;&#039;.format_date($node-&gt;created, &#039;custom&#039;, &quot;d F Y&quot;).&#039;&lt; / span&gt;&#039;; ?&gt;&lt;/p&gt;	  
	  &lt; / div&gt; 
    &lt;?php endif; ?&gt;
    &lt;?php endif; ?&gt;
&lt;/blockquote&gt;



&lt;strong&gt;OK, right under that block of code, paste this:&lt;/strong&gt;




&lt;blockquote&gt;&lt; ?php if ($teaser): ?&gt;
	&lt;?php if ($submitted): ?&gt;
    &lt; div class=&quot;metanode&quot;&gt;&lt;p&gt;&lt;?php print t(&#039;By &#039;) .&#039;&lt; span class=&quot;author&quot;&gt;&#039;. theme(&#039;username&#039;, $node).&#039;&lt; / span&gt;&#039; . t(&#039; - Posted on &#039;) . &#039;&lt; span class=&quot;date&quot;&gt;&#039;.format_date($node-&gt;created, &#039;custom&#039;, &quot;d F Y&quot;).&#039;&lt; / span&gt;&#039;; ?&gt;&lt;/p&gt;  
	  &lt; / div&gt; 
    &lt;?php endif; ?&gt;
    &lt;?php endif; ?&gt;&lt;/blockquote&gt;



PS: Remove the extra spaces that I added in the code tags, I put them there so the code would read correctly in Wordpress.  
This should now work. What the first block basically does is say that if what we&#039;re seeing is the full view and not the teaser (hence the ! before $teaser, post the author and date info).  The second block of code says that if what we&#039;re seeing is the teaser view (notice there&#039;s no ! before $teaser), then show the author and date.

Because we&#039;re applying this to the overall node.tpl.php it will apply to Marinelli plus all it sub-themes.

Hope this helps :)

mary</description>
		<content:encoded><![CDATA[<p>Andrew<br />
Sorry for the delay. OK, I looked into the Marinelli node.tpl.php.  If you want the author and date information to appear in both the teaser and full view, here&#8217;s what you need to do.  </p>
<p>In the node.tpl.php you have a block of code that looks like this:</p>
<blockquote><p>< ?php if (!$teaser): ?><br />
	< ?php if ($submitted): ?><br />
    < div class="metanode">
<p>< ?php print t('By ') .'< span class="author">&#8216;. theme(&#8217;username&#8217;, $node).&#8217;< / span>&#8216; . t(&#8217; &#8211; Posted on &#8216;) . &#8216;< span class="date">&#8216;.format_date($node->created, &#8216;custom&#8217;, &#8220;d F Y&#8221;).&#8217;< / span>&#8216;; ?></p>
<p>	  < / div><br />
    < ?php endif; ?><br />
    < ?php endif; ?>
</p></blockquote>
<p><strong>OK, right under that block of code, paste this:</strong></p>
<blockquote><p>< ?php if ($teaser): ?><br />
	< ?php if ($submitted): ?><br />
    < div class="metanode">
<p>< ?php print t('By ') .'< span class="author">&#8216;. theme(&#8217;username&#8217;, $node).&#8217;< / span>&#8216; . t(&#8217; &#8211; Posted on &#8216;) . &#8216;< span class="date">&#8216;.format_date($node->created, &#8216;custom&#8217;, &#8220;d F Y&#8221;).&#8217;< / span>&#8216;; ?></p>
<p>	  < / div><br />
    < ?php endif; ?><br />
    < ?php endif; ?></p></blockquote>
<p>PS: Remove the extra spaces that I added in the code tags, I put them there so the code would read correctly in Wordpress.<br />
This should now work. What the first block basically does is say that if what we&#8217;re seeing is the full view and not the teaser (hence the ! before $teaser, post the author and date info).  The second block of code says that if what we&#8217;re seeing is the teaser view (notice there&#8217;s no ! before $teaser), then show the author and date.</p>
<p>Because we&#8217;re applying this to the overall node.tpl.php it will apply to Marinelli plus all it sub-themes.</p>
<p>Hope this helps <img src='http://codingpad.maryspad.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>mary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndrewBW</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8861</link>
		<dc:creator>AndrewBW</dc:creator>
		<pubDate>Sun, 03 Jan 2010 18:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8861</guid>
		<description>Hi Mary. I&#039;m using Alagna, a sub-theme of Marinelli. The URL is http://www.cuyahogafx.com. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Mary. I&#8217;m using Alagna, a sub-theme of Marinelli. The URL is <a href="http://www.cuyahogafx.com" >http://www.cuyahogafx.com</a>. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mary</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8860</link>
		<dc:creator>mary</dc:creator>
		<pubDate>Sun, 03 Jan 2010 16:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8860</guid>
		<description>Andrew,
The first place I would look would definitely be the node.tpl.php file as the posts recommend.  What theme are you using? I may be able to make a better suggestion based on your theme.

mary</description>
		<content:encoded><![CDATA[<p>Andrew,<br />
The first place I would look would definitely be the node.tpl.php file as the posts recommend.  What theme are you using? I may be able to make a better suggestion based on your theme.</p>
<p>mary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndrewBW</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8856</link>
		<dc:creator>AndrewBW</dc:creator>
		<pubDate>Thu, 31 Dec 2009 03:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8856</guid>
		<description>Hi Mary. Here&#039;s a Drupal/PHP question for you. In my setup, the author and post time don&#039;t show under the teaser, but do show under the full view of a story.  Postings at http://drupal.org/node/266730 and http://drupal.org/node/577454 point to the node.tpl.php file. I&#039;ve tried several variations of the suggestions in these posts but they haven&#039;t quite worked, unless I made some error along the way. One way, for example, displays the author and date twice under the teaser; another displays it under the teaser but not under the full view; and another wipes out the formatting of the page completely. Do you have any suggestions? Thanks! Keep up the great work! (Except do more of it!)</description>
		<content:encoded><![CDATA[<p>Hi Mary. Here&#8217;s a Drupal/PHP question for you. In my setup, the author and post time don&#8217;t show under the teaser, but do show under the full view of a story.  Postings at <a href="http://drupal.org/node/266730" rel="nofollow">http://drupal.org/node/266730</a> and <a href="http://drupal.org/node/577454" >http://drupal.org/node/577454</a> point to the node.tpl.php file. I&#8217;ve tried several variations of the suggestions in these posts but they haven&#8217;t quite worked, unless I made some error along the way. One way, for example, displays the author and date twice under the teaser; another displays it under the teaser but not under the full view; and another wipes out the formatting of the page completely. Do you have any suggestions? Thanks! Keep up the great work! (Except do more of it!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mary</title>
		<link>http://codingpad.maryspad.com/2009/03/17/building-a-website-with-drupal-6-part-7-installing-modules-and-themes/comment-page-1/#comment-8710</link>
		<dc:creator>mary</dc:creator>
		<pubDate>Sun, 22 Nov 2009 05:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://codingpad.maryspad.com/?p=344#comment-8710</guid>
		<description>thanks for sharing that info Howard

mary</description>
		<content:encoded><![CDATA[<p>thanks for sharing that info Howard</p>
<p>mary</p>
]]></content:encoded>
	</item>
</channel>
</rss>
