Regarding the premium.module which is fabulous, as I love the ability to restrict role after the teaser .. but ..

I need to restrict roles after the teaser by role AND taxonomy term and not time based.

I was wondering, would it be possible to offer that capability? Or even if I had to insert the code into my node-article.tpl.php directly.

for instance in template:

<?php
$account = user_load(array('uid' => $node->uid));
if (in_array('Anonymous User', $account->roles)) :
?>
Load Teaser</div>
<?php endif; ?>

<?php
$account = user_load(array('uid' => $node->uid));
if (in_array('Authenticated', $account->roles)) :
?>

Full Article</div>
<?php endif; ?>

my problem is, if (in_array('Authenticated', $account->roles)) : AND Taxonomy ID ..

Would be most happy to pay you for this alteration, and please contact me via contact form.

Look forward to hearing from you.
Lilian

Comments

mikl’s picture

Status: Active » Closed (won't fix)

I think this is beyond the scope of this module. You should be able to do this yourself with hook_nodeapi if you want.