Page manager (PM) allows overriding the node view. This patch adds a view plugin style that allows rendering the node using PM.
It still has a TODO, about showing a warning to the user if node view override isn't active, but I set it to needs review, to make sure this is the right track.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 10032520-pm-views-style-node-view-1.patch | 8.18 KB | amitaibu |
| pm1.jpg | 17.23 KB | amitaibu | |
| pm-views-style-node-view.patch | 3.32 KB | amitaibu |
Comments
Comment #1
amitaibuAdd missing handler in cases views has a pager.
Comment #2
merlinofchaos commentedDoesn't the panels_teasers module more or less already do this?
Comment #3
amitaibu> Doesn't the panels_teasers module more or less already do this?
I Didn't know about this module. Apart of a wsod #867266: Error: Call to undefined function panels_display_get_title() in ...\sites\all\modules\panels_teasers\panels_teasers.module seems to be fine. However I think that maybe the correct approach should be allowing Views to be aware to page_manager - which might save us some lines of code, and have something like this (node.views.inc):
The advantage is that users can create pages for teaser/ full view, and Views will be aware of that.
Comment #4
japerryClosing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)