DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:starred

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:starred [2023-04-18 23:51] – version upped andiplugin:starred [2024-04-30 18:36] (current) – [Installation] In other cases and icke legacy zweihorn
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: allows users to remember pages+description: Allows users to remember pages
 author     : Andreas Gohr author     : Andreas Gohr
 email      : dokuwiki@cosmocode.de email      : dokuwiki@cosmocode.de
 type       : action, syntax type       : action, syntax
-lastupdate : 2023-04-18 +lastupdate : 2023-06-13 
-compatible : frusterick manners+compatible : Frusterick Manners
 depends    : sqlite depends    : sqlite
 conflicts  conflicts 
Line 17: Line 17:
 sourcerepo : https://github.com/cosmocode/starred sourcerepo : https://github.com/cosmocode/starred
  
-screenshot_img : http://www.ickewiki.de/_media/dokumentation/starred_star.png+screenshot_img : https://trello.com/1/cards/6446cca859a5e18cb08220b3/attachments/6446cd25212f488c8404ca0e/download/dokuwiki-plugin-starred.png
 ---- ----
-[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+ 
 +[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
 ===== Installation ===== ===== Installation =====
 +
 :!: **External requirements:** This plugin requires the following additional components that must be installed separately:  :!: **External requirements:** This plugin requires the following additional components that must be installed separately: 
   * [[plugin:sqlite|SQLite plugin]]   * [[plugin:sqlite|SQLite plugin]]
Line 27: Line 29:
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 +Several templates (like e.g., [[template:sprintdoc]]) support this plugin right out of the box.
  
-After installationyou should include a link for users to save a page as favourite. Put the following into your template's main.php:+In other cases 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     <?php
Line 36: Line 39:
     ?>     ?>
  
-Some templates, like the [[template:icke|icke template]] already include this link on every page by default.+Already some legacy templates, like the [[template:icke|icke template]] (now //outdated//already included this link on every page by default.
  
 === Using with Vector Template === === Using with Vector Template ===
 +
 Users of the [[template:vector]] template could also put following to ''dokuwiki/lib/tpl/vector/**user**/boxes.php'' (**NOT** ''dokuwiki/lib/tpl/vector/**conf**/boxes.php''): Users of the [[template:vector]] template could also put following to ''dokuwiki/lib/tpl/vector/**user**/boxes.php'' (**NOT** ''dokuwiki/lib/tpl/vector/**conf**/boxes.php''):
  
Line 54: Line 58:
 } }
 </code> </code>
 +
 ===== Usage ===== ===== 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. 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 ===== ===== Development =====
 +
 === Change Log === === Change Log ===
  
plugin/starred.1681854699.txt.gz · Last modified: 2023-04-18 23:51 by andi

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