I'm setting up a new site in Drupal, and all is going well. However we're going to need to restrict access to certain content to registered users. I downloaded the taxonomy_access module, and that worked fine, except . . .

Taxonomy_access completely hides the restricted content. Ideally, what we would like to happen is for guests to be able to see the title and first paragraph on the index and category pages, but then to get a 'please register' message when they click through to read the entire article.

This doesn't seem to be possible in taxonomy_access. Does anyone know of a way this could be done? It seems like it would be very useful for people trying to encourage sign-up or paid subscriptions - you can display a 'teaser' to get people interested, and then request they sign-up.

I have the latest versions of the module and Drupal.

Any ideas, either using another method or hacking taxonomy_access?

Many thanks for any assistance.

Comments

Roddy’s picture

I'm going to bump this up once in hope of an answer - any suggestions, or ideas on where I might get some help, would be appreciated.

Many thanks

Roddy

sepeck’s picture

but on appraoches, the ecommerce suite has a subscription module. That may be a starting point on access limitations. Not sure if you can do the title thing or not with it as I haven;t played with it for that purpose.

Otherwise, you could create a php based page doing a sql query for the titles, then when the user clicks on it, they will get an access denied page.

Just ideas on appraches there, no solutions for you.

-sp
---------
Drupal Best Practices Guide - My stuff Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

Roddy’s picture

Ok, thanks for that. Will have a look into it.

christian.bender@fuenfzehndreissig.com’s picture

Maybe the premium.module is a solution for you. I used it successfull with the actual Drupal versions (4.6.2. + 4.6.3).

Roddy’s picture

Have got in touch with the premium.module guy - looks like it might be just what I'm looking for.

Roddy

Roddy’s picture

Got it installed - seems to be what I'm looking for.

eldarin’s picture

.. is that you need to "proxy" the nodes somehow.
I.e you would need another node which only reflects the node teaser, and then would have a "more"-link to the full node article.
Perhaps a flexinode or something could do this, perhaps with "PHP-formatted" nodes for reflecting the teaser-snippets ?

Otherwise you could just copy the "story.module" which is very basic, and then make your modified module respond to a special URL which would display the teaser - as a node with no "textual content". It could be a fully dynamic presentation (i.e getting node-teaser-content with SQL-queries in your module).

Well, some ideas at least. I think you would have a problem with nodes which themselves are "dynamic" with possible PHP-content, but that does not seem to be the case here.

venkat-rk’s picture

Jeremy Epstein has had some solution on his site for a few months now. Might be what you are looking for:
http://www.greenash.net.au/posts/thoughts/sneak_previews_drupal