This is an old revision of the document!
Table of Contents
starred plugin
Compatible with DokuWiki
hrun
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Installation
External requirements: This plugin requires the following additional components that must be installed separately:
Install the plugin using the Extension Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
After installation, you should include a link for users to save a page as favourite. Put the following into your template's main.php:
<?php //Starred $starred = plugin_load('action','starred'); $starred->tpl_starred(); ?>
Some templates, like the icke template already include this link on every page by default.
Usage
To list the current user's saved pages, add {{starred}}
to a page. An optional minimal mode gives no text if the current user has starred no pages and leaves out the saving date: {{starred>min}}
. Finally, you might limit the number of shown pages: {{starred>min|5}}
and {{starred|5}}
, respectively.
Development
Change Log
- Version upped (2023-06-22 08:21)
- Adjustments to use the new SQLite class based interface (2023-06-13 09:41)
- Version upped (2023-04-18 23:51)
- adjust method visibility (2023-04-18 17:52)
- minimal code cleanup (2023-04-18 17:45)
- use $INPUT instead of direct access (2023-04-18 17:42)
- Merge pull request #1 from araname/patch-1 (2017-04-25 17:02)
- Version upped (2017-04-20 23:51)
Known Bugs and Issues
Please report bugs and issues at: https://github.com/cosmocode/starred/issues