Closed (fixed)
Project:
Auto Expire
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2009 at 20:42 UTC
Updated:
19 Jun 2009 at 22:30 UTC
I know this issue was posted almost 2 years ago, but is there a way to print the date that a node expire?
I have tried the original:
<?php if ($expire): ?><?php print $expire_flag ?><?php endif; ?>
A change suggested:
<?php if ($node->$expire_flag): ?><?php print $node->$expire ?><?php endif; ?>
and then a different kind:
<?php if ($node->$expire): ?><?php print $node->$expire ?><?php endif; ?>
I do know that there is a node with an expiration date because I can see it in the database table. So I am imagining that this is more of an issue with syntax or I just don't have the variabls correctly named. Any help would be appreciated.
Comments
Comment #1
yraber commentedTry this :
print format_date(_auto_expire_get_expire($node->nid));
Comment #2
marcvangend