A lots of organizations do not prefer use of blank pages and SPACE. The option to use them is readily available for all users but there is no built-in functionality to disable the quick page create option and Blank SPACE template use.
Insert the following code snippet in the Custom HTML
<script type="text/javascript">
AJS.toInit(function(){
AJS.$('#quick-create-page-button').hide();
AJS.$('#create-page-button > span.aui-iconfont-more').removeClass("aui-icon aui-icon-small aui-iconfont-more");
});
</script>
2. Disable the system module for " Creating Blank Page "
curl --user "username:password" --location --request PUT '<baseurl>/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-create-content-plugin-key/modules/create-blank-page-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
"enabled": false
}'
Here , plugin key : com.atlassian.confluence.plugins.confluence-create-content-plugin
and module key : create-blank-page
3. Disable the system module for " Creating Blank SPACE "
curl --user "username:password" --location --request PUT '<baseurl>/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-create-content-plugin-key/modules/create-blank-space-item-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
"enabled": false
}'
Here , plugin key : com.atlassian.confluence.plugins.confluence-create-content-plugin
and module key : create-blank-space-item
How-To Template.
The How-To Template gets affected by this method. It will not launch as expected. So the way out may be to create a new customized How-To template.
Vickey Palzor Lepcha
1 comment