This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
When I install a theme as a developper I'm frustrated because I can not apply any logique when the end user press the activate button. I would expect from october the possibility to run a script
for exemple this script could do a couple of things :
- I use october with the Page plugin. In order to be able to correctly add styles to my content when editing I changed
/backend/system/settings/update/october/backend/editor configuration accordingly to Bootstrap 3
- So I would expect to update the database for the backend_editor_settings when the user install the theme
- I whish I could populate the system_mail_layouts db to provide a fully functional theme to the end-user
- I could provide preconfigure backend settings: groups, permissions, etc
This feature is quite simple to implement I think.
- If an php file called
theme.php
is available in the theme directory when the user click on activate October run this script
I believe that feature could bring more perceived quality for the end user when installing a theme.
I would agree if my theme had a PHP file somewhere that I can use but it's not the case.
Given I install a new October then I go to the market, download the themes and activate this theme.
How do I configure programmatically the CMS for my clients?
couedeloalexandre12023
Create a companion plugin for your theme that sets up and configures the CMS appropriately
1-4 of 4