Author Topic: Problem displaying via "date_modified" in LinkX  (Read 1007 times)

0 Members and 1 Guest are viewing this topic.

Offline JT

  • New Users
  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Problem displaying via "date_modified" in LinkX
« on: January 14, 2015, 02:14:20 AM »
Using LinkX version 1.1.0, I am finding that using a conditional "IF" for date_modified doesn't work the way it does with "date_added". Here's my code...

this works for sites added less than a week ago:
{if $link.date_added >= time()-604800}<span class="the_new">- New!</span>{/if}

yet this doesn't work:
{if $link.date_modified >= time()-60480}<span class="the_updated">- Updated!</span>{/if}

Any idea why?

Unofficial JMB Support Forums

Problem displaying via "date_modified" in LinkX
« on: January 14, 2015, 02:14:20 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1115 Views
Last post May 18, 2012, 04:38:12 PM
by a4evermedia
0 Replies
1343 Views
Last post October 19, 2012, 05:33:26 PM
by Chad
1 Replies
2209 Views
Last post January 29, 2014, 02:34:53 PM
by apollouk
0 Replies
978 Views
Last post August 09, 2013, 06:58:52 PM
by Chad
1 Replies
1037 Views
Last post September 11, 2013, 04:25:42 PM
by a4evermedia

anything