<?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: Post processing Elgg views &#8211; Trac tags example</title>
	<atom:link href="http://www.marcus-povey.co.uk/2009/07/06/post-processing-elgg-views-trac-tags-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcus-povey.co.uk/2009/07/06/post-processing-elgg-views-trac-tags-example/</link>
	<description>Making the world a better place, one byte at a time...</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:12:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Uddhava dasa</title>
		<link>http://www.marcus-povey.co.uk/2009/07/06/post-processing-elgg-views-trac-tags-example/comment-page-1/#comment-4061</link>
		<dc:creator>Uddhava dasa</dc:creator>
		<pubDate>Fri, 17 Jul 2009 14:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=232#comment-4061</guid>
		<description>Nice post, thanks for the detailed description and plugin demo.</description>
		<content:encoded><![CDATA[<p>Nice post, thanks for the detailed description and plugin demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2009/07/06/post-processing-elgg-views-trac-tags-example/comment-page-1/#comment-3800</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Wed, 08 Jul 2009 10:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=232#comment-3800</guid>
		<description>$view_orig was used to prevent overridden views from corrupting the view variable as per fix &lt;a href=&quot;https://trac.elgg.org/elgg/ticket/427&quot; rel=&quot;nofollow&quot;&gt;#427&lt;/a&gt;, however passing $vars is probably a sensible thing to do.</description>
		<content:encoded><![CDATA[<p>$view_orig was used to prevent overridden views from corrupting the view variable as per fix <a href="https://trac.elgg.org/elgg/ticket/427" rel="nofollow">#427</a>, however passing $vars is probably a sensible thing to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Ramírez</title>
		<link>http://www.marcus-povey.co.uk/2009/07/06/post-processing-elgg-views-trac-tags-example/comment-page-1/#comment-3768</link>
		<dc:creator>Diego Ramírez</dc:creator>
		<pubDate>Tue, 07 Jul 2009 17:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=232#comment-3768</guid>
		<description>Hi Marcus,

There is a little problem when you are trying of overwrite a view with this method. The parameteres passed to the original view are not passed to the delegated ones.

This is because the current code on elgglib is:
+			$content = trigger_plugin_hook(&#039;display&#039;,&#039;view&#039;,array(&#039;view&#039; =&gt; $view_orig),$content);

and not 

$content = trigger_plugin_hook(&#039;display&#039;,&#039;view&#039;,array(&#039;view&#039; =&gt; $view,&#039;vars&#039;=&gt;$vars),$content);


Cheers,</description>
		<content:encoded><![CDATA[<p>Hi Marcus,</p>
<p>There is a little problem when you are trying of overwrite a view with this method. The parameteres passed to the original view are not passed to the delegated ones.</p>
<p>This is because the current code on elgglib is:<br />
+			$content = trigger_plugin_hook(&#8216;display&#8217;,'view&#8217;,array(&#8216;view&#8217; =&gt; $view_orig),$content);</p>
<p>and not </p>
<p>$content = trigger_plugin_hook(&#8216;display&#8217;,'view&#8217;,array(&#8216;view&#8217; =&gt; $view,&#8217;vars&#8217;=&gt;$vars),$content);</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

