When I look throught the code, I see that the "value_form" adds a PHP textarea. However, this doesn't seem to show up in the View editing pane. Is there a special combinaison of click I need to do to make this textarea appear (except enabling the module ! :-)
Comments
Comment #1
Alice Heaton commentedHi Greg,
You have to add it as a filter -- in your view, add a new filter ; select the 'Views' group, and tick 'Views modify query'.
You can then enter the PHP code by editing the filter.
Does this answer your question ?
Comment #2
greg911 commentedYes it's perfect !
Maybe a little doc could help to prevent thoses "stupid" questions :-)
I just have to figure out "how" to add my custom tables to the view fields list !
Thanks a lot for the quick answer
Comment #3
greg911 commentedComment #4
mrtoner commentedReopening: need compatibility w/ Views 2.0rc2.
Comment #5
Alice Heaton commented@mrtoner : Could explain what the problem is please ?
Comment #6
mrtoner commentedSorry, I should have been clear. The Views group does not appear in the filter, nor does Views modify query. I updated to Views rc2 yesterday, which I understand has broken a few other modules. I installed VMQ for the first time after updating Views.
Comment #7
Alice Heaton commentedOk - I haven't tested with Views RC2 yet. It seems another of my views module is broken with RC2 as well ! I'll update soon and will let you know what the situation is.
Comment #8
Alice Heaton commentedOk, I've commited the fix. Remember It'll take up to 12 hours for the nightly snapshot to get updated.
While there, I also added a feature ; you can now output the result of the code as Views Field.
Comment #9
mrtoner commentedYup, that did it! BTW, "If you do know what you are doing, do not use this." -- did you deliberately word that statement like that?
Comment #10
Alice Heaton commentedOoops, no I didn't ! Thanks for pointing this out :)
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.