plugin:nsrelation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:nsrelation [2007-11-20 16:26] – typo grahack | plugin:nsrelation [2023-12-14 17:28] (current) – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== NSRelation Plugin ====== | ||
+ | ---- plugin ---- | ||
+ | description: | ||
+ | author | ||
+ | email : christophegragnic@yahoo.fr | ||
+ | type : syntax | ||
+ | lastupdate : 2007-11-22 | ||
+ | compatible : 2007-06-26, !Igor | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : navigation, menu, namespace | ||
+ | |||
+ | downloadurl: | ||
+ | ---- | ||
+ | |||
+ | This plugin shows a list of pages, available or not, in related [[: | ||
+ | |||
+ | It is useful when you have several people working on the same project. Their description of //things// will be different but related if they are about the //same thing//. So it's handy to have buttons that link to others descriptions. | ||
+ | |||
+ | Each people (or group of people) will be associated a [[: | ||
+ | |||
+ | If it's still unclear, you can see a demo [[http:// | ||
+ | |||
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | ===== Change Log ===== | ||
+ | |||
+ | **2007-11-22** | ||
+ | * now uses pipe separators for configuration of namespaces and their display strings | ||
+ | * better css code | ||
+ | |||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | - Download and install the plugin through the [[plugin: | ||
+ | - Configure it through the [[plugin: | ||
+ | - Add the following code in your template' | ||
+ | |||
+ | <code php> | ||
+ | <?php | ||
+ | $nsrelation = & | ||
+ | echo $nsrelation-> | ||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | There are several config options, all accessible through the config manager. | ||
+ | |||
+ | You need to setup the namespaces you want your pages be linked to. Separate each one with a comma or space. There is **no** default namespace. | ||
+ | |||
+ | You can optionally choose to display prettier stings instead of the raw namespaces names. Separate each one with a comma. If this plugin doesn' | ||
+ | |||
+ | You can define a [[: | ||
+ | |||
+ | You might want to explain how the related namespaces work on your wiki to your users. To make this description easily accessible from the namespace selector, enter the [[: | ||
+ | |||
+ | === Manual configuration === | ||
+ | |||
+ | If you don't use the [[plugin: | ||
+ | |||
+ | <code php> | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | The plugin does its work automatically by being called from the template (see [[# | ||
+ | |||
+ | < | ||
+ | ~~NO_NSREL~~ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Credits ===== | ||
+ | |||
+ | Thanks to Andi for the base code, I didn't have to work much. |