How do I change space layouts in custom themes?

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

目的

Many custom themes do not support configuring a custom layout via the user interface. The guide below is an example to change the layout in the Documentation theme. The aim is to remove the children displayed at the bottom of the page. 

ソリューション

  1. Unzip the <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip (for Confluence 4.3.x and earlier) or go to <confluence-install>/confluence/WEB-INF/atlassian-bundled-plugins (for Confluence 5.x and above)
  2. Unjar the doctheme-X.X.X.X.jar in the unzipped atlassian-bundled-plugins.zip.
  3. Once unjarred, edit the /doctheme/decorators/page.vmd.
  4. Comment the following line in the file:

       ##renderChildren()    
    
  5. ファイルを保存します。
  6. Jar the file back to doctheme-X.X.X.X.jar.
  7. Zip the atlassian-bundled-plugins.zip back (for Confluence 4.3.x and earlier only)
  8. Restart your Confluence. Your changes would be reflected after this.

If you need a guide to help with the editing files within JAR archives, you can refer to this documentation. However, please keep in mind that the Documentation Theme plugin is part of bundled plugins. Hence, it is stored in a special place, which is located at <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip. Therefore, if you are following the guide, please make sure the paths are correct.

最終更新日: 2016 年 2 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.