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

Using $displayDocExtra false hides tags and document footer information (creator and creation date)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.8-rc-1
    • Fix Version/s: 9.8
    • Component/s: Flamingo Skin
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      There is a discrepancy between the 2 ways of hiding the docextra tabs/section after the document content.

      When using #set ($docextra = []), only the tabs are hidden, but when using #set ($displayDocExtra = false) the tags and document footer information is also hidden (because the entire docextra.vm) template is not applied.

      Because using $displayDocExtra should be recommended and because we have been (wrongfully) recommending $docextra for a while now, it would be more expected for using $displayDocExtra to have the same effect as $docextra, i.e. to hide only the tabs.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: