I was wondering what the best way is to override views that are a "page" view....I have a number of views (actually quite a few) that need to be overridden (similar to the taxonomy term override), some of these are nodequeues, some of them are teaser lists of nodes. I would love an easy way to override all of these pages, but I can't seem to find one. I know I could go through each and make a page override for each page, but that doesn't seem like the correct way (plus it would take hours and hours).
It would be amazing (feature request maybe?) if we had a views plugin that allowed you to set a panel page to do the override on any views page you create ;) but since that does not exist is there a way to do this?
Thanks....
Comments
Comment #1
jmather commentedStill struggling with the best way to do this, any suggestions?
Comment #2
jmather commentedOk, simplifying this a bit, say I just want to have a generic panel that will do a node teaser display of a given nodequeue...in other words, I have a nodequeue and it has a page view and this links to a title on a pane. When I click on this pane title, I want to display a default panel with the node teasers in it that are in the nodequeue. I would assume I would somehow have to pass the nodequeue id into the panel and view. But I can't quite see how to do this?
Comment #3
merlinofchaos commentedOk, you can't override a Views page with Panels. It won't let you; Views will 'win' the battle for the same URL and Panels (actually, Page Manager) will defer. So to start with, you need to either use different URLs, remove the page displays from the nodequeues or disable the views entirely.
In order to get the nodequeue IDs from Panels to Views, set an argument to the 'string' type. You can pass the string freely to Views and it will use it as an argument.