<?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: xajax extension 1.1</title>
	<atom:link href="http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/</link>
	<description>Weblog of Kristof Coomans</description>
	<lastBuildDate>Tue, 05 Oct 2010 12:08:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Marcel Gomez</title>
		<link>http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/comment-page-1/#comment-185022</link>
		<dc:creator>Marcel Gomez</dc:creator>
		<pubDate>Thu, 19 Jun 2008 14:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/#comment-185022</guid>
		<description>Hi Kristof !
I already have my site finished, but now I&#039;m trying to plug it with xajax 1.1.
I have this PHP code (from the eZ forum):

function xxxx($object_id) {

	// HTTP Response
	$objResponse = new xajaxResponse();
	
	// template init
	$tpl =&amp; templateInit();
	
	// Add Variable to the template
	$tpl-&gt;setVariable(&#039;object_id&#039;, $object_id);

	// fetch template
	$html = $tpl-&gt;fetch(
&quot;extension/mod_myextension/design/standard/templates/foo/bar.tpl&quot; );

	$objResponse-&gt;addAssign(&quot;mydiv&quot;, &quot;innerHTML&quot;, $html);
	
	// response
	return $objResponse;
}

I need to know where to write this code, and how can I invoke this function from any of my links, given the objectID of the node which content will be shown.
Plase, any hints will be really appreciated because we are almost in deadline of our project.
thanks in advance,
Marcel</description>
		<content:encoded><![CDATA[<p>Hi Kristof !<br />
I already have my site finished, but now I&#8217;m trying to plug it with xajax 1.1.<br />
I have this PHP code (from the eZ forum):</p>
<p>function xxxx($object_id) {</p>
<p>	// HTTP Response<br />
	$objResponse = new xajaxResponse();</p>
<p>	// template init<br />
	$tpl =&amp; templateInit();</p>
<p>	// Add Variable to the template<br />
	$tpl-&gt;setVariable(&#8216;object_id&#8217;, $object_id);</p>
<p>	// fetch template<br />
	$html = $tpl-&gt;fetch(<br />
&#8220;extension/mod_myextension/design/standard/templates/foo/bar.tpl&#8221; );</p>
<p>	$objResponse-&gt;addAssign(&#8220;mydiv&#8221;, &#8220;innerHTML&#8221;, $html);</p>
<p>	// response<br />
	return $objResponse;<br />
}</p>
<p>I need to know where to write this code, and how can I invoke this function from any of my links, given the objectID of the node which content will be shown.<br />
Plase, any hints will be really appreciated because we are almost in deadline of our project.<br />
thanks in advance,<br />
Marcel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristof</title>
		<link>http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/comment-page-1/#comment-231</link>
		<dc:creator>Kristof</dc:creator>
		<pubDate>Tue, 25 Apr 2006 06:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/#comment-231</guid>
		<description>No, Bruce did it again ;-)</description>
		<content:encoded><![CDATA[<p>No, Bruce did it again <img src='http://blog.coomanskristof.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Borgermans</title>
		<link>http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/comment-page-1/#comment-230</link>
		<dc:creator>Paul Borgermans</dc:creator>
		<pubDate>Mon, 24 Apr 2006 20:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.coomanskristof.be/2006/04/24/xajax-extension-11/#comment-230</guid>
		<description>:-))

Cyberwolf did it again!</description>
		<content:encoded><![CDATA[<p> <img src='http://blog.coomanskristof.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p>Cyberwolf did it again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

