TL comes with the music academy sample installed which for most users is a nice way to get to see how certain things are done. however, most won't want to start from there. Setting up a clean install everytime is a lot of work as well. So I've made a clean install sql which you can include during install.php and this will do the following things:
- Create a main navigation module.[/*:m:3vewsxyl]
- Create a default page layout containing the navigation in the header and Articles in Main.[/*:m:3vewsxyl]
- Create 4 basic pages with temporary content: root, home, contact and contact form received.[/*:m:3vewsxyl]
- Create seperate user groups for each basic task.[/*:m:3vewsxyl]
- Create two users; one administrator and one customer admin who receives all rights except "make user administrator".[/*:m:3vewsxyl]
- Create a contact form that contains all email format fields.[/*:m:3vewsxyl]
- Changed some of the default settings including <script><style> and <embed> as valid elements and changeing default access rights.[/*:m:3vewsxyl]
A few things should be considered:
- You still need to make some files writable on server. Do not forget sitemap.nl.xml in the root.[/*:m:3vewsxyl]
- Default company name (http://www.designxpress.nl) has to be changed in Site structure (pagenames) and in users.[/*:m:3vewsxyl]
- Default email address is info@company.nl which also needs to be changed.[/*:m:3vewsxyl]
- Default user accounts are "admin" => "designxpress" (real administrator) and "Administrator" => "designxpress" (normal user with lots of permissions). (You should change these passwords directly after installation for obvious reasons)[/*:m:3vewsxyl]
How to use
Use the zip file and extract it in TL root before running install.php. The templates folder should now contain "clean-setup.sql", if not make sure it does before proceeding. Next follow standard installation procedures. Except during the install.php process you choose "clean-setup.sql" as import template when you are given the option to do so. This will set everything up.
Why should you use this
This saves me 1 hour in setup time for each website, giving me a clean start!! It does all of the standard setup for you... I combine it with an altered version of the standard installation files so I also get the filestructure, templates and extra plugins I always use.
Future TL versions
There is a small chance that this file will also work with future versions of TL. If not then someone (me?) could post a new version of this file. You can still use this version if you'd install TL 2.8.1 with this sql file then remove all standard TL files and copy in the new TL version. After running install.php you would most likely be up-to-date.
- 2.8.1 file will work for TL versions up to (and including) TL 2.8.3[/*:m:3vewsxyl]
- 2.9 file was created for Contao version 2.9.RC1 and might work for newer versions. I still use it for 2.9.3[/*:m:3vewsxyl]
Bookmarks