Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-5981

Add exclude option to children macro

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      I would like to have an option "exclude" for the children macro (and perhaps contentsbylabel as well).

      Current situation:

      I have some administrative pages in each space, e. g. some includes for the spaces main-page which should not "disturb" the normal users. Current solution is to have a page "Content" and a page "Admin" below the space's homepage and only show the children of "Content". But this has one problem: Most of the time users visit the spaces homepage and press "Add Page" and this will never be shown as "Content". It's hard to administrate such "lost" pages. Therefore I would prefer only to have the "Admin" page as special page but exclude it in the space's homepage like:

      {children:excerpt=true|exclude=Admin}

      I think a comma-separated list would be most convenient as possible arguments to exclude:

      {children:excerpt=true|exclude=Admin,Ignore Me}

      Additional Idea:

      Perhaps an excplicit "include" might be also desirable (or just extend the page-option to also allow comma-separated lists)... but this should be stated in comments if someone is interested in it. Currently we won't need it

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              2f5ffb0094a7 Mark Michaelis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: