Whilst trying to get views content into Panels displays I have seen that views can create a node over-ride, by having a page with node/% path.
I also see that I can create a panel which will override a node view (again using node/%). As far as I can see I could have a different view in the panel.

If both are set to override the basic node page, is there not a potential conflict? This really is not an "issue" - but I am curious - and probably just demonstarting my ignorance ;-)

Comments

sdboyer’s picture

Status: Active » Closed (works as designed)

Yes, it would create a conflict, one that would be crudely and painfully resolved by module weight.

This rabbit hole actually goes _very_ deep, and is the subject of some fair bit of discussion right now (both within the Panels devs and in wider circles, too). We'll have a better solution for handling multiple panels implementations wanting to override node/% at some point soon, but I don't think that reconciling views in there is on the plate. Nor should it be, really - I can't think of a legitimate use case, or at least one that isn't massively better done by some other means.

merlinofchaos’s picture

I'm pretty sure if you put node/% as a path in Views, your site is going to break hideously anyway.