DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:kixovar

kixovar plugin

Compatible with DokuWiki

No compatibility info given!

plugin Insert your own variables

Last updated on
2008-02-17
Provides
Syntax
Conflicts with
easyvar

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

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

Similar to easyvar, fields, macros, replace, textinsert

Tagged with !discontinued, replace

http://www.kixo.fr/content/view/21/31/ FIXME URL broken

In English

translated into English (BabelFish): KixoVar is a plugin DokuWiki which makes it possible to replace text by a variable. The goal is to be able automatically to modify the same term in all the wiki. Syntax: @test@ is replaced by value tested The value can be a character string or any other chain generated by PHP (functions dates…)

Setup Variables

To setup variables, edit the file default.php in the plugins conf directory. Lets say, you want to define two variables:

variable value
heure H:i
dk DokuWiki

The default.php must look like:

<?php
	$conf['var'] =array('heure' => date('H:i'),'dk'=>'DokuWiki');
?>

Discussion

I don't understand how this works - I understand the @test@ part but just how do you assign “test” to a variable and where do you do this? Can I see an example? PerryM 4/20/08

Example

You have to edit the file default.php according to your needs. Lets say, you want to define two variables:

variable value
heure H:i
dk DokuWiki

The default.php must look like:

<?php
	$conf['var'] =array('heure' => date('H:i'),'dk'=>'DokuWiki');
?>

StinkyWinky 26/11/08


But which default.php? There are several in the DokuWiki? — Bernd M. Radowicz 2009/05/23 11:26

Means the default.php inside conf folder inside easyVar folder i.e. lib\plugins\easyVar\Conf\default.php
atronoush 2011/06/18 13:06
plugin/kixovar.txt · Last modified: 2019-08-17 16:08 by Aleksandr

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