News Feed Ticker - Date - unspecified error

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
LJLachance
 
 
Posts: 128
Joined: Sun Feb 04, 2018 8:19 pm
Location: Jacksonville, FL
Contact:

News Feed Ticker - Date - unspecified error

Post by LJLachance »

I am working with the current version of WB and trying to find a reason for an unspecified error when changing the year for the date to be displayed.

Specifically I would like to have the end result appear as it can be found as the third item NewsFeedTicker3 at https://www.wysiwygwebbuilder.com/suppo ... icker.html.

I'm using User Defined Data Source - viewer type slideshow and if I attempt to change the year of the date from the current year to any other year, I get an unspecified error message.

Is it not possible to pick the year when editing the user defined content? Insight appreciated.
User avatar
Pablo
 
Posts: 23475
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by Pablo »

To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.

I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
LJLachance
 
 
Posts: 128
Joined: Sun Feb 04, 2018 8:19 pm
Location: Jacksonville, FL
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by LJLachance »

a simple example attached - I am only able to use the year 2022. If I attempt to change the year to anything else I get an unspecified error.
https://www.lachance.org/newsticker_example.wbs

Thanks
User avatar
Pablo
 
Posts: 23475
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by Pablo »

Thanks for the project.
However, it seems to work correct.
There is no error when I preview the page.
LJLachance
 
 
Posts: 128
Joined: Sun Feb 04, 2018 8:19 pm
Location: Jacksonville, FL
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by LJLachance »

There is no error because the dates specified are 2022. If you try to change the date to 1965 or some other date, upon making the change and clicking OK, I get the error.
User avatar
Pablo
 
Posts: 23475
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by Pablo »

Unfortunately, you cannot use 1965, because the JavaScript date range starts at January 1, 1970
https://developer.mozilla.org/en-US/doc ... jects/Date
LJLachance
 
 
Posts: 128
Joined: Sun Feb 04, 2018 8:19 pm
Location: Jacksonville, FL
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by LJLachance »

This is not good for my team - all I can do now is wonder. I did find this:
https://stackoverflow.com/questions/672 ... efore-1970 which allegedly works to allow dates prior to 1970 however I have no idea how to do this. Is it possible to add something to the header or body to cause this change?

Thanks Pablo, as always...
User avatar
Pablo
 
Posts: 23475
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: News Feed Ticker - Date - unspecified error

Post by Pablo »

This code is for PHP. Not for JavaScript.

Alternatively, you can include the date in title as regular text as text, and uncheck the option 'include date'
Post Reply