Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Joomla! 1.5 Development Cookbook: LITE
Joomla! 1.5 Development Cookbook: LITE
Joomla! 1.5 Development Cookbook: LITE
Ebook273 pages1 hour

Joomla! 1.5 Development Cookbook: LITE

Rating: 0 out of 5 stars

()

Read preview

About this ebook

This book is in Packt’s Cookbook series. A Packt Cookbook contains recipes for solutions to the most important problems you face when working with a topic. Inside the Cookbook you will find: A straightforward and easy to follow format, A selection of the most important tasks and problems, Carefully organized instructions for solving the problem efficiently, Clear explanations of what you did, Details for applying the solution to other situations.This book is for PHP developers who have spent time attempting to extend or customize Joomla with PHP code. This book has been designed with specific Joomla! development problems in mind, and it is expected that you are comfortable using PHP code to extend and customize Joomla!
LanguageEnglish
Release dateMay 19, 2011
ISBN9781849516174
Joomla! 1.5 Development Cookbook: LITE
Author

James Kennard

James Kennard is a computer programmer. He has worked with various PHP and MySQL applications, since 2002. He quickly discovered Mambo/Joomla! because of its flexible extension manager. James currently maintains one open-source Joomla! component, which has been translated into over fifteen languages. Moreover, he has plans to build two more open-source components. Examples of his work can be found on his personal website www.webamoeba.co.uk.

Read more from James Kennard

Related to Joomla! 1.5 Development Cookbook

Related ebooks

Information Technology For You

View More

Related articles

Reviews for Joomla! 1.5 Development Cookbook

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Joomla! 1.5 Development Cookbook - James Kennard

    Table of Contents

    Joomla! 1.5 Development Cookbook: LITE

    Credits

    About the Author

    About the Reviewers

    Preface

    What this book covers

    What you need for this book

    Who this book is for

    Conventions

    Reader feedback

    Customer support

    Errata

    Piracy

    Questions

    1. Working with the Database

    Introduction

    Executing a query

    Getting ready

    How to do it...

    There's more...

    See also

    Loading the first cell from the result of a query

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Loading the first record from a query

    Getting ready

    How to do it...

    There's more...

    See also

    Loading more than one record from a query

    Getting ready

    How to do it...

    There's more...

    See also

    Handling DBO errors

    How to do it...

    How it works...

    There's more...

    Creating a JTable

    Getting ready

    How to do it...

    How it works...

    See also

    Creating a new record using a JTable

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Updating a record using a JTable

    Getting ready

    How to do it...

    How it works...

    There's more...

    Reading an existing record using a JTable

    Getting ready

    How to do it...

    Deleting a record using a JTable

    Getting ready

    How to do it...

    Checking a record in and out (record locking) using a JTable

    Getting ready

    How to do it...

    There's more...

    Modifying record ordering using a JTable

    Getting ready

    How to do it...

    Publishing and unpublishing a record using a JTable

    Getting ready

    How to do it...

    Incrementing a record hit counter using a JTable

    Getting ready

    How to do it...

    2. Interaction and Styling

    Introduction

    Getting page and component parameters

    How to do it...

    How it works...

    Adding CSS to a page

    Getting ready

    How to do it...

    There's more...

    A sneaky shortcut

    Overriding component templates

    How to do it...

    How it works…

    There's more...

    Adding JavaScript to a page

    Getting ready

    How to do it...

    There's more...

    Big scripts

    See also

    Creating a modal window

    How to do it...

    How it works...

    There's more...

    Overriding options on a per-window basis

    See also

    Generating modal content

    How to do it...

    How it works...

    See also

    Updating an element using Ajax and MooTools

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Updating an element based on a form using Ajax and MooTools

    Getting ready

    How to do it...

    How it works...

    See also

    Providing an Ajax response from a component

    How to do it...

    How it works...

    There's more...

    See also

    Enabling pagination in a list of items

    How to do it...

    How it works...

    There's more...

    3. Customizing the Backend

    Introduction

    Disabling the menu bar

    How to do it...

    How it works...

    See also

    Setting the toolbar title and icon

    How to do it...

    How it works...

    See also

    Adding common item manipulation buttons to the toolbar

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Adding common itemized manipulation buttons to the toolbar

    Getting ready

    How to do it...

    How it works...

    There's more...

    See also

    Adding custom buttons to the toolbar

    Getting ready

    How to do it...

    There's more...

    See also

    Adding spacers and dividers to the toolbar

    How to do it...

    See also

    Adding a help system to a component

    How to do it...

    How it works...

    Creating a filter header for tabular data in an MVC component

    How to do it...

    How it works...

    See also

    Filtering tabular data in an MVC component

    How to do it...

    How it works...

    See also

    Creating toggle-enabled order column headers for tabular data in an MVC component

    How to do it...

    See also

    Ordering tabular data in an MVC component

    Getting ready

    How to do it...

    See also

    Index

    Joomla! 1.5 Development Cookbook: LITE


    Joomla! 1.5 Development Cookbook: LITE

    Copyright © 2011 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: April 2011

    Production Reference: 1130411

    Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK.

    ISBN 978-1-849516-16-7

    www.packtpub.com

    Cover Image by Karl Moore ( <karl.moore@ukonline.co.uk> )

    Credits

    Author

    James Kennard

    Reviewers

    Rob Clayburn

    Kevin Devine

    Acquisition Editor

    Douglas Paterson

    Technical Editors

    Hithesh Uchil

    Indexer

    Hemangini Bari

    Production Coordinator

    Melwyn D'sa

    Cover Work

    Melwyn D'sa

    About the Author

    James Kennard is an accomplished programmer with proven experience in many different types of organizations. He has worked as a private consultant, and has worked in the public and private sectors for the likes of Logica and the National Library of Wales. He has over six years of experience working with Joomla!, previously Mambo. As an active member of the Joomla! community, he maintains a popular open source helpdesk component and wrote the popular book Mastering Joomla! 1.5 extension and framework development, also available from Packt Publishing.

    About the Reviewers

    Rob Clayburn, along with running his company, Pollen 8 Design Ltd, is heavily involved as a project leader in Fabrik, an open source Joomla application builder, which allows users to rapidly prototype and create web applications.

    As an avid and experienced web developer, Rob strives in all his projects to balance sound programming practices, intuitive UI design, and eye-catching graphics.

    During his career, he has developed various web, mobile, and kiosk applications for clients ranging from a 3D kiosk game for The London Planetarium to various web applications, including a portfolio creator site and a geo-spatial social network.

    Kevin Devine has been developing web sites using Joomla! since 2006 when he accepted a full-time position with PICnet. Based in Washington, D.C, PICnet is a web development company serving non-profit organizations across the United States. He also devotes time to the Joomla! project as a member of the Bug Squad, a co-maintainer of the 1.5.x release, and a member of the Joomla! Security Strike Team.

    Preface

    This book has a wealth of solutions for problems that Joomla! developers face regularly. It provides step-by-step mini examples, which show how to overcome common design and implementation problems when creating Joomla! extensions.

    The book focuses on three important topics—working with the database, styling your pages, and customizing the backend of your Joomla! site. Within these chapters you will find all the answers you need for these topics.

    This book can be used in different ways. It can be used by the pro Joomla! developer looking for a

    Enjoying the preview?
    Page 1 of 1