1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 unix time in conditionals

Discussion in 'XenForo Questions and Support' started by dieketzer, Oct 21, 2014.

  1. dieketzer

    dieketzer Well-Known Member

    if a person was wanting to swap out their logos depending upon the week or day of the year (a la google), could they be able to achieve this using unix time (a year at a time obviously) in the template conditionals?

    or is there some better way to ensure 'canada day' and the like gets loaded for my canadian members... instead of forgetting.

    hoping @Jake Bunce has a happy answer ;)
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. dieketzer

    dieketzer Well-Known Member

    i will have a play

Share This Page