res:plugins:entrylist
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| res:plugins:entrylist [2026/01/03 00:31] – [Changelog] ludvik | res:plugins:entrylist [2026/01/06 07:54] (current) – [Changelog] fraenkiman | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== Description ==== | ==== Description ==== | ||
| - | The plugin adds the BBCode tag " | + | The plugin adds the BBCode tag '' |
| - | It allows to list the entries | + | |
| <WRAP right round tip 350px> | <WRAP right round tip 350px> | ||
| - | **Tip:**\\ The plugin does not include a widget. However, you can create a static page and then use the BlockParser plugin to place it as a widget in the menu column.</ | + | **Tip:**\\ |
| + | The plugin does not include a widget. However, you can create a static page and then use the BlockParser plugin to place it as a widget in the menu column. | ||
| + | </ | ||
| - | These are it options: | + | ==== Usage ==== |
| + | Basic syntax: | ||
| + | [entrylist < | ||
| - | '' | + | You can filter by year/ |
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| - | '' | + | If no filter is given, the plugin outputs a hierarchical archive |
| - | '' | + | ==== Parameters ==== |
| + | ^ Parameter ^ Values ^ Description ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| - | '' | + | ==== Date & time formats (important) ==== |
| + | FlatPress allows admins to configure the site short date format under:\\ | ||
| + | '' | ||
| - | '' | + | **Default behaviour (version 1.0.4):** |
| + | * Day headings use the configured admin date format ('' | ||
| + | * Month and year headings are automatically derived from that admin short date format. | ||
| + | * You can override these defaults per tag with '' | ||
| + | * The default time format | ||
| + | * You can override | ||
| - | '' | + | This means the Entrylist headings follow |
| - | '' | + | ==== Examples ==== |
| + | **Entrylist for the whole year 2023** | ||
| + | < | ||
| + | [entrylist y=23] | ||
| + | </ | ||
| - | '' | + | **Same year, using a 4-digit year** |
| + | < | ||
| + | [entrylist y=2023] | ||
| + | </ | ||
| - | '' | + | **If there is no entry in the whole year 2024, output |
| + | < | ||
| + | [entrylist y=24 noentries=" | ||
| + | </ | ||
| - | ==== Example ==== | + | **Entrylist only for January 2023** |
| + | < | ||
| + | [entrylist m=01 y=23] | ||
| + | </ | ||
| - | **Entrylist for the whole year 2023** | + | **Entrylist |
| - | < | + | < |
| + | [entrylist | ||
| + | </ | ||
| - | **If there is no entry in the whole year 2024, then issue message "none at home"** | + | **Same day, but without links to the posts** |
| - | < | + | < |
| + | [entrylist | ||
| + | </ | ||
| - | **Entrylist only for the month of January in year 2023** | + | **Descending order** |
| - | < | + | < |
| + | [entrylist y=23 sort=desc] | ||
| + | </ | ||
| - | **Entrylist only for day 12 in the month of January in year 2023** | + | **Override heading formats** |
| - | < | + | < |
| + | [entrylist y=23 yformat=" | ||
| + | </ | ||
| - | **Entry list only for day 12 in the month of January in year 2023 without link to the post** | + | **Override |
| - | < | + | < |
| + | [entrylist=+%H:%M y=23] | ||
| + | </ | ||
| + | |||
| + | **Overwrite heading and entry time (v1.0.3 like)** | ||
| + | < | ||
| + | [entrylist=+%H: | ||
| + | </ | ||
| + | ==== Notes ==== | ||
| + | * The list is built from FlatPress entries and grouped by their entry date (the date stored in the entry id). | ||
| + | * The plugin uses a cache file ('' | ||
| + | * The entry time is wrapped in a span you can style via CSS: | ||
| + | <code html> | ||
| + | <span class=" | ||
| + | </ | ||
| + | ==== Screenshots ==== | ||
| + | | {{: | ||
| + | |Preview version 1.0.3| Preview version 1.0.4 | | ||
| ==== License ==== | ==== License ==== | ||
| GNU GPLv2 | GNU GPLv2 | ||
| ==== Download ==== | ==== Download ==== | ||
| + | {{ res: | ||
| + | |||
| + | {{ res: | ||
| + | |||
| {{ res: | {{ res: | ||
| - | {{ res: | ||
| - | ===== Changelog ===== | + | |
| + | ==== Git Repo ==== | ||
| + | |||
| + | [[https:// | ||
| + | ==== Changelog ==== | ||
| + | == 2026-01-05: Version 1.0.4 == | ||
| + | * Respects the admin-configured short date and time format | ||
| + | * Accepts 4-digit years (2001–2099) in addition to '' | ||
| + | * Per-tag state reset: multiple '' | ||
| + | |||
| + | == 2026-01-03: Version 1.0.3 == | ||
| + | * With time of creation of the post | ||
| == 2025-02-26: Version 1.0.2 == | == 2025-02-26: Version 1.0.2 == | ||
| * Compatibility with PHP 8.0+ established | * Compatibility with PHP 8.0+ established | ||
| - | == 2026-01-02: Version 1.0.4 == | ||
| - | * time format corrected | ||
| - | **Support** | + | **Support**\\ |
| + | Please ask for help on the [[https:// | ||
| + | |||
| - | Please ask for help on the [[https:// | ||
res/plugins/entrylist.1767396704.txt.gz · Last modified: by ludvik
