<?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: How to Hack a Pligg Template</title>
	<atom:link href="http://www.upstartblogger.com/how-to-hack-a-pligg-template/feed" rel="self" type="application/rss+xml" />
	<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template</link>
	<description>Daily Inspiration For Bloggers</description>
	<lastBuildDate>Thu, 14 Apr 2011 19:12:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Robert Ellis</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11606</link>
		<dc:creator>Robert Ellis</dc:creator>
		<pubDate>Wed, 06 Jun 2007 18:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11606</guid>
		<description>Mariam, I believe Beta 9.6 is the latest version.

Yes, you&#039;re right. There is some hard code in sidebar_stories.php. I don&#039;t know what you&#039;re trying to do, so you&#039;ll just have to play with it, but you can probably just copy and edit this code, name it whatever you want to call your template, and make some adjustments:

&lt;code&gt;elseif ($the_template == &quot;yget [change this to your template name]&quot;) {
	
	echo &quot;&lt;div class=tlb&gt;&lt;span&gt;&lt;a onclick=\&quot;new Effect.toggle(&#039;ssstories&#039;,&#039;blind&#039;, {queue: &#039;end&#039;}); \&quot;&gt; &lt;img src=\&quot;&quot;.my_base_url.my_pligg_base.&quot;/templates/&quot;.The_Template.&quot;/images/expand.png\&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href=\&quot;&quot;.$ss-&gt;link.&quot;\&quot;&gt;&quot;.$ss-&gt;header.&quot;&lt;/a&gt;&lt;/div&gt;&lt;div id=ssstories style=padding-bottom:2px&gt;&quot;;
	$ss-&gt;template = $the_template . &#039;/sidebar_stories.tpl&#039;;
	$ss-&gt;show();
	echo &quot;&lt;/div&gt;&quot;;
	
	}
&lt;/code&gt;

Oh, and waiting for v1.0 is sensible, if you&#039;re not in a hurry. Things look to be changing radically and porting and creating templates should be &lt;b&gt;much&lt;/b&gt; easier.</description>
		<content:encoded><![CDATA[<p>Mariam, I believe Beta 9.6 is the latest version.</p>
<p>Yes, you&#8217;re right. There is some hard code in sidebar_stories.php. I don&#8217;t know what you&#8217;re trying to do, so you&#8217;ll just have to play with it, but you can probably just copy and edit this code, name it whatever you want to call your template, and make some adjustments:</p>
<p><code>elseif ($the_template == "yget [change this to your template name]") {</p>
<p>	echo "
<div class=tlb><span><a onclick=\"new Effect.toggle('ssstories','blind', {queue: 'end'}); \"> <img src=\"".my_base_url.my_pligg_base."/templates/".The_Template."/images/expand.png\" /></a></span><a href=\"".$ss->link."\">".$ss->header."</a></div>
<div id=ssstories style=padding-bottom:2px>";<br />
	$ss->template = $the_template . '/sidebar_stories.tpl';<br />
	$ss->show();<br />
	echo "</div>
<p>";</p>
<p>	}<br />
</code></p>
<p>Oh, and waiting for v1.0 is sensible, if you&#8217;re not in a hurry. Things look to be changing radically and porting and creating templates should be <b>much</b> easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mariam Ayyash</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11605</link>
		<dc:creator>Mariam Ayyash</dc:creator>
		<pubDate>Wed, 06 Jun 2007 17:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11605</guid>
		<description>well thank you Bob :) im still working on the layout though

seems to me like the version i got is old or something! its Pligg Beta 9.6 :s is there any newer version? What i am referring to is actually code in sidebar_stories.php that referred to &quot;yget&quot; template name, hard-coded, when i changed the template it messed up the side bar because of this... well maybe i should wait for the 1.0 version :) [I love wordpress!]</description>
		<content:encoded><![CDATA[<p>well thank you Bob :) im still working on the layout though</p>
<p>seems to me like the version i got is old or something! its Pligg Beta 9.6 :s is there any newer version? What i am referring to is actually code in sidebar_stories.php that referred to &#8220;yget&#8221; template name, hard-coded, when i changed the template it messed up the side bar because of this&#8230; well maybe i should wait for the 1.0 version :) [I love wordpress!]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Ellis</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11604</link>
		<dc:creator>Robert Ellis</dc:creator>
		<pubDate>Wed, 06 Jun 2007 14:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11604</guid>
		<description>Hi, Mariam. Yes, the sidebar code in Pligg &lt;em&gt;is&lt;/em&gt; a mess. I&#039;m not exactly sure what you&#039;re asking, though. You can add your template name and path to &lt;b&gt;/templates/templates.tpl&lt;/b&gt;, which should add it to the list in your Admin, but I don&#039;t think you should have to change any other files outside of the template directory (but I haven&#039;t played with Pligg for a while, so my memory is a little fuzzy). But don&#039;t be surprised by anything in Pligg. It&#039;s not like WordPress. It should be very easy to work with templates after v1.0, however.

BTW, took a look at your site. I love it. Beautiful design! Love the multicolumn newspaper layout!</description>
		<content:encoded><![CDATA[<p>Hi, Mariam. Yes, the sidebar code in Pligg <em>is</em> a mess. I&#8217;m not exactly sure what you&#8217;re asking, though. You can add your template name and path to <b>/templates/templates.tpl</b>, which should add it to the list in your Admin, but I don&#8217;t think you should have to change any other files outside of the template directory (but I haven&#8217;t played with Pligg for a while, so my memory is a little fuzzy). But don&#8217;t be surprised by anything in Pligg. It&#8217;s not like WordPress. It should be very easy to work with templates after v1.0, however.</p>
<p>BTW, took a look at your site. I love it. Beautiful design! Love the multicolumn newspaper layout!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mariam Ayyash</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11603</link>
		<dc:creator>Mariam Ayyash</dc:creator>
		<pubDate>Wed, 06 Jun 2007 12:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11603</guid>
		<description>Hi,
I noticed there is a bit of chaos in the sidebar code, sometimes the wrapper calls another well done tpl like categories, some other time it calls a php file on the root, that has conditional blocks with HARDCODED template names, like yget, i donno, is this expected? so do i have to write a new block of code in the original php to account for my new template?

thanx for the efforts</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I noticed there is a bit of chaos in the sidebar code, sometimes the wrapper calls another well done tpl like categories, some other time it calls a php file on the root, that has conditional blocks with HARDCODED template names, like yget, i donno, is this expected? so do i have to write a new block of code in the original php to account for my new template?</p>
<p>thanx for the efforts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Ellis</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11570</link>
		<dc:creator>Robert Ellis</dc:creator>
		<pubDate>Fri, 01 Jun 2007 16:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11570</guid>
		<description>Devendra, I&#039;m not sure I understand what you&#039;re asking. The &lt;b&gt;wrapper.tpl&lt;/b&gt; files are called from &lt;b&gt;sidebar.tpl&lt;/b&gt; and live in the &lt;b&gt;/sidebar_modules&lt;/b&gt; sub-folder.</description>
		<content:encoded><![CDATA[<p>Devendra, I&#8217;m not sure I understand what you&#8217;re asking. The <b>wrapper.tpl</b> files are called from <b>sidebar.tpl</b> and live in the <b>/sidebar_modules</b> sub-folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devendra</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11567</link>
		<dc:creator>Devendra</dc:creator>
		<pubDate>Fri, 01 Jun 2007 15:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-11567</guid>
		<description>hello robert, where is wrapper .tpl declared in the sidebar.tpl?</description>
		<content:encoded><![CDATA[<p>hello robert, where is wrapper .tpl declared in the sidebar.tpl?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pligg.com</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-7989</link>
		<dc:creator>pligg.com</dc:creator>
		<pubDate>Fri, 16 Mar 2007 18:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-7989</guid>
		<description>&lt;strong&gt;How to Hack a Pligg Template...&lt;/strong&gt;

If you&#8217;ve read my post on Understanding Pligg Template Files and want to take a crack at hacking a template of your own, you may find these tips helpful. This is my workflow for porting a template to Pligg....</description>
		<content:encoded><![CDATA[<p><strong>How to Hack a Pligg Template&#8230;</strong></p>
<p>If you&rsquo;ve read my post on Understanding Pligg Template Files and want to take a crack at hacking a template of your own, you may find these tips helpful. This is my workflow for porting a template to Pligg&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Understanding Pligg Template Files</title>
		<link>http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-7922</link>
		<dc:creator>Understanding Pligg Template Files</dc:creator>
		<pubDate>Thu, 15 Mar 2007 20:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.upstartblogger.com/how-to-hack-a-pligg-template#comment-7922</guid>
		<description>[...] tutorial on how to decipher Pligg template files.  I&#8217;ve written a followup to this post, How to Hack a Pligg Template. If you&#8217;re looking for tips for creating or modifying a Pligg template, have a [...]</description>
		<content:encoded><![CDATA[<p>[...] tutorial on how to decipher Pligg template files.  I&#8217;ve written a followup to this post, How to Hack a Pligg Template. If you&#8217;re looking for tips for creating or modifying a Pligg template, have a [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

