[themes] how to exclude a View-field when not present?
Michael Scappa
michael.scappa at gmail.com
Thu Dec 3 04:37:54 UTC 2009
http://drupal.org/project/views_customfield
^^ allows you to use phpcode in a view field.
On Wed, Dec 2, 2009 at 12:40 PM, sebastian <inforazor at gmail.com> wrote:
> had a flash of insight and thought i'd put PHP in that rewrite field
> box, but it doesn't work... it outputs the PHP as HTML
> :(
>
> am I just out of luck?
>
> sebastian wrote:
> > Hello Themers,
> >
> > Here is a pickle,
> >
> > I have a view, and I am using the check box on the image_field:
> >
> > [x] Rewrite the output of this field
> >
> > And below it, I have wraped my output in some DIV tags that add drop
> > shadows.
> >
> > Only, not all my Node's have an image, which is the way it should be
> > [flexible]; only Drupal still renders the wrapping DIVs instead of
> > seeing that there is no content, and not theming the field...
> > consequently, I get drop shadows when it makes no sense.
> >
> > Does anyone know how to resolve this and stop Views from rendering
> > supporting tags when using "rewrite output"?
> >
> > Thank you so much for your help!
> >
> > Kindly,
> >
> > Sebastian.
> >
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20091202/20e66a4a/attachment.html
More information about the themes
mailing list