How do I make the wiki to go through the entire wiki folder including subfolders? #880
-
The option to number the pages is a good alternative to order content. Combined with numbered folders it is a fantastic option. It hasn't worked with the tags. The page options [wikipages] and [wikitags] show only the folder pages and the main pages of the first level folders or the tags corresponding to these pages. If they ignore the pages and their tags contained in the subfolders. The wiki (and I think the blog) does not act on the whole, but on the folders and only indexes / displays the folder. When calling a tag (/tag=Agency/) it shows only the pages with this tag from the main folder and fails in any other case, even if it exists in the subfolder from where it was called. The links in the tags use the local directory as a reference: I would like to be able to change the list of tags and have it go through the entire wiki folder (with subfolders) but I haven't located the API function that manages it: What is the function that creates the list of Tags? I have created a simple page layout to show all the tags and/or authors with the correct links to the different pages. I would like to be able to replace the current pages of [tag=] and [tag=agency] with my page. How could I redirect these pages to the new layout? I am testing and designing on the page: The page https://wiki.cibame.eu/wiki/etiquetes shows the layout with which I want to update the pages [tag=] If you think it can be of general utility, tell me. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hello Blanquerna! First of all: could you please edit the title and put your question there? For example "Can I make a wiki with subfolders?" or "How do I make the wiki to go through the entire wiki folder (with subfolders)?". Tip: You can use the |
Beta Was this translation helpful? Give feedback.
-
Thank your for the detailed information. The default behaviour of the wiki extension is to use files in the current folder, it does not go through subfolders. You can change this behaviour by configuring a wiki start location in the settings. For example open file Regarding your API question. I'm sure you already know that the main code is in file Tip: You can show detected wiki pages, they are available on your website as Hope this is what you are looking for. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. I have gone through everything again and the problem was in the configuration: Sorry for a stupid mistake. I think that the problem of the labels is solved: they all appear and it addresses the pages correctly. I think the menu is another problem because in the basic templates only one level is provided in the "navigation.html" layout. I have left in the template https://github.com/blanquerna/yellow-delta a multi-level menu model. I plan to leave a page with reference to all tags, authors so that they do not appear on all pages and thus be able to eliminate the sidebar section. The response page for "/tag=/" is a preconfigured page that I haven't found the layout of. How could I add at the end or at the beginning the list of all the Tags? |
Beta Was this translation helpful? Give feedback.
-
Let's stick to one question per discussion... you know the drill. 😄 |
Beta Was this translation helpful? Give feedback.
Thank your for the detailed information. The default behaviour of the wiki extension is to use files in the current folder, it does not go through subfolders. You can change this behaviour by configuring a wiki start location in the settings. For example open file
system/extensions/yellow-system.ini
and changeWikiStartLocation: /wiki/
.Regarding your API question. I'm sure you already know that the main code is in file
system/extensions/wiki.php
. The functions responsible for creating a list of wiki tags aregetShortcutWikitags()
andgetWikiPages()
, the later one is probably the interesting one, it returns a collection of pages. This collection of pages decides what will be displayed, wh…