1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    Dismiss Notice

Free Add clock to footer

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 22, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    593
    Trophy Points:
    113
    Gender:
    Male
    Simply put, this adds the date and time to your footer. Clicking it will take you to the Preferences page, where you can change the time zone.
    (Note: I'm hoping to adjust it to make it to show just the time once I figure out that code.)

    To install, go to <ul class="footerLinks"> in the "footer" template, and add the following code before the </ul> tag.

    Code:
    <li><a href="{xen:link 'account/preferences'}"><div class="time muted">{xen:datetime $datetime, 'absolute'}</div></a></li>
    Then...you're done.
     

Share This Page