Disable Blog Functionality

Hello, is it possible to disable the Create Blog functionality in BlueSpice? Alternatively, is it possible to hide Blog and User Blog so that they are not visible in All Pages and the navigation? We do not want our coworkers to use the blog feature. In our setup, we only want users to create pages and subpages. Thank you for your help.

Hi kaja.a,

you can try the following:

1. Remove the link in the main navigation Entrypoints in the Config manager. See:

  1. In the namespace manager, you can remove the check for “Content namespace” for Blog and User Blog, that way, they are not immediately listed in the list of content namespaces for the Special page “Pages”.

  2. In addition you could hide the menu item in the new button with the following style in MediaWiki:Common.css:

    a#ca-simpleblogpage-create {
    
    display: none;
    
    }
    

    See if that works for you.

Greetings,

Margit

Alternatively - but not recommended - one could override /app/bluespice/settings.d/040-BlueSpiceProDistribution.php (by mounting a modified copy of the file from the hostmachine) and change

wfLoadExtension( ‘SimpleBlogPage’ );

to

#wfLoadExtension( ‘SimpleBlogPage’ );

In bluespice-deploy/compose/docker-compose.main.yml one would need to add a

    - /some/local/040-BlueSpiceProDistribution.php:/app/bluespice/settings.d/040-BlueSpiceProDistribution.php

into the volumes sections.

But this is not recommended, as the file can be subject to change during an update.

Hi,

The first and third options worked for me, thanks. However, the second option—unchecking Blog and User Blog in the namespace manager—doesn’t seem to have any effect. I can uncheck it, but when I refresh the page, it’s still checked. I’ve tried this with other namespaces, and it works there, but for some reason, it doesn’t work for Blog and User Blog.

Hi kaja.a,

thanks for reporting back. I can reproduce the issue with deactivating the checkbox for Blog and User_blog not persisting.

We track this issue as bug ERM43028. You can check our official release notes for patches.

Greetings,

Margit