Fork me on GitHub

Pagemaster and core_datetime as YMD only  Bottom

  • I've poked around and Googled and not figured out how to have a pagemaster (using 0.4) publication show the publication date as only YYYY-MM-DD without hours and minutes. Where and how does one configure the datetime output/display in pagemaster?

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • why not use the good old Smarty...?

    Code

    $_YOURFIELDDATE|date_format:"%Y-%M-%D"

    for the correct syntax, check http://www.smarty.net.

    - Igor
  • Quote

    why not use the good old Smarty...?


    Thanks. That was (is) the work around I was (am) using. I just wondered if I was missing a setting somewhere in PM. I'm pretty sure not.

    I'm not a coder, but I can manage HTML and CSS pretty well and some PHP (especially if it means modifying well thought out code). I was thinking of the larger population out there...

    I can add this to the documentation Wiki easily enough, and I suppose I should add it as a feature request.

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • Pfew, not sure, I never use the pndate thing, but maybe this
    http://community.zikula.org/module-Forum-viewtopic-topic-54367.htm
    might come in handy....

    - Igor

This list is based on users active over the last 60 minutes.