Custom theme added automatically at installation stage
Permalink
Hi,
I have an installer for my clients allowing them to install concrete5 seamlessly. By default concrete5 has 4 themes added during installation stage.
I have a 5th theme I want to also be available without them customer having to download.
So I need to add the theme folder in /packages. ALso need to add a record to the 'packages' table in the DB. So please could somebody tell me where abouts in concrete5 sourcecode the SQL data can be found that is used to create the initial database?
Thanks
I have an installer for my clients allowing them to install concrete5 seamlessly. By default concrete5 has 4 themes added during installation stage.
I have a 5th theme I want to also be available without them customer having to download.
So I need to add the theme folder in /packages. ALso need to add a record to the 'packages' table in the DB. So please could somebody tell me where abouts in concrete5 sourcecode the SQL data can be found that is used to create the initial database?
Thanks
http://www.concrete5.org/documentation/how-tos/developers/concrete5...
You can override the default starting points like this:
1. Copy folder /concrete/config/install/packages to your /config/install/ folder, so that after that those two starting points are in /config/install/packages/
2. Open up any of the starting point folders (the one you install for your clients)
3. Inside the folder you can find "content.xml" file, this is where you add your stuff
4. If you want it to install custom package, you can just add this to the content.xml file: