I'm trying to change the date format in the storiesext block and it seems not to work. I using:
%B %e, %G
which should display something like:
February 10, 2010 but all I get is the February bit and nothing else.
I'm using news 2.5.1 and zikula 1.2.2. I'm not sure if its the blocks problem, zikula's problem or a user problem. Any help is much appreciated.
Thanks
Denis.
- mercromina responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 08:01 PM
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
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
News - storiesext block date problem
-
- Rank: Developer
- Registered: Feb 23, 2005
- Last visit: May 09, 2010
- Posts: 399
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
Hi, did you chage it by using the dateformat block settings? I just tried in my news 251 and zk 121 site and that works fine.
The code being used is in the default row template is:
Code
<!--[gt text='on %s' tag1=$from|pndate_format:$dateformat domain=$dom]-->
edited by: espaan, datetimebrief
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Developer
- Registered: Feb 23, 2005
- Last visit: May 09, 2010
- Posts: 399
Thanks for the reply Eric,
Yes I changed it in the block settings. I just loaded clean install and DB +installed the news module and I get the same result with that too. I'm wondering if it may be something to do with xampp on my local host. I might clean this up get it on a live server. Thats got a different PHP version. I'll have to have a bit of digging around.
Thanks
Denis -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
I'm not using 122 yet, so not sure if something changed in the pndate_format plugin? Have to check as well.
--
campertoday.nl, Module development, Dutch Zikula Community
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
