<a href="[~[+id+]~]" >[+pagetitle+]</a>
how would I make the data format 13-Oct-08 16:33 without the time?
Posted [+createdon:date=`%B %d, %Y`+]
how would I make the data format 13-Oct-08 16:33 without the time?
Just Google "php timestamp" ... there are so many ways you can vary the output of the date. Here’s one I just used on one of my sites which outputs: "Posted September 30, 2008" ... the code is below:
Posted [+createdon:date=`%B %d, %Y`+]
I guess for this to work you need to install PHx.note: PHx is installed to use within a Ditto tpl

I guess for this to work you need to install PHx.note: PHx is installed to use within a Ditto tpl
Note: to use php to format the time (as in with Ditto or PHx) you need to start with a timestamp.
, I guess I need to check under the hood with latest ditto... u know hidden treasures. lol
modx has lots of hidden treasures
Quote from: dev_cw at Oct 13, 2008, 05:18 AM
I guess for this to work you need to install PHx.note: PHx is installed to use within a Ditto tpl
Note: to use php to format the time (as in with Ditto or PHx) you need to start with a timestamp.
thanks for the info Shane, I guess I need to check under the hood with latest ditto... u know hidden treasures. lol