lupo49 / dokuwiki-plugin-dir Goto Github PK
View Code? Open in Web Editor NEWDir plugin for DokuWiki
Home Page: http://www.dokuwiki.org/plugin:dir
Dir plugin for DokuWiki
Home Page: http://www.dokuwiki.org/plugin:dir
When installing :
Parse error: syntax error, unexpected T_FUNCTION in /WWW/dokuwiki/lib/plugins/dir/syntax.php on line 654
Versions:
I use the Plugin-dir the following way, if I do not use the "tags"-keyword, the error does not occur:
~~DIR?cols=page;tags;mdate~~
Each refresh of the page containing the above statement modifies the file data/index/topic.idx so that it becomes incorrect. For example pages seem to have tags, which they in fact do not have. Some pages are listed twice within one tag.
To visualize this for a human reader, I modified the "topic.idx" with "sed":
cat topic.idx | sed 's/}/\n}\n\n/g' | sed 's/i:/\n i:/g' > topic_nice.idx
I was now able to compare the version after a rebuild with "Tagindex Manager" (here are just parts):
+s:4:"java";a:8:{
i:0;s:8:"freemind";
i:1;s:12:"zettelkasten";
+ i:2;s:9:":freemind";
+ i:3;s:27:":gruenes_curry_huehnerbrust";
+ i:4;s:28:":hackfleisch_gruener_pfeffer";
+ i:5;s:21:":ingwer_moehren_suppe";
+ i:6;s:8:":kdialog";
+ i:7;s:13:":zettelkasten";
}
As you can see, the pages "freemind" and "zettelkasten" are now added twice (once with colon and once without). Also all other added entries are not related to the tag "java" in any way.
(If you need further information, please let me know. This is my first issue submission and I was not able to understand the source-code without additional comments.)
please add a screenshot ❤️
The DokuWiki Site states another version number. Ca you please update the plugin accordingly?
on this page:
http://metasynth.com/dokuwikiui/doku.php?id=artmatic:technotes:start
I use dir to show all the pages that have the "annotations" tag in all namespaces. I move one page from one namespace to another and left behind a page that just has a link to the new one. When dir does its thing in this page, it shows the old description in the table rather than the new one.
It seems like dir might be using a stale cache?
Is there a way to rebuild the index it uses?
I am trying to filter pages by tag value
~~DIR::ns1:ns2?noheader&tag=my_tag~~
but the current page isn't rendered correctly. Page rendering is interrupted after this line:
When I use the plugin, it displays the directory correctly on the page, but it also has two errors above the directory (I'm on release 2018-04-22a "Greebo"):
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\dokuwiki\lib\plugins\dir\syntax.php on line 459
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\dokuwiki\lib\plugins\dir\syntax.php on line 461
Hi, it's been many years ago since I made that first version of the plugin. I still see my name as the primary and only author, which is very touching but it would be good if anyone else who contributed to this plugin would be mentioned too. Please also remove my email address as I still get emails sometimes of people who want my help and I can't really help them.
Thanks for the great work of keeping this plugin alive :-)
This isn't a bug, more of a request. When listing users, it places a line break tag. Would love the option to instead use a comma or semicolon to keep the table rows from growing tall.
Thanks!
The namespacename flag isn't working for me. No matter what I do I get 'start' rather than the name space name
When used with the bootstrap theme, the first entry in the sidebar is right aligned. The rest of the lines is left aligned like it should.
Syntax:
~~DIR::?noheader&list&ego&collapse~~
I use the latest version of this plugin with PHP 5.4.13-1.
I always get a error, that "Multiple questionmarks are not supported".
This is, because line 732 doesn't explode on "?":
$tmp = explode('?', $flags);
The result is alwas an array with one entry. If I delete the leading "" an use
$tmp = explode('?', $flags);
instead, all works fine ;-)
I think, in explode delimiters must not be escaped.
Thanks and greetings!
Plugin needs to be loaded before:
# diff -uN syntax.php-v00 syntax.php
--- syntax.php-v00 2012-06-28 17:06:50.000000000 +0100
+++ syntax.php 2013-03-06 13:09:22.000000000 +0000
@@ -377,6 +377,7 @@
case "sort":
case "tag":
$val = split (';', trim ($val, ';')) ;
+ $this->_loadPlugin("tag");
break ;
case "noheader":
case "nohead":
I am using :
~~DIR?tag=hotpage~~
then get all pages listed instead of those with the tag 'hotpage'.
Running today's dir, pagelist and tag plugins on Adora Belle
Whenever I add ~~DIR~~
to a page it wont render the page. Im running 2014-09-29 "Hrun"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.