Release Notes - How to remove it from Navigation?

#1

I have installed the cool application of “Release Notes” but I would like to have access to my Release Notes only by the Application panel and not by the Navigation menu.

Please, checkout the screenshot and let me know, if there is a way to hide it from the Navigation.
release notes_remove

I’ve tried to restrict " Release Notes" to specific users but in this case, the app, at the same time, is not available from the Application panel, so this is a problem…

Many thanks in advance :slight_smile:
Konstantina

0 Likes

#2

Hi, this is something not easy to do right now. We’ve started a brainstomring about this here: http://markmail.org/message/3y2is2w2xutjp7v5

Right now the only solution is to mark all the pages in the ReleaseNotes space as hidden and modify the RN app to create new RN pages that are hidden by default.

Note that if you do this, the RN pages won’t appear anymore in search, Page Index, etc

0 Likes

#3

Hello! Many thanks for the instant reply!!

If I make all the pages of RN hidden, then they won’t appear anywhere, right?

0 Likes

#4

They will appear for the users that have “Display Hidden Pages” set to true on their user preferences.

You could also try to modify the Navigation panel or create a new panel that uses the Document Tree Macro and chose some ‘root’ page, displaying different nodes of your wiki, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro#HParameters

0 Likes

#5

Caty is right, if you’re a dev you could implement http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro#HExcludenodesbasedontheirids to filter out the “ReleaseNotes” nodes from the tree.

0 Likes

#6

Thank you both!

Unfortunately I am not a dev, but a humble trainer but I’ll seek for help and if I don’t make it, I might ping you again :slight_smile:

0 Likes

#7

sure, gl

0 Likes

#8

Hello again!

Is there a way to help me build the custom tree, since I haven’t found a helping hand to do that?

Konstantina

0 Likes

#9

Hi @Konnageo. Too bad!

If following http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro#HExcludenodesbasedontheirids is too complex then I think the next best solution for you is to hire someone to help you. Some companies are sponsoring the dev of XWiki and have some services to for that (e.g. XWiki SAS), see https://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport

If you want to do it yourself, that’s fine too but you’ll need to spend to understand how xwiki works and ask specific questions.

0 Likes

#10

Thank you Vincent. I will find a solution…

Also, is there a way to hide the “copy” function for users with only view/read rights.
They keep telling me that it’s a bit confusing for them, since they cannot do anything after clicking on the option of “Copy”.

copy

Many thanks!
Konstantina

0 Likes

#11

Regarding the error message your users are getting, I’ve opened https://jira.xwiki.org/browse/XWIKI-14685

Now we have another jira issue regarding hiding the Copy action when you don’t have the permission. The issue is that the permission depends on the target location, so we need to improve that instead; I’ve created https://jira.xwiki.org/browse/XWIKI-14686

In the meantime you can either hide the menu action with SSX and CSS or modify menus_content.vm

0 Likes