<a href="http://drupal.org/project/views_customfield">http://drupal.org/project/views_customfield</a><br><br>^^ allows you to use phpcode in a view field. <br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 12:40 PM, sebastian <span dir="ltr"><<a href="mailto:inforazor@gmail.com">inforazor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">had a flash of insight and thought i'd put PHP in that rewrite field<br>
box, but it doesn't work... it outputs the PHP as HTML<br>
:(<br>
<br>
am I just out of luck?<br>
<br>
sebastian wrote:<br>
> Hello Themers,<br>
><br>
> Here is a pickle,<br>
><br>
> I have a view, and I am using the check box on the image_field:<br>
><br>
> [x] Rewrite the output of this field<br>
><br>
> And below it, I have wraped my output in some DIV tags that add drop<br>
> shadows.<br>
><br>
> Only, not all my Node's have an image, which is the way it should be<br>
> [flexible]; only Drupal still renders the wrapping DIVs instead of<br>
> seeing that there is no content, and not theming the field...<br>
> consequently, I get drop shadows when it makes no sense.<br>
><br>
> Does anyone know how to resolve this and stop Views from rendering<br>
> supporting tags when using "rewrite output"?<br>
><br>
> Thank you so much for your help!<br>
><br>
> Kindly,<br>
><br>
> Sebastian.<br>
><br>
_______________________________________________<br>
themes mailing list<br>
<a href="mailto:themes@drupal.org">themes@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a><br>
</blockquote></div><br>