Download the PHP package webographen/statamic-widget-continue-editing without Composer
On this page you can find all versions of the php package webographen/statamic-widget-continue-editing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webographen/statamic-widget-continue-editing
More information about webographen/statamic-widget-continue-editing
Files in webographen/statamic-widget-continue-editing
Package statamic-widget-continue-editing
Short Description List of last edited entries in Statamic control panel
License MIT
Informations about the package statamic-widget-continue-editing
Statamic Widget: Continue Editing
This widget lists the last edited entries in the control panel so you can jump right back into work.
Requirements
- Statamic v6
For Statamic v3, v4 and v5, use v1.3.2.
Installation
From your site folder, run composer require webographen/statamic-widget-continue-editing - or install it via the control panel.
Usage
To add the widget to your control panel dashboard, edit the config under config/statamic/cp.php and add the following entry to the widgets array:
Optional Parameters
By default the widget display the last five entries across all collections. You can modify this by adding two more parameters:
Collections: One or more piped collections to display - e.g. 'pages', 'pages|posts', or '*' (any) for the default behavior
Limit: The maximum number of entries as an integer
Upgrading from v1
composer require webographen/statamic-widget-continue-editing:^2.0. The widget handle, the view
namespace and the config options are unchanged, so nothing in your site needs to move.
The list itself is now correct. Statamic indexes the raw updated_at value, which is empty for
entries that were never saved through the control panel, so ordering by it returned an arbitrary
set rather than the most recently edited entries. Those entries are now excluded, and what is left
is genuinely in last-edited order.
About
Built and maintained by Alexander Stoffel, freelance Statamic and Laravel developer.