altering views settings programmatically
Hello All, I want to alter the header message of my view depending on some logic (whether a specific node is flagged or not). Where do i best include this in the hook system? Any help greatly appreciated! Best, Toon
On Mon, Jul 11, 2011 at 8:28 PM, toon severijns <toon.severijns@gmail.com> wrote:
Hello All, I want to alter the header message of my view depending on some logic (whether a specific node is flagged or not). Where do i best include this in the hook system?
I would do it in hook_views_pre_render(&$view) see http://bit.ly/oESicB
Great stuff! How can i get the result of the view through the handler? Best, Toon On Mon, Jul 11, 2011 at 5:05 PM, sivaji j.g <sivaji2009@gmail.com> wrote:
On Mon, Jul 11, 2011 at 8:28 PM, toon severijns <toon.severijns@gmail.com> wrote:
Hello All, I want to alter the header message of my view depending on some logic
(whether a specific node is flagged or not). Where do i best include this in the hook system?
I would do it in hook_views_pre_render(&$view) see http://bit.ly/oESicB -- [ Drupal support list | http://lists.drupal.org/ ]
participants (2)
-
sivaji j.g -
toon severijns