Bug #479

Expired News articles are visible at Client Area of WHMCS

Added by Gurpreet Singh over 8 years ago. Updated over 8 years ago.

Status:Resolved Start date:21 Aug 2015
Priority:Normal Due date:
Assignee:Gurpreet Singh % Done:

0%

Category:-
Target version:-

Description

Expired News articles are visible at Client Area of WHMCS in the Announcements section.

announcementlist.tpl (2.4 kB) Gurpreet Singh, 10/08/2015 03:06 pm

History

Updated by Gurpreet Singh over 8 years ago

Hi,

Fix: In whmcs\templates\kayako\announcementlist.tpl:

Just after foreach loop start, add the if condition:

{if $_newsItem.expiry==0 or $_newsItem.expiry>=($smarty.now)}

and just above the closing of foreachloop, add the {/if}.

PS. You may simply replace the attached file under the above said location as well.

Regards,

Updated by Gurpreet Singh over 8 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF