This Handbook page http://drupal.org/node/438370 and this issue comment http://drupal.org/node/422264#comment-1466510 give a suggestion and example on how to use hook_views_pre_render() to alter a view.

It seems like the example from the issue comment, and an explanation something like what's on the Handbook page, could be useful as part of the documentation in Advanced Help in the Views module, presumably the API section (although that pertains mostly to other parts of the API).

If this is done, the Handbook page should also be archived.

Comments

esmerel’s picture

Assigned: Unassigned » esmerel
iamjon’s picture

iamjon’s picture

iamjon’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

Changing status

anrikun’s picture

@esmerel: any improvement about documentation?

esmerel’s picture

Patches welcome :P

esmerel’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev
Assigned: esmerel » merlinofchaos

merlinofchaos: check out the pages, decide if they're still relevant, and then assign back :D

DrCord’s picture

Issue summary: View changes

It would be good to see this get some attention, the state of help for altering a view pre-render is still abysmal.

Chris Matthews’s picture

Status: Active » Closed (outdated)

The Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue