Worth checking out if you haven&#39;t already.  <a href="http://drupal.org/project/views_customfield">http://drupal.org/project/views_customfield</a><div><a href="http://drupal.org/project/views_customfield"></a><br clear="all">

<b><div><b><br></b></div>Ryan LeTulle</b><br><br><div>&gt; <font color="#666666"><a href="http://twitter.com/bayousoft" target="_blank">bayousoft</a> -twitter</font></div><div><br></div><div><img src="http://dl.dropbox.com/u/12083215/m-gmail-icon.png"><br>

</div><div><div><br></div><br><br></div><br>
<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 3:58 PM, DTH <span dir="ltr">&lt;<a href="mailto:david@hartster.org">david@hartster.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

In my view I have a number of fields. One of these fields uses the<br>
Output As Link option. This works fine. However, I only want it to be<br>
a link if certain criteria is met - so, for example, if the field<br>
&quot;sold_online&quot; is true, then the field &quot;price&quot; should be a link to the<br>
online shop, while if &quot;sold_online&quot; is false, then the price should<br>
not be a link.<br>
<br>
What&#39;s the easiest way to do this? Write a custom field handler that<br>
extends what? Is it views_handler_field_url? In a custom handler, how<br>
do I check for the value of another field (assuming &quot;sold_online&quot;<br>
comes before &quot;price&quot; in my list of fields)? Or am I barking up the<br>
wrong tree and there&#39;s something much simpler I should do (for<br>
example, using theming?). (And is there a handbook page or anywhere<br>
where you can find a list of other people&#39;s custom view handlers?)<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br></div>