By cimo on
I want to override a content type with Views so I set the filter to "Node type: only mynodetype" and the arguments to "NID", add a page display and give it url=node/% . So far it works but then I don t get any content for other content types since the view page url is overriding all nodes.
I tried to have 2 pages display on validating the argument for a certain content type but it s not possible for the view to have 2 pages with the same url.
Am I missing something very basic? Seems like there should be a "context" feature as in Panels.
thanks
Simone
Comments
Overriding a node display
Can be achieved pretty easily with panels. Just activate the nodetemplate-page and add a variant with a selection rule so that only the templates of your content type are overridden. You can create the layout you want and fill it with your view or any other stuff you want. It ts pretty easy since the "new" P3 nuked the delegator module.
Hi thank you for the reply. I
Hi thank you for the reply.
I know that but I think that P3 is a bit overkill for the task, so I decided not to use Views at all ! I ve instead used css and node template to get a different output for the 2 different node types.
SImone