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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0 RC2
    • Fix Version/s: 2.3 M1
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: