<?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: Passing an argument to a Block View in Drupal 6</title>
	<atom:link href="http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/</link>
	<description>Engineered Software</description>
	<lastBuildDate>Thu, 12 Jan 2012 11:38:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: pradeep</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-12766</link>
		<dc:creator>pradeep</dc:creator>
		<pubDate>Thu, 01 Sep 2011 09:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-12766</guid>
		<description>thanksssssssssssss </description>
		<content:encoded><![CDATA[<p>thanksssssssssssss</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-12719</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Sat, 25 Jun 2011 12:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-12719</guid>
		<description>Thanks for this article. It got me out of a bad situation. If you are having problems making this work, it could be that you are using punctuation in your title and have pathauto set to remove the punctuation. It seems that this way of doing things pulls the argument from the node title before pathauto removes punctuation.</description>
		<content:encoded><![CDATA[<p>Thanks for this article. It got me out of a bad situation. If you are having problems making this work, it could be that you are using punctuation in your title and have pathauto set to remove the punctuation. It seems that this way of doing things pulls the argument from the node title before pathauto removes punctuation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-12717</link>
		<dc:creator>William</dc:creator>
		<pubDate>Wed, 08 Jun 2011 15:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-12717</guid>
		<description>Will this work in drupal 7? Can anyone help me out here? I can&#039;t seem to get $_GET to work. I&#039;ve tried returning a constant and it worked, I tried storing an integer in a variable and returning the variable, and it worked, but $_GET just doesn&#039;t seem to get the argument value.

I even did the most basic thing I could think of and it just won&#039;t work.

I typed http://localhost:8082/?q=12 into the address bar.
I have my php code as 

$path = $_GET[&#039;q&#039;];
return $path;

The block is outputting null instead of content 12.

I tried everything. Suggestions?</description>
		<content:encoded><![CDATA[<p>Will this work in drupal 7? Can anyone help me out here? I can&#8217;t seem to get $_GET to work. I&#8217;ve tried returning a constant and it worked, I tried storing an integer in a variable and returning the variable, and it worked, but $_GET just doesn&#8217;t seem to get the argument value.</p>
<p>I even did the most basic thing I could think of and it just won&#8217;t work.</p>
<p>I typed <a href="http://localhost:8082/?q=12" rel="nofollow">http://localhost:8082/?q=12</a> into the address bar.<br />
I have my php code as </p>
<p>$path = $_GET['q'];<br />
return $path;</p>
<p>The block is outputting null instead of content 12.</p>
<p>I tried everything. Suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-12710</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Fri, 06 May 2011 14:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-12710</guid>
		<description>This is great. Been trying for a while to make a block appear on user pages with a list of content they&#039;ve authored. This is a good solution. Thanks!</description>
		<content:encoded><![CDATA[<p>This is great. Been trying for a while to make a block appear on user pages with a list of content they&#8217;ve authored. This is a good solution. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathesh</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-12695</link>
		<dc:creator>Sathesh</dc:creator>
		<pubDate>Wed, 06 Apr 2011 01:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-12695</guid>
		<description>Hey there.. Thanks for putting this up. It really saved me some time in setting up the view arguments with blocks. Thanks dude..</description>
		<content:encoded><![CDATA[<p>Hey there.. Thanks for putting this up. It really saved me some time in setting up the view arguments with blocks. Thanks dude..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biz</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-12653</link>
		<dc:creator>biz</dc:creator>
		<pubDate>Sun, 27 Mar 2011 22:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-12653</guid>
		<description>Thanks a bunch!  Worked like a charm for me.</description>
		<content:encoded><![CDATA[<p>Thanks a bunch!  Worked like a charm for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batido de naranja - by victorcoder &#187; Pasar parametros a bloques de vista en Drupal</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-4276</link>
		<dc:creator>Batido de naranja - by victorcoder &#187; Pasar parametros a bloques de vista en Drupal</dc:creator>
		<pubDate>Mon, 11 Jan 2010 17:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-4276</guid>
		<description>[...] Referencias:? http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Referencias:? <a href="http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/" rel="nofollow">http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-3914</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 01 Dec 2009 17:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-3914</guid>
		<description>I made a temporary solution that works for what I need but hurts a little. After incorporating your suggestions, I set the block view to show at:
exhibitors/exhibit-list
exhibitors/exhibit-list/*
Under URL aliases, I created 26 aliases (which may grow if we get exhibitors that start with numbers), like this:
node/XX
exhibitors/exhibit-list/c
That works for now, but if there&#039;s a better solution, let me know. :)</description>
		<content:encoded><![CDATA[<p>I made a temporary solution that works for what I need but hurts a little. After incorporating your suggestions, I set the block view to show at:<br />
exhibitors/exhibit-list<br />
exhibitors/exhibit-list/*<br />
Under URL aliases, I created 26 aliases (which may grow if we get exhibitors that start with numbers), like this:<br />
node/XX<br />
exhibitors/exhibit-list/c<br />
That works for now, but if there&#8217;s a better solution, let me know. <img src='http://www.ridgesolutions.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-3913</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 01 Dec 2009 17:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-3913</guid>
		<description>I&#039;m almost ready to post an &#039;AWESOME!&#039; comment, but am not quite there just yet. I have a node located at exhibitors/exhibit-list that has some pdf attachments, copy, etc. (so I can&#039;t create a page view here as non-webby people maintain the content) I also have a block view assigned to the same page/path that shows a list of exhibitors, all of them to start. Now, if I enter a URL like:

exhibitors/exhibit-list/b

I get a page not found, because I&#039;m guessing the path is different now. With some minor adjustments to the code I have everything working fine in the views preview. Arguments are being understood there thanks to your help!

Any thoughts on what I might be missing? Do I need to set up something special in pathauto? Thanks for your advise in advance! :D</description>
		<content:encoded><![CDATA[<p>I&#8217;m almost ready to post an &#8216;AWESOME!&#8217; comment, but am not quite there just yet. I have a node located at exhibitors/exhibit-list that has some pdf attachments, copy, etc. (so I can&#8217;t create a page view here as non-webby people maintain the content) I also have a block view assigned to the same page/path that shows a list of exhibitors, all of them to start. Now, if I enter a URL like:</p>
<p>exhibitors/exhibit-list/b</p>
<p>I get a page not found, because I&#8217;m guessing the path is different now. With some minor adjustments to the code I have everything working fine in the views preview. Arguments are being understood there thanks to your help!</p>
<p>Any thoughts on what I might be missing? Do I need to set up something special in pathauto? Thanks for your advise in advance! <img src='http://www.ridgesolutions.ie/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luigi</title>
		<link>http://www.ridgesolutions.ie/index.php/2009/01/19/passing-an-argument-to-a-block-view-in-drupal-6/#comment-3838</link>
		<dc:creator>Luigi</dc:creator>
		<pubDate>Mon, 23 Nov 2009 02:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ridgesolutions.ie/?p=58#comment-3838</guid>
		<description>Thanks alot Kevin.</description>
		<content:encoded><![CDATA[<p>Thanks alot Kevin.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

