![]() |
CMS template conditional based on timestamp
I'm hoping you bright folks can help me out here! I want to edit the latest articles widget in the CMS so that a little "NEW!" icon appears next to articles posted in the last 24 hours.
What conditional would I put in the template to determine whether or not to show that icon? Thanks in advance! |
Does that mean there is no such conditional, or that it's a secret? :)
|
So ronery.... /teamamericakimjongil
|
Not that the CMS is my area of expertise, but there is no reason you cannot create a plugin and pass your variable to the template to use as your own conditional. Post a template name and then I can be more helpful.
|
Thanks! The template is vbcms_widget_recentarticle_page (though I have modified it a bit to strip out a lot of the clutter).
|
I'm guessing this is something that can't be done?
|
All times are GMT. The time now is 05:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|