How can I remove CMS(/admin) from the application??

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Using Silverstripe 4.1

The whole admin section and the CMS are individual Silverstripe modules:

  • silverstripe/admin
  • silverstripe/cms

Just remove them from your composer files and flush the caches.

1 Like

Thanks,

Should I remove these modules also?
silverstripe/asset-admin
silverstripe/campaign-admin
silverstripe/cms
silverstripe/recipe-cms
silverstripe/reports
silverstripe/siteconfig

Up to you. Version 4.1.5 (latest 4.1.x) of the framework only requires silverstripe/config and silverstripe/assets. If you do not plan to utilize any CMS functionality, you can get rid of the mentioned modules.