Joomla! Day Uk 2009 Migration

Preview:

DESCRIPTION

Andrew Rose (UK Community member) presentation on how to del with the migration of Joomla! 1.0.x web sites to Joomla! 1.5.x Not to be missed

Citation preview

1

Joomla! Day UK 2009

2

Joomla! Day UK 2009Migration of Joomla! 1.0.x sites

Andrew RoseInch Hosting

http://www.inchhosting.co.uk/The UK Joomla! Specialists

Introduction

• Why

• Precautions

• Migration Tools

• Methods– Must do– Nice to do

• Gotchas

• Conclusion3

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

4

Precautions

• Backup

• This means everything!– Files– Data

5

Migration Tools

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

• mtwMigrator – An alternative solution– Imports to 1.5

6

Preparation

• Ideal:– New Installation

• Separate install• Separate database

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

7

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)

8

Load Migration Script

9

MethodmtwMigrator

• Install a clean version of Joomla! 1.5

• Install mtwMigrator

• Configure migrator (old database)

• Run migrator

• Done! (well maybe)

10

Gotchas

• {mosimage}

• Modules/Menus – not infalible

• Components– Install, migrate data

• Memory/Execution Time (php)

• Files (images etc)

• UTF-8 – http://forum.joomla.org/viewtopic.php?f=11&t=55065

11

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" />

12

Conclusion

• It isn’t too difficult

• Community Help– Joomla! Forum

• Questions?

13