Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4394

Allow some UI elements not to be displayed by setting a variable

    XMLWordPrintable

Details

    • Unknown

    Description

      The common use case is when using XWiki as a public Web Site. Their are some elements that we don't want to be displayed and currently it is a real pain to work on those elements since we need to override a couple of templates before we can start to play.

      I propose the following 4 variables, which I think are a good start when using XWiki as a public web site :

      • $displayContentMenu // display or not the content menu (view, edit links, etc.) true by default
      • $displayMainMenu // display or not the main menu (wiki and space links, user profile) true by default
      • $displayDocExtra // display or not the tabs with doc extra links (comments, attachments, etc.) true by default
      • $displayShortcuts // display or not the document shortcuts (those are in the line written under the document title)

      Note that in the future, this would be handled through the use of Interface eXtensions.

      Attachments

        Issue Links

          Activity

            People

              jerome Jerome Velociter
              jerome Jerome Velociter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: