We recommend that when you make changes to the layout of your site, you need to keep a record of all changes to the layout of your Confluence site or space.
If not, you should be able to find your custom modifications by following the methods below. This method will display all your site and space level changes in a single output. From this output file, you should be able to find your modified custom files.
This method is very useful for the following situations:
- Many spaces have their own custom modifications, or
- You no longer have a separate record of your site layout.
All custom layouts are stored in a DECORATOR
table, which is the database used by Confluence. You can SELECT
find these from the database using SQL statements:
mysql> select SPACEKEY,DECORATORNAME,BODY from DECORATOR; +----------+---------------------+------+ | SPACEKEY | DECORATORNAME | BODY | +----------+---------------------+------+ | NULL | decorators/main.vmd | ... | +----------+---------------------+------+ 1 row in set (0.03 sec)
The above example is for MySQL , if other databases are used, the above SQL should also be available.
https://www.cwiki.us/display/CONFLUENCEWIKI/Upgrading+Customized+Site+and+Space+Layouts