13
1 Joomla! Day UK 2009

Joomla! Day Uk 2009 Migration

Embed Size (px)

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

Page 1: Joomla! Day Uk 2009   Migration

1

Joomla! Day UK 2009

Page 2: Joomla! Day Uk 2009   Migration

2

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

Andrew RoseInch Hosting

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

Page 3: Joomla! Day Uk 2009   Migration

Introduction

• Why

• Precautions

• Migration Tools

• Methods– Must do– Nice to do

• Gotchas

• Conclusion3

Page 4: Joomla! Day Uk 2009   Migration

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

Page 5: Joomla! Day Uk 2009   Migration

Precautions

• Backup

• This means everything!– Files– Data

5

Page 6: Joomla! Day Uk 2009   Migration

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

Page 7: Joomla! Day Uk 2009   Migration

Preparation

• Ideal:– New Installation

• Separate install• Separate database

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

7

Page 8: Joomla! Day Uk 2009   Migration

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

Page 9: Joomla! Day Uk 2009   Migration

Load Migration Script

9

Page 10: Joomla! Day Uk 2009   Migration

MethodmtwMigrator

• Install a clean version of Joomla! 1.5

• Install mtwMigrator

• Configure migrator (old database)

• Run migrator

• Done! (well maybe)

10

Page 11: Joomla! Day Uk 2009   Migration

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

Page 12: Joomla! Day Uk 2009   Migration

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

Page 13: Joomla! Day Uk 2009   Migration

Conclusion

• It isn’t too difficult

• Community Help– Joomla! Forum

• Questions?

13