It would be nice to have a views handler to generate the needed code snippet in a more friendly way, and also avoid using php input format.
I'm also expressing my desire graphically. Please see attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_hacks-1845030.patch | 8.35 KB | jonhattan |
| #1 | views_hacks-1845030.patch | 6.34 KB | jonhattan |
| what_i_want.png | 56.43 KB | jonhattan |
Comments
Comment #1
jonhattanand also with code :)
still needs some work althout it is functional.
Comment #2
jonhattanNote I've removed hook_views_handlers() since it is not used in 7.x. It's enough to declare the files in .info
New patch with two changes:
* Added an example ping script: ping.php.example
* Restrict the provided handler to be eligible only in the header area, via hook_form_alter(). There's no other way to do so.. afterall it is about views hacks :)
There're three TODO comments in the code for possible features that I'm not sure if worth it implement:
the 2nd item refers to the ping script location.
Comment #3
infojunkieMoving to Views Auto-Refresh project.
Comment #4
infojunkieThanks for this patch. I'll review it soon.
Comment #5
infojunkieGreat patch, thanks! Committed it with some changes.