tesan-man Hi I've been playing with DokuWiki for a week or so for a voluntary organisation I am involved with. It seems to fit the bill for us, with one exception, which is that we need a page / document to have a version number in addition to the last edit date. I've looked through the documentation and forum to see if there is any information on this but not found anything. Hence this post - is it possible to add / display a version number for a page? If not, I guess I could have a go at writing a plugin to do it. Thanks Martin
flam Hi, the version (last modified) is displayed (in standard template) on the bottom of the page. There should be a variable with the current version No. of the site, wich you can use in your Template. greets Flam
turnermm If you mean the version of Dokuwiki, you can get it from the function getVersionData(), whcih returns an array. For instance: [date] => 2010-11-07 "Anteater" [type] => Release
tesan-man Thanks for the replies - posted the question and then got called away on another job..... I think I did not make my requirement clear. I see the version date at the bottom of a page, but I was looking for an easy way to show the issue number of that particular page, not the whole site. The meta data files seem to hold the date of the change, not an issue number - I think I can get round it by adding a function that simply counts how many lines in the meta data file and that will give me an issue number. Martin
andi DokuWiki doesn't use page version numbers. Versions are identified by their modification date only. Counting the change lines might work but won't give you any easy way to link to a specific version.