Custom Date Format display problem [SOLVED]

More
13 years 3 months ago #18158 by torres86
I'm using using v 1.5.4 and Joomla! v 1.5.23.

I am adding a date field and want to set a custom format display option. I'm selecting Date format = Custom format, and using the following: %A, %B %d, %Y

In return on the front-end I am seeting:
YYYY-MM-DD (example: 2011-08-17)

What I want to see is: "Thursday, August 18, 2011"

Any suggestions?

Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #18160 by ggppdk
This bug along with another bug related to timezone offset, have been fixed. Please get fix here:

www.flexicontent.org/forum/index ... pic#p17523

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago - 13 years 3 months ago #18174 by torres86
Thank you! Worked perfectly.

actually... see below. I did run into another problem.
Last edit: 13 years 3 months ago by torres86.

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #18179 by torres86
Actually, just found a problem. I used your date fix. Now when I go to edit an Item in the back-end I see the following error messages:

Warning: Parameter 2 to plgFlexicontent_fieldsDate::onDisplayField() expected to be a reference, value given in /Applications/MAMP/htdocs/hva/libraries/joomla/event/event.php on line 67

And in the date filed, no text box is there. in place is the following error message:

"Please publish the FLEXIcontent fields plugins"

I've checked, the plugins are published.

Another question, I see that there is a 1.5.5 stable version available. I am on 1.5.4. Does the update have the fix built in?

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #18180 by ggppdk
Don't upgrade yet, better wait and upgrade to v1.5.6

Flexicontent field in v1.5.6 has changed a little.


In date.php find line:
Code:
function onDisplayField(&$field, &$item)
and change to
Code:
function onDisplayField(&$field, $item)

and Test


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #18240 by torres86
Great, the fix worked. Thank you!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.380 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline