I am trying to add new options to the Page display of Views 3 (in D7).
Basically, I have a module that add a new entity that can be manipulated by Views 3 (like what the wbapi module does).
But I want it to add some more advanced configuration options to the Page display (and eventually to other displays).
Is that possible, if so how?
I spend hours and hours trying to make this working, and I have never been able to make it working. What I have been able to do is to create a new display plugin by using the hook_views_plugins(), and by extending the views_plugin_display_page() class. However, this is not what I want. What I want is:
(1) Directly modifying the options of the Page display
(2) Another acceptable option would be to remove all the default displays (page, block, attachment, etc) and then to add a new display of my own.
So, is any of this possible?
Thanks!
Take care,
Fred
Comments
Comment #1
fgiasson commentedAnd then I found hook_views_plugins_alter() which was enabling them to change the handler of the page display plugin. I should be able to run with this!
Comment #2
fgiasson commented