Hi, I am using Flatpress 1.4.1 with the plugin EntryList 1.0.2 and when in the page I call:
[entrylist y=26]
in every article witten years before appears the current hour:
You can see the problem here https://www.warsintheworld.com/?page=static1767387107 clickin on the year (es 2026):
https://www.warsintheworld.com/?page=static1767387107
January
01
21:03:47
Democratic Republic of the Congo: Congo says more than 1,500 civilians killed in South Kivu violence
02
21:03:47
Yemen: Saudi warplanes strike United Arab Emirates-backed separatists in southern Yemen
Error with plugin EntryList 1.0.2
-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
- Contact:
Re: Error with plugin EntryList 1.0.2
Repaired function listEntries(..
-
Lubomír Ludvík
- Posts: 80
- Joined: Wed Feb 20, 2019 7:44 pm
- Location: Rouchovany
- Contact:
Re: Error with plugin EntryList 1.0.2
time format corrected in function listEntries(
Code: Select all
$timeFormatted = date('H:i', $timestamp);
$return .= "\n " . $timeFormatted . " ";Re: Error with plugin EntryList 1.0.2
Thank you now it works.
The last thing.....you released version 1.0.4 but I see always version 1.0.2 on plugins page.
The last thing.....you released version 1.0.4 but I see always version 1.0.2 on plugins page.
- fraenkiman
- Posts: 470
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: Error with plugin EntryList 1.0.2
Hello everyone,
I'm not sure if it's a good idea to hardcode the date format into the plugin with
.
I have generated an alternative version 1.0.4. This respects the short date format that has been set in the admin area.
I have also fixed another bug: Previously, multiple [entrylist] tags influenced each other -> Fixed.
The patch from 1.0.2 to 1.0.4 is also available in the flatpress-extras repo. Pull requests are always welcome. Bugs can also be reported via the issue tracker.
Best regards,
Frank
I'm not sure if it's a good idea to hardcode the date format into the plugin with
Code: Select all
$timeFormatted = date('H:i', $timestamp);
$return .= "\n" . $timeFormatted . " ";I have generated an alternative version 1.0.4. This respects the short date format that has been set in the admin area.
I have also fixed another bug: Previously, multiple [entrylist] tags influenced each other -> Fixed.
The patch from 1.0.2 to 1.0.4 is also available in the flatpress-extras repo. Pull requests are always welcome. Bugs can also be reported via the issue tracker.
Best regards,
Frank
My
Re: Error with plugin EntryList 1.0.2
Thank you
Who is online
Users browsing this forum: No registered users and 1 guest