<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>XinSpace&#187; Theming</title>
	<atom:link href="http://xinspace.com/tag/theming/feed/" rel="self" type="application/rss+xml" />
	<link>http://xinspace.com</link>
	<description>SharePoint, Drupal and Other Random Notes</description>
	<lastBuildDate>Sat, 12 Mar 2011 04:59:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>drupal views 2 theming: access other fields value in your field template</title>
		<link>http://xinspace.com/drupal-views-theming-access-other-fields-value-in-your-field-template/</link>
		<comments>http://xinspace.com/drupal-views-theming-access-other-fields-value-in-your-field-template/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 18:53:32 +0000</pubDate>
		<dc:creator>Xin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Theming]]></category>
		<category><![CDATA[Views]]></category>

		<guid isPermaLink="false">http://xinspace.com/?p=62</guid>
		<description><![CDATA[if you need access other fields in your field template, you can access them by
&#60;?
echo $row-&#62;{$view-&#62;field['FIELD_ID']-&#62;field_alias};
?&#62;
You will be able to add some logic to your template like
&#60;?
if($row-&#62;{$view-&#62;field[field_B_value]-&#62;field_alias})
{
echo $output  ;
}
else
{
echo &#8220;B is not available&#8221;;
}
?&#62;
Note the &#8216;FIELD_ID&#8217; can be something different depending on the field type. it can be &#8220;field_B_nid&#8221; (if it is node reference), or &#8220;field_B_value&#8221; [...]]]></description>
		<wfw:commentRss>http://xinspace.com/drupal-views-theming-access-other-fields-value-in-your-field-template/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

