Sub-pages list
added in v3
Sebvita
Ability to dynamically list child pages or siblings of a parent page.
Perhaps with {.links-list} style.
Would be very useful for landing pages for example.
Exemple with WordPress: https://wordpress.org/plugins/page-list/
Tobias Knöppler
Until wikijs officially supports this, here's my solution:
- Create the parent page. Set the type to "Code (raw HTML)".
- Add this content to the newly created page: <ul id="pages">No pages found.</ul>
- Add the javascript snippet from the following link to the "Scripts" section of the page: https://pastebin.com/RLuDzXNc
- Edit the list of tags at the top of the script.
This will populate the page with all pages having the given tag.
Nicolas Giard
added in v3
PM Extra
I want a list page to solve this problem.
Roberto Gentile
Nicolas Giard do you have any idea when this feature starts to run?
Thank you.
Jason Wood
I would like to be able to add a table to a page that lists all pages with a specific tag, and to sort the results by the last modification date, and to display that date & time in the list.
Nicolas Giard
planned
Roberto Gentile
Nicolas Giard: great! thank you 🙌 it'll help us very much!
Yu Yongwoo
Nicolas Giard: PLANNED GOOD 🥳
Icar Icar
Nicolas Giard: Scheduled for which decade?
Nicolas Giard
Merged in a post:
Dynamic pages list
MoRanYue
I hope I can list pages dynamically through some filters and list them in a certain format.
Such as tags filter, folder filter, creator filter, date filter and so on.
If you know Wikidot, explain it simply, you can use "[[module ListPages]]" and some filters included.
For example, its syntax is look like
[[module ListPages tags="+includedThisTagPagesWillList -includedThisTagPagesWontList" category="PagesInThisCategoryWillList" create_by="PagesCreatedByThePersonWillList"]]
%%title%% - This is the page title
%%title_link%% - This is the page title with link
%%content%% - This is the page content
%%author%% - This is the page creator
%%date%% - This is the page created date
[[/module]]
Jan Lucki
I've opened a PR with a basic implementation of this: https://github.com/requarks/wiki/pull/5613 We use the wiki as a Knowledge Base too and this is what we came up with.
A
Alexandre Denault
+1 for the convenience. Is this on the roadmap?
#tagcoding guru
I see several proposals, but a most simple one seems the wikidot pagetree: http://www.wikidot.com/doc-modules:pagetree-module
compare it with the much more complex http://www.wikidot.com/doc-modules:listpages-module ?
Early release of simple functionality would be most appreciated :-) (or as a wiki.js newby am I missing out something?
Load More
→