Foren / Cotonti / Extensions / Is there anything like the Metadates plugin for Siena?

lukgoh
#1 29. Oktober 2012, 16:10

Hello guys, hope all are well.

I'm looking to display the date differently on the index page, maybe else where. I used the Metadates plugin before but doesnt work with Siena. I was wondering if someone has made something already? 

Thanks in advance,

Luke.

Trustmaster
#2 29. Oktober 2012, 16:57

Yes, there's a better thing: Showing datas and times in a different format.

May the Source be with you!
lukgoh
#3 29. Oktober 2012, 17:41

Thank you trustmaster, I wonder why this didn't show up on my search. 

Trustmaster
#4 29. Oktober 2012, 18:41

Three options:

  • You searched in Extensions only, this page is in Documentation.
  • Different keywords.
  • Bad luck :)
May the Source be with you!
lukgoh
#5 29. Oktober 2012, 18:53

Well thanks again Trustmaster. Don't suppose there is an easy way of reducing the month to a shorter version? (October - Oct)

GHengeveld
#6 29. Oktober 2012, 21:08

You need {PAGE_ROW_DATE_STAMP|cot_date('M', $this)} (or whatever timestamp tag you are using). The important part is the capital M, which provides a short month notation, as described here: http://php.net/manual/en/function.date.php

lukgoh
#7 29. Oktober 2012, 21:55

Thank you very much! 

Twiebie
#8 29. Oktober 2012, 23:29

Fancy seeing you back here, Luke. ;)