Restrict content on full page views only
catch - April 22, 2009 - 09:27
| Project: | Restricted content |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
For a client site I need content to appear as normal in teaser listings but show a registration / upgrade message when viewing the individual node. Seems like it'd probably be a setting plus menu_get_object() somewhere to implement.

#1
Here's a patch - adds a variable/checkbox to the settings form then checks it in hook_nodeapi.