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.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Pagemaster and core_datetime as YMD only
-
- Rank: Expert
- Registered: Feb 27, 2005
- Last visit: Apr 18, 2010
- Posts: 1577
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
why not use the good old Smarty...?
Code
$_YOURFIELDDATE|date_format:"%Y-%M-%D"
for the correct syntax, check http://www.smarty.net.
- Igor -
- Rank: Expert
- Registered: Feb 27, 2005
- Last visit: Apr 18, 2010
- Posts: 1577
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. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
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
- Moderated by:
- Support
