Posted by catch on April 22, 2009 at 9:27am
2 followers
| Project: | Restricted content |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
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.
Comments
#1
Here's a patch - adds a variable/checkbox to the settings form then checks it in hook_nodeapi.
#2
Needs an addition to restricted_content_var() as well. Seems like it should be TRUE by default?