1
iHackCode
New Stable Release Of DokuWiki (Version 2.10) is ready for you!.

Submitted by: JayJay

Developer jayjay has embedded the latest stable dokuwiki release
2007-06-26 into xoops. This new module is based upon the great work of

D.J. on 'dokuwiki for xoops' versions 2.01 and 2.02.

*Improvements*

- this is an upgrade from dokuwiki version 2006-03-09 to 2007-06-26.
Since
that time the entire dokuwiki structure has changed enormously. I'm
thinking of bugfixes, security updates, but also functionality
improvements mainly in the way dokuwiki treats plugins (division
between
admin/helper/action/syntax/renderer plugins). A changelog can be found
here: http://wiki.splitbrain.org/wiki:changes
- being the latest stable dokuwiki release, XOOPS users can now use almost all recent dokuwiki plugins: http://wiki.splitbrain.org/wiki:plugins

- these additional plugins are in the XOOPS module: box, discussion, feed, include, indexmenu, linebreak, note, pagelist, pagemove and tag. More...
info: http://wiki.splitbrain.org/wiki:plugins

- I have added a xoops_pagetitle hack to make the wiki more attractive to search engines
- I have fixed a small 2.02 bug thanks to user peekay on xoops.org. The bug prevented viewing images as an anonymous site visitor: https://xoops.org/modules/newbb/viewtopic.php?topic_id=51428#forumpost227222

*Questions*
- Can I add discussion to the wiki?
Discussion is now a dokuwiki plugin. You can enable site-wide discussion in lib/plugins/discussion/conf/default.php or you can add per-page discussion manually like this: ~~DISCUSSION~~
More info: http://wiki.splitbrain.org/plugin:discussion

- Where is the spellchecker?
Spell checking has greatly improved in the latest dokuwiki release. You can follow these guidelines to activate it:
http://wiki.splitbrain.org/wiki:spell_checker

- I can't see the quickbuttons in the editor?
This could be due to a javascript error. Please delete all files in
xoops_root/cache/ and xoops_root/templates_c and make sure XOOPS debug is disabled (as it should be on production sites)!

*Upgrading*
It shouldn't be too difficult to upgrade to dokuwiki 2.10. Users that upgrade should just ignore the 'uploads' folder in the zip-archive.
Before uploading the 'dokuwiki' folder in 'modules', they have to change two lines in conf/local.php:

$conf['metadir'] = $conf['savedir'].'/meta/'; //edit jayjay: avoid
clutter!
becomes
$conf['metadir'] = $conf['savedir'];

and

$conf['lockdir'] = $conf['savedir'].'/locks/'; //edit jayjay: avoid
clutter!
becomes
$conf['lockdir'] = $conf['savedir'];


People that used the old 'discussion' hack in 'dokuwiki for XOOPS 2.02' should be able to convert it to the new discussion plugin:
http://wiki.splitbrain.org/plugin:discussion#conversion_from_old_blog_plugin

Download Link for DokuWiki 2.10 for XooPS: http://xoopsforge.com/dev/dokuwiki/xoops-module-dokuwiki-210.zip
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

2
kris_fr
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/8/12 19:46

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


Thank you

Kris

3
Peekay
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/8/12 20:01

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Cool. Look forward to trying it. DokuWiki is a great WIKI and a great module for XOOPS too.

Failure of JavaScript components can sometimes be traced to the theme you use. Make sure you have:
le="color: #000000"><?php <!-- RMV: added module header --> <{$xoops_module_header}>

in the 'head' section of theme.html. This typically loads module-specific CSS and scripts that are provided with the module.
A thread is for life. Not just for Christmas.

4
xltran
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/8/15 20:01

  • xltran

  • Just popping in

  • Posts: 23

  • Since: 2002/7/28


Excellent job and thanks for the update! It installed fine and worked great XOOPS 2.0.16. Great module!

One minor issue I noticed. The table of content (TOC) in the upper right corner showed bullets/dots were not on the same line as the headline/text. For example, this is what I saw:

le="color: #000000"><?php * Head line 1 * Head line 2 * Head line 2 * Head line 3 It should be: * Head line 1 * Head line 2 * Head line 2 * Head line 3

and so on. Bullet/dot and text should be on the same line.

Does anyone know how to fix this?

5
xltran
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/8/15 20:02

  • xltran

  • Just popping in

  • Posts: 23

  • Since: 2002/7/28


Excellent job and thanks for the update! It installed fine and worked great XOOPS 2.0.16. Great module!

One minor issue I noticed. The table of content (TOC) in the upper right corner showed bullets/dots were not on the same line as the headline/text. For example, this is what I saw:

le="color: #000000"><?php * Head line 1 * Head line 2 * Head line 2 * Head line 3 It should be: * Head line 1 * Head line 2 * Head line 2 * Head line 3

and so on. Bullet/dot and text should be on the same line.

Does anyone know how to fix this?

6
BlueStocking
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.

hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

7
Peekay
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/8/15 21:35

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:
Does anyone know how to fix this?

Yes. I do.

modules/dokuwiki/lib/tpl/default/design.css

Cut all the original list CSS and save it in a text file. Replace it with this. Add bits back if you need to control list colour etc.

le="color: #000000"><?php /* ---- Peekays DokuWiki Lists Hack ------ */ div.dokuwiki ul li { list-style-type: square; list-style-position: outside; margin: 0 0 0.25em 1.5em } div.dokuwiki ul li.level1 {} div.dokuwiki ul li.level2 {list-style-type: disc;} div.dokuwiki ul li.level3 {list-style-type: circle;} div.dokuwiki ul li.level4 {} div.dokuwiki ul li.level5 {} div.dokuwiki ol li { list-style-type: decimal; list-style-position: outside; margin: 0 0 0.25em 0 } div.dokuwiki ol li.level1 {} div.dokuwiki ol li.level2 {list-style-type: upper-roman;} div.dokuwiki ol li.level3 {list-style-type: lower-alpha;} div.dokuwiki ol li.level4 {} div.dokuwiki ol li.level5 {} /* ------ end lists hack ------------ */


This also gives you a decimal - roman - alpha ordered sub-list down to 3 levels. You could try differentiating L4 and L5, but I don't think IE supports it.

Only cracked this myself a few days ago!.
A thread is for life. Not just for Christmas.

8
xltran
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/8/15 23:27

  • xltran

  • Just popping in

  • Posts: 23

  • Since: 2002/7/28


Peekay,

Thanks! It worked and much nicer.

I made backup of the design.css file for recovery purposes. After, I cut and pasted your hack block put it at the end of the design.css file.

9
xltran
Re: New Stable Release Of DokuWiki (Version 2.10) is ready for you!.
  • 2007/10/30 0:52

  • xltran

  • Just popping in

  • Posts: 23

  • Since: 2002/7/28


I encounter another issue with DokuWiki 2.10. With IE, the screen show blank. With Firefox, it works fine. I wonder if you have any suggestion where I should look. Current, I am using XOOPS v2.0.17.RC2.

I saw a posting to insert a line in CSS for IE. I could not seem to locate this suggested post.

If anyone else has some directions how to correct this issue, please share...thank!

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits