Needs work
Project:
Premium
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2009 at 05:06 UTC
Updated:
31 Aug 2011 at 09:57 UTC
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
Comment #1
tripper54 commentedComment #2
dklee commentedI believe I am experiencing this same issue.
Comment #3
kompressaur commentedMe to :(
Comment #4
miklThere'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.
Comment #5
alexkb commentedThere'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