Coder Social home page Coder Social logo

dokuwiki-plugin-dir's People

Contributors

astehlik avatar gamma avatar gjanssens avatar michitux avatar mld avatar orangain avatar rexut avatar splitbrain avatar turnermm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dokuwiki-plugin-dir's Issues

tag flag listing all pages ?

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

parse error

When installing :

Parse error: syntax error, unexpected T_FUNCTION in /WWW/dokuwiki/lib/plugins/dir/syntax.php on line 654

User list option for separator

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!

tags not working

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":

dir sometimes grabs stale description from page

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?

Version Number

The DokuWiki Site states another version number. Ca you please update the plugin accordingly?

Plugin-dir with cols=tags writes/corrupts data/index/topic.idx

Versions:

  • Release 2012-01-25a “Angua”
  • lupo49-dokuwiki-plugin-dir-860ca8b.tar.gz
  • dokufreaks-plugin-tag-2010-11-12-30-ga058f92.tar.gz
  • dokufreaks-plugin-pagelist-2010-01-07-18-gfb8719a.tar.gz

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.)

Errors on page when adding dir

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

Screen shot -
image

Error in "parseOptions E"

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!

tag key interrupts page rendering

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:

My name as author

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 :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.