DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:starred

This is an old revision of the document!


starred plugin

Compatible with DokuWiki

hrun

plugin allows users to remember pages

Last updated on
2013-05-15
Provides
Syntax, Action
Repository
Source
Requires
sqlite

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with favorites, remember

A CosmoCode Plugin

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

Known Bugs and Issues

Please report bugs and issues at: https://github.com/cosmocode/starred/issues

plugin/starred.1418898619.txt.gz · Last modified: 2014-12-18 11:30 by grosse

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki