DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:discussion

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
wiki:tips:discussion [2007-02-21 22:03] – fixed a small bug achtips:discussion [2017-09-25 13:43] (current) – old revision restored (2013-10-07 12:09) bactram
Line 15: Line 15:
 I failed. ;) What I got is a working function that I included directly to main.php. If you desperately waited for this feature, feel free to use it. If you think, this feature should be included to DokuWiki's next version, feel free to do so or if you aren't able (as I am not) at least leave a little comment to encourage others to do it. I failed. ;) What I got is a working function that I included directly to main.php. If you desperately waited for this feature, feel free to use it. If you think, this feature should be included to DokuWiki's next version, feel free to do so or if you aren't able (as I am not) at least leave a little comment to encourage others to do it.
  
-See this feature at work: http://www.litwiki.de+See this feature at work: http://www.litwiki.de FIXME
  
 So here comes the snippet directly out of my main.php, which bases on the g21-Media-DokuWiki-template and works with DW-release 2005-09-22: So here comes the snippet directly out of my main.php, which bases on the g21-Media-DokuWiki-template and works with DW-release 2005-09-22:
Line 84: Line 84:
 ===== Alternative Way ===== ===== Alternative Way =====
  
-I use a similar function in my [[tpl:ach|ACH Template]] (the central approach is the same). The main difference is that I use more of the internal dokuwiki functions which results eg. in discussion links that show if a discussion page already exists or not (only if links are used and not - like in my template - if buttons are used). Another difference is: I haven't (yet) implemented anything with regard to the ''$conf['useslash']'' option.+I use a similar function in my [[template:ach|ACH Template]] (the central approach is the same). The main difference is that I use more of the internal dokuwiki functions which results eg. in discussion links that show if a discussion page already exists or not (only if links are used and not - like in my template - if buttons are used). Another difference is: I haven't (yet) implemented anything with regard to the ''$conf['useslash']'' option.
  
 <code php> <code php>
tips/discussion.1172091815.txt.gz · Last modified: 2009-12-20 19:23 (external edit)

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