Hi guy’s, what tags would I use to do this inside exp:comments
if today
-do this
if:else
-do this
Cheers
Lee
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 23, 2012 5:33am
Subscribe [2]#1 / Aug 23, 2012 5:33am
Hi guy’s, what tags would I use to do this inside exp:comments
if today
-do this
if:else
-do this
Cheers
Lee
#2 / Aug 23, 2012 5:44am
Sorted: {if '{comment_date format="%Y-%m-%d"}’ == ‘{current_time format="%Y-%m-%d"}’}
#3 / Aug 23, 2012 12:19pm
I think you might be able to shorten it to this if you want:
{if ‘{comment_date}’ == ‘{current_time}’}I believe that the formatting is just for display purposes, so you probably don’t need it.
#4 / Aug 23, 2012 1:18pm
Hey all,
Nice work!! Love this community.
If you need anything else, please just let me know by opening a new thread.
Cheers,