Book Image

Building Websites with Joomla! 1.5

By : Hagen Graf
Book Image

Building Websites with Joomla! 1.5

By: Hagen Graf

Overview of this book

<p>Joomla! started as a fork from Mambo in 2005, when many of the original developers of the Mambo CMS moved to working on Joomla! It has rapidly grown in popularity and, according to its own description, is a "Cutting Edge Content Management System and one of the most powerful Open Source Content Management systems in the world. It is used world-wide for anything from simple homepages to complicated corporate websites. It is easy to install, easy to manage and very reliable."<br /><br />While the Joomla! CMS has the flexibility and power needed for complex, full-featured web applications, it is also simple to use to create basic websites. Its powerful, extensible template system can deal many different data types and control of user access, approval of content, scheduling of content display, and rich administrative controls are all included.</p>
Table of Contents (29 chapters)
Building Websites with Joomla! 1.5
Credits
About the Author
Preface
3
A Tour of Your New Website
5
Configuration of Joomla! Administration
Online Resources
Template Modules
How Do I switch an Image (Logo) in the Template?
Joomla! API
Forgot the Admin Password
Security Without Global Variables
Index

Manual Method


First the bad news. Changing the tables does not work properly with phpMyAdmin because the extended characters are not interpreted correctly! The data are all imported, but the extended ASCII characters (like Ä, Ö, Ü, ß, ä, ö, ü, ..., and many others) are not displayed correctly.

First you have to export all of the data and bring them into the UTF-8 format, and then you have to make a few changes to the table structures. The export with phpMyAdmin works without problem.

Check the Complete inserts checkbox. Now you have to save the exported data with an appropriate editor in UTF-8 format. (This even works with Windows Notepad, as long as the dump is not too large.)

Note

Careful

Make sure that only the data and not the table structures are exported.

Modifying the Joomla! 1.5 Database Scheme

There are really only two fields that have to be renamed!

  • In the jos_core_acl_aro table, the aro_id field is renamed to id.

  • In the jos_core_acl_aro_groups table, the group_id field is renamed to id.

Importing the Tables

These tables can be imported:

  • jos_banner

  • jos_bannerclient

  • jos_bannerfinish

  • jos_categories

  • jos_contact_details

  • jos_content

  • jos_content_frontpage

  • jos_content_rating

  • jos_core_acl_aro

  • jos_core_acl_groups_aro_map

  • jos_core_log_items

  • jos_core_log_searches

  • jos_messages

  • jos_messages_cfg

  • jos_newsfeeds

  • jos_poll_data

  • jos_poll_date

  • jos_poll_menu

  • jos_polls

  • jos_sections

  • jos_users

  • jos_weblinks

The jos_usertypes table is no longer used in Joomla! 1.5.

Menus and modules can be newly configured either with phpMyAdmin or with the admin interface. And you are done.

Note

If you have some experience with phpMyAdmin and MySQL and/or the SQL language, you will be able to upgrade the core components with no problem.

The migration of third-party components can be more problematic. I am positive that migration scripts will be made available soon.

Last but not least, not a lot has changed with tables other than the character set. The bulk of the component developers' work has been done in the source code, which has to be updated to the new version.

A migration guide is being maintained at joomla.org. Make sure you read it.