Error with plugin EntryList 1.0.2

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
Panther
Posts: 77
Joined: Mon Aug 12, 2019 11:05 pm

Error with plugin EntryList 1.0.2

Post by Panther » Fri Jan 02, 2026 8:04 pm

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

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

Post by Lubomír Ludvík » Fri Jan 02, 2026 9:55 pm

Repaired function listEntries(..
oprava.jpg
oprava.jpg (10.97 KiB) Viewed 208 times
entrylist1_0_3.zip
(2.87 KiB) Downloaded 11 times

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

Post by Lubomír Ludvík » Fri Jan 02, 2026 11:23 pm

time format corrected in function listEntries(

Code: Select all

	$timeFormatted = date('H:i', $timestamp);
	$return .= "\n " . $timeFormatted . " ";
entrylist1_0_4.zip
(3.09 KiB) Downloaded 16 times

Panther
Posts: 77
Joined: Mon Aug 12, 2019 11:05 pm

Re: Error with plugin EntryList 1.0.2

Post by Panther » Sat Jan 03, 2026 12:47 pm

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.

User avatar
fraenkiman
Posts: 470
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Error with plugin EntryList 1.0.2

Post by fraenkiman » Mon Jan 05, 2026 1:32 pm

Hello everyone,

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
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

Panther
Posts: 77
Joined: Mon Aug 12, 2019 11:05 pm

Re: Error with plugin EntryList 1.0.2

Post by Panther » Fri Jan 09, 2026 7:53 pm

Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest