Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable namespace grouping #66

Closed
mekras opened this issue Mar 17, 2014 · 7 comments
Closed

Option to disable namespace grouping #66

mekras opened this issue Mar 17, 2014 · 7 comments

Comments

@mekras
Copy link

mekras commented Mar 17, 2014

Now with "nsort" option namespaces are grouped together and displayed before pages. Please add option to disable this grouping in order to show namespaces among pages.

@Klap-in
Copy link
Collaborator

Klap-in commented Mar 17, 2014

The grouping you mentioned is independent of the "nsort" option.

"nsort" means that same sorting logic that is applied to the folders, is also applied to the folders.

So far i know, i don't know how i can sort the namespace among the pages...so at least this is a long term issue...

@Klap-in
Copy link
Collaborator

Klap-in commented Aug 26, 2014

The sorted pages are collected per namespace and added directly to results array. When you like to sort namespaces between pages, there is a sorting mechanism required that can:

  • sort this result array by recognizing levels, and move the subpages as well!
  • or add subpages after first sorting namespaces and pages. This means that the subpages of the namespaces need to be merged in between these sorted higher level entries.... or that subpages of each namespace is first separately buffered.

@rgleason
Copy link

rgleason commented Dec 4, 2016

We would really like this option too.
See http://tgp-architects.com/dokuwiki/doku.php?id=opencpn:opencpn_user_manual
We are trying the following:

  1. Set the sort order at the top of each page with {{indexmenu_n>[order number] }}
  2. In Configuration > Indexmenu plugin»indexmenu»page_index = :opencpn:sidebar
  3. At the top of "sidebar" page {{indexmenu>:opencpn#1|js#drktheme navbar msort nsort}}

Right now we have made "blank" pages to force all Pages to show as "Namespaces" with pages below, just so they all sort properly. Now we would like to know if we can "HIDE" all pages named "BLANK" easily.

Of course a simple option for force sorting both namespaces and pages would be mch easier!

@alaricljs
Copy link

Also looking to see this implemented.

@rgleason
Copy link

rgleason commented Feb 28, 2017

We have made a lot of blank pages but it seems to be working ok. Making a hidden blank page below single pages change the page icon to a dot, but that is fine because it now sorts as a namespace.

Sometime this will be implemented , then we will have to delete blank pages.

Should the single pages show as a page icon or a round namespace icon?
Maybe this should be an option too?

@demonspork
Copy link

I was pulling out my hair because I thought the "namespaces sort like pages" meant that they would be included in the ordering of pages. This thread finally made it clear that they are group separately but otherwise follow the msort values in their headpages.
Definitely need to update the documentation to make that clear.

@rgleason
Copy link

rgleason commented Mar 6, 2020

The link has changed a long time ago. It is now
https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual

If you would like to see how it works.

We would really like this option too.
See http://tgp-architects.com/dokuwiki/doku.php?id=opencpn:opencpn_user_manual
We are trying the following:

    Set the sort order at the top of each page with {{indexmenu_n>[order number] }}
    In Configuration > Indexmenu plugin»indexmenu»page_index = :opencpn:sidebar
    At the top of "sidebar" page {{indexmenu>:opencpn#1|js#drktheme navbar msort nsort}}

Right now we have made "blank" pages to force all Pages to show as "Namespaces" with pages below, just so they all sort properly. Now we would like to know if we can "HIDE" all pages named "BLANK" easily.

Of course a simple option for force sorting both namespaces and pages would be mch easier!

@Klap-in Klap-in closed this as completed in dcc823f Jan 4, 2024
Klap-in added a commit that referenced this issue Jan 8, 2024
Fixes #286, to restore default group behaviour if nsort is used.

Extends dcc823f

See also issue #66 and #202, and PR #259 and #111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants