dokufreaks / plugin-pagelist Goto Github PK
View Code? Open in Web Editor NEWLists DokuWiki pages in a nice looking table or unordered list.
Home Page: http://dokuwiki.org/plugin:pagelist
License: GNU General Public License v2.0
Lists DokuWiki pages in a nice looking table or unordered list.
Home Page: http://dokuwiki.org/plugin:pagelist
License: GNU General Public License v2.0
It has already been discussed over on the tag plug-in page that it is not possible to create tags in capital letters.
To get around this would it be possible to configure masks for the tags within the cloud plug-in.
Either in in the admin area or in the cloud string itself:
TAGCLOUD ;one_of_my_tags=One_Of_My_Tags;another_one=Another_One
The reason for asking is that I have some abbreviations which are not easily recognisable and would really benefit from being capitalised..
I did not find any way to make the list horizontal as a simple set of links. It seems that the flags list
and simplelist
are identical.
Shouldn't line 301 in helper.php read
} elseif(!$this->page['date'] && $this->page['exists']) {
instead of
} elseif(!$this->page['date'] && $this->page['exist']) {
enhanced sort function with parameter "rsort" would be fine.
rsort - reverse sorting
Thanks so lot!
The value of date column isn't accept date by other plugin set ex discussion plugin.
I want to show discussion last comment time .
The plugin also set comment time to date column value but date column value always show the page last modify time not comment time
This plugin is marked as not compatible with Hogfather at the https://www.dokuwiki.org/plugin:pagelist page.
What is the exact problem, and can it be added to this list of issues?
Or is dokuwiki.org not the authoritative page on version compatibility for this plugin? And if so, is there some other place to look instead?
Having the choice to sort the list by date or page name would make this plugin perfect for me.
Thanks for the good Plugin! But could you add a List-Style where all Pages in the List have no Bulletpoits? Just the Pagename in a Single line? This would help me (and others?) in some cases.
Thanks, Boris
When listing pages for example with the Tag Plugin, it would be great to be able to display X parent levels of pages containing the tag.
Would be useful for example if you tag a page "hotpage", to mean the page is to be kept updated then we could be able to list all of theses with their corresponding namespace path in the [start] page.
What do you think ?
In this plugin you can also configure to show the time, nice! Either I would like to change the appearance of the displayed time. So that on some places the time can be removed from the date, that would be nice nuance.
Example: So it shows yy-mm-dd in stead of yy-mm-dd hh:mm
I'd like to have my page lists default to being normal lists, instead of being in a table. I can make each list do this by appending the flag simplelist, but that's not an option in the configuration interface, and if I change local.php to simplelist instead of list, it gets ignored.
Can we have simplelist be in the configuration options, please?
Firstly, thanks for this plug-in.
Would it be possible to add an option to display the page name and the content of the first line, on the same line (to display the pagename and the first headline) ?
For example : <pagelist&pagename&firsthl>
Equivalent to : <pagelist&nofirsthl&firsthl>
Desired Outcome : MY_PAGE_NAME My_first_title Date User
Thx
Hello!
I've been trying to use your plugin together with nspages , since it seems pagelist only needs a list of pages, correct?
Using the following code:
<nspages mvr:issues -h1 -textPages="" -simpleList -nbItemsMax=10>
I should get a list of 10 pages from the mvr:issues namespace. This works. But if I use the following code to use this list with your plugin, I get noting back. No list, just an empty space.
<pagelist&noheader&table>
<nspages mvr:issues -h1 -textPages="" -simpleList -nbItemsMax=10>
</pagelist>
Any idea if it is possible to use these two plugins together?
Hello,
My Dokuwiki complains with lots of php errors about a missing plugin.info.txt file in the plugin folder. Now I just copied another one, but that surely is not the right way to fix this.
bye
christian
There is no getInfo method in last version. Geting plugin info in plugin manager crashes.
Subsequent pagelists on the same wiki page "adopt" the settings from the previous pagelist on that page.
Imagine the following wiki page:
<pagelist&list&nouser&nodate>
* [[pagea]]
* [[pageb]]
* [[pagec]]
</pagelist>
{{tasks>mytasks?all&noform}}
<pagelist&list&nouser&nodate>
* [[pagea]]
* [[pageb]]
* [[pagec]]
</pagelist>
This will display a pagelist, an overview of "mytasks" created by the task plugin and again a pagelist. The first column of the first pagelist will have the header title "Page". The first column in the task overview will have the title "Task". Instead of the first column of the last pagelist also having the title "Page" it will show the title "Task" (which is wrong).
Hello,
I'm building a dokuwiki based on Rincewind. I'm using the following plugin versions:
| Dokuwiki ^ Date ^ GIT Version ^ Compatibility ^ Download ^
^ DOKUWIKI | 2011-05-25a | | Rincewind | [[http://www.dokuwiki.org|here]] |
^ blogtng | 2009-12-16 | ab8e844 | Rincewind | [[http://www.dokuwiki.org/plugin:blogtng|here]] |
^ changes | 2011-07-20 | e0e5285 | Rincewind | [[http://www.dokuwiki.org/plugin:changes|here]] |
^ cloud | 2010-01-07 | g3addccd | Rincewind | [[http://www.dokuwiki.org/plugin:cloud|here]] |
^ gallery | 2010-04-30 | d2164e7 | Rincewind | [[http://www.dokuwiki.org/plugin:gallery|here]] |
^ include | 2011-08-21 | ga75ed92 | Rincewind | [[http://dokuwiki.org/plugin:include|here]] |
^ loadskin | 2011-02-07 | g329b62a | Rincewind | [[http://dokuwiki.org/plugin:loadskin|here]] |
^ pagelist | 2010-01-07 | gc3ac680 | Rincewind | [[http://www.dokuwiki.org/plugin:pagelist|here]] |
^ tag | 2011-03-20 | g36b4eb5 | Rincewind | [[http://dokuwiki.org/plugin:tag|here]] |
^ translation | 2010-12-10 | 526fe0f | Rincewind | [[http://www.dokuwiki.org/plugin:translation|here]] |
^ vshare | 2011-02-01 | e34d33a | Rincewind | [[http://www.dokuwiki.org/plugin:vshare|here]] |
I have 3 pages with this content:
Page: Test1
====== openSUSE T1 ======
{{tag>opensuse}}
Page: Test2
====== openSUSE T2 ======
{{tag>opensuse}}
Page: Test3
====== openSUSE T3 ======
{{tag>opensuse}}
Then I have a fourth page to list the opensuse tags as follows:
Page: Listing
===== topic =====
{{topic>opensuse &table}}
The expected result should be a list with the posts with "opensuse" tags, but the rendered html result is:
Topic: OpenSuse
Does this plugin works fine with Rincewind? I do not see anything wrong with what I did, in fact I reproduced a similar structure with Anteater, and the exact same versions of tag and pagelist plugins and it works as expected.
Any suggestions?
Thanks a lot for your help and support!
Regards.
Can the option to sort with "natural" ordering be added so titles like 2.10 can be sorted below 2.2? This could be minimally invasive by adding an nsort
option which would use strnatcmp
instead of strcmp
.
$fnc = create_function('$a, $b', 'return strnatcmp(noNS($a["id"]), noNS($b["id"])); ');
It seems that the date column of the table is by default right-aligned. This makes the table look ugly when the flag for fuzzy dates is supplied (%f), i.e. :
%Y/%m/%d %H:%M (%f)
Is there an easy way to change the alignment of the date column?
I use the pagelist plugin in combination with tagfilter to produce a filterable summary view of a subset of pages. Along with each page, I show all of the tags, which give information about the item described by the page.
It works great, but one additional enhancement would be an option that organizes tags into columns by topic. So, if there was a topic "state" and a series of tags like "state:in_progress", "state:broken", "state:backlog" then pagelist would create a column named "state" and show values "in progress", "broken", "backlog" in cells in that that column.
for listing discussion i need absolutly (by pagename) sortable columns.
thanks a lot.
The pagelist entry that has before no borders, now shows up with borders when using newest Dokuwiki template.
I have no borders with: old 'default' template, 'vector' template
I have borders with: 'dokuwiki' template.
It looks like the output of the plugin creates an HTML table where each table cell contains a ul / li element. With the settings parameters table/list I would expect the output to be either table > tr > td OR ul > li. Not both.
The pagelist plugin could adapt links in the page list syntax when one of the target pages is moved by the move plugin.
I updated the dokuwiki to Hogfather on my Synology.
Now the plugin is failing with following error:
Fatal error: Declaration of syntax_plugin_pagelist::handle($match, $state, $pos, &$handler) must be compatible with dokuwiki\Extension\SyntaxPlugin::handle($match, $state, $pos, Doku_Handler $handler) in /volume1/web/dokuwiki/lib/plugins/pagelist/syntax.php on line 0
It would be very helpfull too optionally see the last edit summary of a page.
Is it possible to sort output from syntax {{topic>tag_name}} by date of creation or modification? It could be very usefull for notes-writing system in DokuWiki.
I'm a discovering searchtag and didn't find something in the doc (https://www.dokuwiki.org/plugin:tag#searchtags) to achieve this. I was looking at going from here :
to something which could looks like:
I found that namespace are not shown in pagelist (e.g. if there are two pages named foo:bar and fooo:bar, both pages would be shown as "bar" only), and below is the required fix. Please integrate this fix to git (or at least make it a configurable option...)
Hi,
pages listed by pagelist (I use plugin tag - topic function) shows characters from the beginning of the page.
A better way could be something like "firstseconly" which shows first part of the text after the first heading.
I used exactly the syntax as in the plug-in page, but nothing happens! No list is shown on my page!
This
<pagelist>
* [[https://site1.example.com|good service]]
* [[http://site2.example.com|bad service]]
</pagelist>
will produce an ugly output...
I'd like to have it available too here 👋
The pagelist syntax plugin currently fetches all information like page existence or title in the handler. Even though the plugin writes metadata that expires the renderer cache when a page is created or deleted this is of no use as this does not expire the handler cache.
Another problem is that when more columns like the description or tags are displayed that
This could be solved by a cache handler similar to the one that is used by the include plugin.
Note that the whole issue only affects the pagelist syntax and not the usage of this plugin as helper plugin which is probably how most people use this plugin.
When backlinks2 is placed after pagelist on a page, it does not work. It lists the backlinks of the previous page. For example:
Page1 link to Page2.
Page2 with backlinks indicate Page1 is calling page. Also link to Page 3.
Page3 with pagelist then backlinks which indicates Page1 is calling page (not Page2).
If the backlinks entry is placed before the pagelist entry it will indicate Page2 is calling page.
My Wiki has a backlinks2 entry at the bottom of each page. I just recently added the pagelist plugin to the Wiki and came across this behavior. Also, if I edit and save Page 3 it will show the correct backlink, until a navigate away and back to it.
Release 2015-08-10a "Detritus"
Ubuntu 14.04 Server
PHP Version 5.5.9-1ubuntu4.14
HI,
Would it be possible to include a feature in the Editor plugin to filter name-spaces so they dont appear on the list.?
piled up report. please remove. sorry!
Suppose I have namespaces draft and published. I will be giving pages appropriate tags regardless of their draft status.
I want to use Topic to create an index page showing all the published pages (no draft pages) with tags.
How can I most easily do this? If not, can that capability be added?
When displaying a group of pages, by namespace or tag or such, the table will list every page in that category. In some instances, this can lead to a table several hundred rows long. The ability to use pagination in the results, so that only a certain amount are shown at a time, would be very useful. Maybe it could be displayed as a DataTable or be made compatible with the DataTables plugin.
HI,
Would it be possible to include a feature in the Editor plugin to filter name-spaces so they dont appear on the list.?
I was experiencing problems using the "tasks" plugin which is referencing to the pagelist. Problem was that the pagecontent was sometimes (often) empty when a lot of tasks/subpages had to be listed.
I figured out it was something in the addpage function when getting meta data.
So the function _getMeta is calling p_get_metadata only with ID but there are 2 more parameters. 3rd one "render" allows to control if pages should be rendered. If set to false everything is fine.
So you should perhaps update the code and set the function call to:
p_get_metadata($this->page['id'],false,false);
I have added an option to show modification date without time (ie. date only).
I have no experience with GitHub (I will look into that oversight at a later date), so I have attached the changes here if someone wants it.
Best regards
Stefan
pagelist.zip
I think it would be fantastic if it was possible to use a style called inline to render the results as a comma-separated list of results. This would make the tag-plugin so much more useful to me, as I could use tags mid sentence and not only for blocks.
If you can point me to the file which handles the rendering based on the style-attribute I can give it a shot.
It seems that Pagelist can only display full name if setting/flag 'showuser' is on. Can it also display login names? Maybe there is a way to tweak some code to do that?
The required getInfo() function is missing from the syntax.php file in pagelist. It doesn't cause major issues but you sometimes get an error message appearing at the top of the documentation pages.
Sometimes the description field doesn´t really provide a description of the page in question because of the way the page is layed out (many headings, no summary at page start). How about giving a way to manually enter the value for the description field as follows:
- [[:testme:start|I am the description for this namespace]]or something similar. Any feedback greatly appreciated!
I'm using this plugin indirectly through the tag plugin. When I list out articles of a given tag, the bullet list is inset more than an unordered list I create manually. I found that changing the following rule so that margins are zeroed out removes the extra space.
Lines 27 to 29 in da868fb
Not sure how niche this is, but this is a ticket related to https://forum.dokuwiki.org/thread/14929
====== How-To List ======
<pagelist&list&nouser&nodate>
* [[documentation:confluence:confluence_howto|How to Upgrade Confluence]]
* [[documentation:linux:acls|Add ACLs in Linux]]
* [[documentation:software:windows7:fix_corrupt_profile|Rename Corrupted Win 7 Profile]]
* [[documentation:how_to:linux_disk_config|How to Create or Extend LVMs]]
* [[documentation:public:reports|Get Logins from the database]]
</pagelist>
~~NOCACHE~~
The names (eg. "How to Upgrade Confluence") appear incorrectly. As the thread solution says, "After changing the pagelist flag list into simplelist all links were displayed fine. After changing the flag to table the link text were again not displayed."
When the Description column is activated I recieve an internal server error if a german letter ä,ö,ü or ß is the last letter in the column.(default is 160, so if one of these letters happens to be in position 160 the wiki crashes). Is this a known problem? Thanks.
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.