Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Question about Template Conditionals and XThreads
xho Offline
Junior Member
Posts: 2
Joined: Jul 2019
Post: #1
Question about Template Conditionals and XThreads
Hi all,

First of all I would like to say that I have been visiting this forum for a year or more to find information, and I have always gotten it, I have never registered because I have never needed to ask for help, since I have always managed to do everything I needed for my forum. I would like to thank especially ZiNGA BuRgA and RateU for the many years of help and free work so that others can satisfy their forums, thank you very much, really.

What I need is to do is the following:

I use an Xthreads field to show the start date of an offer, and what I need is NOT to show the start date in the case that offer has expired.

For example:
An offer starts on 07/19/2019, so what I need is not to show the date information when it is already 07/20/2019.

What I need to insert into the Display Format input of a Custom Thread Field is something like this:

<if $datenow > {VALUE} then>This offer has already started<else><span class="xdate">Start the day: {VALUE}</span></if>

If someone can help me, it would make me very happy.

Thanks, and best regards!
07-01-2019 07:02 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Question about Template Conditionals and XThreads - xho - 07-01-2019 07:02 PM

 Standard Tools
Forum Jump: