PacktLib: Learning Joomla! 1.5 Extension Development

Learning Joomla! 1.5 Extension Development

Credits

About the Author

About the Reviewer

Preface

Joomla! Extension Development: An Overview

Why extend Joomla!?

How to extend Joomla!

Topic overview

Our example project

Summary

Getting Started with Component Development

Joomla!'s component structure

Joomla!'s division of frontend and backend

Registering your component in the database

Creating toolbars

Summary

Backend Development

Creating the database table

Coding with MVC

Creating the review form

Processing the data

Creating a list screen

Editing records

Summary

Frontend Development

Listing the reviews

Displaying a review

Generating search-engine-friendly links

Adding comments

Displaying comments

Summary

JTable, JHTML, and JUser

Overriding JTable methods

Adding ordered records

Recording traffic

Checking out and checking in records

Getting user information

Generating elements with JHTML

Setting ordering

Summary

Module Development

Registering the module in the database

Creating and configuring a basic module

Recruiting some helpers

Trying some different layouts

Mixing it up

Summary

Expanding the Project

Publishing records

Deleting records

Adding Apply

Requiring specific fields

Using pagination to break up long lists

Searching

Migrating toolbars to views

Managing comments

Summary

Using JavaScript Effects

Modal boxes

Tool tips

Sliding panes

Customizing Google Maps

Using jQuery

Summary

Behind the Scenes: Plug-ins

Database queries

A simple link plug-in

What events can be registered?

An information box plug-in

Searching the reviews

Summary

Configuration Settings

Adding parameters to extensions

Parameters for modules

Parameters for plug-ins

Parameters for components

Summary

Email, Languages, and JFile

Sending emails

Managing languages

Creating translations

Handling file uploads

Summary

Packing Everything Together

Listing all of the files

Packaging the module

Packaging the plug-ins

Packaging the component

Including SQL queries

Creating backend menu items

Extra installation scripts

Distribution

Summary