Download & Extend

Premium with Views/Panels overriding default node display

Project:Premium
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Hi,

I want to override the default system page for node display for a specific content type, so I can display a couple of CCK fields exactly how I want to. I tried using Panels to override the page, and show a Views block with the node body and the custom fields would do the trick. This works ok, but it seems to negate the premium magic - now anyone can see the full node body whether they are logged in or not, and I've lost the premium "you're not logged in so you can't read this" message.

Can anyone suggest a way I can achieve what I'm after without losing the premium magic? Does premium play well with Views?

Comments

#1

Title:Premium with View/s/Panels overriding default node display» Premium with Views/Panels overriding default node display

#2

I believe I am experiencing this same issue.

#3

Me to :(

#4

Status:active» needs work

There's several ways this could be done. I think I'll make premium status a display rule, so you can decide what content to show depending on premium status.

#5

There's a new premium module that supports panels now, check out: http://drupal.org/project/premium_content

We ran into this problem right before launching a new design, so we didn't have the time to test that new module, but were able to get around it, by setting a php rule on the node body to return $contexts['argument_nid_1']->data->premium.

Some more info here on using node fields as php filters:
http://drupal.org/node/853220#comment-3289200