[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drupal-development
Subject:    Re: [development] Field for a View
From:       Vaibhav Jain <in.vaibhavjain () gmail ! com>
Date:       2012-01-10 3:44:02
Message-ID: CAGNDeN=ovcq4WD3bT_ve=u-_QiM1BFKxrg8LKTAsYmt3+0gmRw () mail ! gmail ! com
[Download RAW message or body]

You can also use hook_views_pre_render or any other hook and add data or
image in $view->attachment_before,
this would render the image above the main view.

On Tue, Jan 10, 2012 at 3:57 AM, Fred Jones <fredthejonester@gmail.com>wrote:

> > To use CCK blocks combined with a View, build the page with a node,
> display the view in a block in a region below content.
>
> Interesting idea--basically have the node have no content, just a
> placeholder for the View. Sounds odd, but I suppose it would work. :)
>
> Fred
>



-- 
Regards,
Vaibhav Jain

[Attachment #3 (text/html)]

You can also use hook_views_pre_render or any other hook and add data or image in \
$view-&gt;attachment_before,<br>this would render the image above the main \
view.<br><br><div class="gmail_quote">On Tue, Jan 10, 2012 at 3:57 AM, Fred Jones \
<span dir="ltr">&lt;<a \
href="mailto:fredthejonester@gmail.com">fredthejonester@gmail.com</a>&gt;</span> \
wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im">&gt; To use CCK blocks combined with a View, \
build the page with a node, display the view in a block in a region below \
content.<br>


<br>
</div>Interesting idea--basically have the node have no content, just a<br>
placeholder for the View. Sounds odd, but I suppose it would work. :)<br>
<span class="HOEnZb"><font color="#888888"><br>
Fred<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Vaibhav \
Jain<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic