How to Upgrade Botble CMS with Customization Code
How to Upgrade Botble CMS with Customization Code
Keeping your Botble CMS up-to-date is essential for security, performance, and new features. This guide covers upgrade methods and best practices for preserving your customizations.
Table of contents [Show]
Upgrade Methods
Automatic Update (Recommended)
The easiest way to upgrade:
- Log into admin panel
- Go to Platform Administration → System Updater
- Click Download & Install Update if available
- System handles everything automatically

Manual Update
For advanced users who need more control:
Step 1: Download & Extract
- Get the latest version from CodeCanyon
- Extract the downloaded package
Step 2: Upload Files
Replace these directories and files:
app,database,config,platformpublic/themes,public/vendor,bootstrap,vendorcomposer.json,composer.lock,public/index.php
Step 3: Post-Upgrade Tasks
- Clear Cache: Go to Platform Administration → Cache Management → Clear all CMS cache

-
Reactivate Plugins: Navigate to Plugins → Installed Plugins, deactivate then reactivate all plugins
-
Update Translations: Visit Settings → Localization → Other Translations and click the refresh link

Handling Customization Code
Minimal Customizations
If you don't make too many changes in source code:
- Copy your changes to a safe place (backup)
- Upgrade your site using System Updater
- Copy your changes back
Using Git for Comparison
If you know how to use Git, use it to compare our changes with your changes to know which files need to be updated:
# Compare changes between versions
git diff v7.5.0..v7.6.0 -- platform/
# See what files changed
git diff --name-only v7.5.0..v7.6.0
This helps identify conflicts between your modifications and the new version.
Best Practices for Customization
Create a Plugin (Recommended)
The best practice to customize our features is making a plugin in platform/plugins. Do the same as we did for other plugins - it will help you keep your changes when using System Updater.
Benefits:
- Changes are isolated from core code
- Survives upgrades automatically
- Easy to manage and version control
- Can be shared across multiple sites
Plugin Structure:
platform/plugins/my-customization/
├── config/
├── database/migrations/
├── resources/
│ ├── lang/
│ └── views/
├── routes/
├── src/
│ ├── Http/Controllers/
│ ├── Models/
│ ├── Providers/
│ └── Plugin.php
└── plugin.json
Theme Customization
If you want to customize our theme, you should rename it first. This prevents your customizations from being overwritten during updates.
Steps:
- Rename the theme folder (e.g.,
ripple→my-theme) - Update theme configuration files
- Activate the renamed theme
See the detailed guide: Rename Theme in Botble CMS
Summary
| Scenario | Recommended Approach |
|---|---|
| Minimal changes | Backup → Upgrade → Restore |
| Multiple file changes | Use Git to compare and merge |
| Feature customization | Create a plugin in platform/plugins |
| Theme customization | Rename theme first |
Additional Resources
By following these best practices, you can safely upgrade your Botble CMS while preserving all your custom work.
Leave a comment
Your email address will not be published. Required fields are marked *