12
Migration of Joomla! 1.0.x sites Matt Meyrick St Joseph’s College http://www.stjos.co.uk/ Local Independent School

Migrating J10 J15

Embed Size (px)

DESCRIPTION

Presentation by Matt Meyrick on migrating from 1.0.x to 1.5.x given at the June 2009 Joomla User Group Suffolk meeting.

Citation preview

Page 1: Migrating J10 J15

Migration of Joomla! 1.0.x sites

Matt MeyrickSt Joseph’s College

http://www.stjos.co.uk/Local Independent School

Page 2: Migrating J10 J15

Introduction

• Why

• Precautions

• Migration Tools

• Methods– Must do– Nice to do

• Gotchas

• Conclusion

Page 3: Migrating J10 J15

Why

• Did Joomla! change?– To future proof Joomla

• Changes to Database

• Why should I?– You don’t have to but....

• Support ending• Future improvements• Security

Page 4: Migrating J10 J15

Precautions

• Backup

• This means everything!– Files– Data

Page 5: Migrating J10 J15

Migration Tools

• Migrator from 1.0 to 1.5– The “official” option– Exports from 1.0

• mtwMigrator – An alternative solution– Imports to 1.5

Page 6: Migrating J10 J15

Preparation

• Ideal:– New Installation

• Separate install• Separate database

– Less Ideal:• Separate install (sub directory?)• Same database (prefix issues)

Page 7: Migrating J10 J15

MethodMigrator from 1.0 to 1.5

• Install component in 1.0

• Install any 3rd party addons

• Run the export

• Install Joomla! 1.5– As part of the installation you are given the

option to use the data exported above

• Done! (well maybe)

Page 8: Migrating J10 J15

Load Migration Script

Page 9: Migrating J10 J15

MethodmtwMigrator

• Install a clean version of Joomla! 1.5

• Install mtwMigrator

• Configure migrator (old database)

• Run migrator

• Done! (well maybe)

Page 10: Migrating J10 J15

Gotchas

• {mosimage}

• Modules/Menus

• Components– Install, migrate data

• Memory/Execution Time (php)

• Files (images etc)

Page 11: Migrating J10 J15

Templates

• Most templates will work in legacy mode• New template?• Template conversion

– Compare templates• Modules

– <?php mosLoadModules ( ‘right', -1 ); ?> becomes

– <jdoc:include type="modules" name="right" style=“raw" />

• Content– <?php mosMainBody(); ?> becomes

– <jdoc:include type="component" />

Page 12: Migrating J10 J15

Conclusion

• It isn’t too difficult

• Community Help– Joomla! Forum

• Questions?