The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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! |
#2
|
|||
|
|||
Does that mean there is no such conditional, or that it's a secret?
|
#3
|
|||
|
|||
So ronery.... /teamamericakimjongil
|
#4
|
|||
|
|||
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.
|
#5
|
|||
|
|||
Thanks! The template is vbcms_widget_recentarticle_page (though I have modified it a bit to strip out a lot of the clutter).
|
#6
|
|||
|
|||
I'm guessing this is something that can't be done?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|