Not Work for me!

3 Jahre 7 Monate her - 3 Jahre 7 Monate her #716 von carosouza
Not Work for me! wurde erstellt von carosouza
Hello, After installing the plugin will in configurations:

Time 1: Example
09-05-2015-12-00
09-05-2015-12-10
text

Time 2: Example
09-05-2015-12-15
09-05-2015-12-20
texto2

Time 3: Example
09-05-2015-12-30
09-05-2015-12-35
Text3

But to save it saves all at the same date / time of the first example, and the site appears anything, any tips, this in localhost.

Joomla 3.4.1
PHP 5.4.38
3 Jahre 7 Monate her #717 von Maike
Maike antwortete auf Not Work for me!
Hello carosouza,

we've done some tests with the Timewindow plugin on Joomla 3.4.1, this is what we found out:

We're using the calendar form field type for date selection in the plugin configuration, which is a Joomla default form field.
Selecting the date works ok, but upon saving the plugin configuration, all minutes will be set to 00 .
This means that currently, the smallest time frame to configure is 1 hour instead of 1 minute (e.g. 12:00 to 13:00 , etc).

In your example, all your dates are within the same hour (09-05-2015-12-00, 09-05-2015-12-10, 09-05-2015-12-15, etc), and since all minutes get saved as 00, this results in all dates being the same after saving.

Thank you for reporting this issue, we will investigate this further and release a updated version as soon as this issue gets fixed.


maike

If you like our extensions and think they are worth 5 stars, please write a review in the JED
3 Jahre 6 Monate her #720 von carosouza
carosouza antwortete auf Not Work for me!
Thanks Maike, I'm downloading and I will try, thank you and success to you!
3 Jahre 6 Monate her #721 von carosouza
carosouza antwortete auf Not Work for me!
Hello, I downloaded and installed the 1.3.0 version and not work, only he is showing the message finalized, the first three messages do not appear. Only configured and activated the plugin and put the tag in Article {timewindow}. thank you
3 Jahre 6 Monate her #722 von Maike
Maike antwortete auf Not Work for me!
Hi carosouza,

we've done some tests with the plugin, and it worked as expected.

Did you install the latest version over a older version?
If so, there might still be wrong values in the plugin configuration.

Please try this:
In the plugin's settings, delete the values (dates) from all calendar fields, and save.
Next, choose your dates in the calendar fields and save.
Please make sure that the timewindows don't overlap, this might result in unexpected behaviour.

Example with wrong settings:

Start1: 2015-01-01 00:00:00
End1: 2015-06-01 00:00:00

Start2: 2015-06-01 00:00:01
End2: 2015-06-07 00:00:00

Start3: 2015-05-30 00:00:00
End3: 2015-08-01 00:00:00

As you can see here, timewindow2 is completely within timewindow3, and even timewindow1 overlaps with timewindow3.
This will lead to a unwanted behaviour, depending on the current date/time - between 30.05.2015 00:00:00 and 01.08.2015 00:00:00 , only the message for timewindow3 will be displayed.
The message for timewindow2 will never be displayed in this example.

Example with correct settings:

Start1: 2015-01-01 00:00:00
End1: 2015-05-31 23:59:59

Start2: 2015-06-01 00:00:00
End2: 2015-06-07 23:59:59

Start3: 2015-06-08 00:00:00
End3: 2015-08-01 00:00:00

As you can see here, the timewindows don't overlap, and the respective messages will be displayed correctly, depending on the current date/time.


maike

If you like our extensions and think they are worth 5 stars, please write a review in the JED
Powered by Kunena Forum