Posted by liliplanet on August 29, 2008 at 9:18am
Hi All,
Hope you are very well.
What I would like is that say when a Platinum member role expires, it hides their own specific content.
This works that if you are a Platinum member, you are able to view this field.
<?php if (user_access('Platinum')): ?>
<div class="field field-type-text field-field-amount">
<div class="field-items">
<div class="field-item">Amount: <?php print $node->field_amount[0]['view'] ?></div>
</div>
</div>But I would like that if you were a Platinum member before and it is expired, not to show the fields that you were able to previously add as a Platinum member. So hide the field if you are the author of the Platinum field, but your role has expired.
Is that possible please?
Would most appreciate any help, and thank you.
Lilian

Comments
.
Answered at http://drupal.org/node/301507
Michelle
See my Drupal articles and tutorials or come check out the Coulee Region