1
MS-2001
php in templates
  • 2004/11/6 18:05

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


i want to display the current year in my theme.html. does anyone know how to do that?

isnt working :-/

2
MS-2001
Re:php in templates
  • 2004/11/6 18:37

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


ok, someone told me its
<{$smarty.now|date_format:"%Y"}>

and that works fine ;)

3
zANavAShi
Re:php in templates
  • 2006/1/6 6:00

  • zANavAShi

  • Just popping in

  • Posts: 28

  • Since: 2005/5/6 5


Whew!!! I was so glad to find this today!

Thanks a bunch and please pass along some extra thanks to the "someone" who told you this very useful piece of code.


Login

Who's Online

208 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Apr 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits