By howidid on
I need to set up the site with teaser content..where on the home page or in categories, visitors can see a small teaser of the article or content and can read the full article only when they register or pay.
I created two roles. Now, when I give content access permissions to the higher role, the visitors are not shown anything at all. How can I show a teaser to the visitors in this case?
TIA
Deep
Comments
Very interesting
Very interesting question.
There is the Premium content module to do just this it seems:
But judging from the issues queue there might be some problems with it and it also doesn't appear to be in the process of being ported to D6. You could try to adapt fix this.
Another thing that occurred to be is maybe you could use the Path Access module (also D5 I'm afraid) to restrict access to /node or whatever you are using for your nodes, and see if the teasers will still display in other places (front page, search, etc.).
One last thought, you could try using separate nodes... one for free and one for pay and somehow automate the relationship and/or the creation of the teaser node when the parent node is created. There are various node relationship (connect module might be good for this) and node creation modules available for D5.
Unfortunately, using D6 for this type of advanced functionality is going to put you at a disadvantage as a lot of crucial modules are not yet available for D6.
If it were me, I would try to get the premium module working-- that's probably the best solution.
Just as an exercise, I took
Just as an exercise, I took a shot at updating the Premium module for D6. The updated code is posted on an issue in the issues queue. Seems to be working on my dev site ok.
Thanks, Which version you
Thanks,
Which version you tried mate? Is it still working fine for you?
Is there any paid module/component for such functionality?
Regds.
i tried both the d5 and d6
i tried both the d5 and d6 versions. I tried d5 to make sure I understood how it worked, then I made the port to d6 and tried that to make sure it still functioned the same way as the d5 version.
As for pay module... I believe there are several, you'll have to check the modules page. Since the premium module uses roles for premium content, I would think that any module that places a paid user into a specified role (which should be the same role chosen for the "access premium content" permission) should integrate just fine.
_
I am wondering if this could be done with CCK fields.
I started looking for a solutin before I came across this - under http://drupal.org/node/765454.
With a problem of anchor linking across CCK fields - raised here - http://drupal.org/node/765580.
Since I am still looking for the most efficient solution I thought I just add this note here in case any of you guys have found the holy grail of teasing and keeping premium content in one node separate with all those anchor links working.
Thanks ....
_
After testing the Premium module - I think it will be the answer for the task in hand.
However, anchor linking across CCK fields would still be a good think in other situations.