[TYPO3] insert into be_users - preinstall

Anders Tillbeck at at opengate.dk
Mon Mar 26 14:10:40 CEST 2007


Reply to my own question.

This may be common sense to most but anyways. But I just figured it out 
and this is how I did it. I got the idea from watching the podcast from 
Kasper Skårhøj regarding the christmas  site 2006. that example included 
  a distribution of files for a Typo3 hotel with several extensions 
preinstalled plus a custom database.sql.


A) This is what you do:
  - Do a new installaion of a Typo3 CMS
  - Change the password of the admin be_user and the install tool
  - Create the be_users you need
  - install any extension that your new hotels should have as standard
  - Setup dpi if needed (96 for Freetype 2 support)
  - Include standard CSS files or other material
  - Do any other custom modification that you always do with new hotels

B) Now you make a dump of the database and place it in typo3conf.

C) After that copy these files and folders to a secure place:
  - fileadmin
  - typo3conf
  - typo3temp
  - uploads
  - _.htaccess
  - clear.gif
  - the 4 symbolic links to your shared source

D) You are ready to create your custom new hotels.
Just copy the files from above to a new webfolder. Create your database. 
When importing data choose your custom database file. This is only an 
option if you placed your dump in typo3conf as section B suggest.

This works for me !!
Sure it will work for you too :-)


BR. Anders
Opengate.dk


Anders Tillbeck skrev:
> Hi,
> when doing a fresh install the be_users admin is created. Where is this 
> done? I want to add a few more users so all our t3 developers are 
> created automaically.
> 
> There is quite a bit of "INSERT INTO" in the file 
> typo3/sysext/tsconfig_help/ext_tables_static+adt.sql
>  - but no insert into be_users
> 
> Is it possible to do other pre-install modifications
>  - so the hotel is created with the most used extension
>  - create webmaster be_user with custom rights
>  - change password for admin be_user
>  - change install tool password
>  - etc. etc.
> 
> 
> thanks, Anders


More information about the TYPO3-english mailing list