Homepage
Main navigation
Main content
Additional information
October Tricks
Login / Sign up
Quality Guidelines
About
GitHub
Propose new content
October CMS resources and help articles
Simple and to the point. Optimized by the community.
×
Login / Sign up
Quality Guidelines
About
GitHub
Propose new content
Edit trick
Changes will be published after manual review
Title
Give your trick a describing title. Do
not
start with «How to...».
Your trick
Keep it short and concise! Markdown is supported.
If you are familiar with October's architecture, you know that the application comes with 3 "modules": Backend, System, and CMS. What each of these provides is fairly easy to understand based on the name alone: the Backend module handles the admin area, the System module provides essential functionality to the other modules, and the CMS module handles the frontend, public facing website. What if you are only interested in using the Backend of OctoberCMS, without the CMS module or a theme? This trick will help you remove the CMS module from your application. 1. Update `config/cms.php`: 2. Remove the `activeTheme` value 3. Remove `Cms` from the `loadModules` array 4. Optionally, you may remove the 'backendUri' value if you want your application accessible from the root domain. i.e. https://www.myapp.com vs https://www.myapp.com/backend And that's all there is to it! You now have a fully functional backend application using OctoberCMS! > If you are using composer, you can also remove the cms package from your composer.json. Please note this can lead to problems if any of your plugins register components, or references classes found in the CMS module, such as the Page class. Proceed with caution!
References
Add additional online resources to your trick
×
Name
URL
×
Name
URL
+ Add reference
Topics
If your trick fits more than one topic select multiple. Select at least one.
Backend
Plugin Development
CMS
Twig
Themes
Deployment
Tags
You can use existing tags or create new ones. Add at least one.
Submit for review
Cancel
We use cookies to measure the performance of this website. Do you want to accept these cookies?
Accept
Decline