Joomla! 1.5 Development Cookbook: LITE
()
About this ebook
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
Mastering Joomla! 1.5 Extension and Framework Development: The Professional Guide to Programming Joomla! Rating: 4 out of 5 stars4/5Joomla! 1.5 Development Cookbook Rating: 0 out of 5 stars0 ratings
Related to Joomla! 1.5 Development Cookbook
Related ebooks
Joomla! 1.5 Site Blueprints: LITE Rating: 0 out of 5 stars0 ratingsHow to Build a Multilingual Website with Joomla! 2.5 Rating: 0 out of 5 stars0 ratingsGetting Started with OpenCart Module Development Rating: 0 out of 5 stars0 ratingsOpenCart Theme and Module Development Rating: 0 out of 5 stars0 ratingsMagento 2 Development Cookbook Rating: 0 out of 5 stars0 ratingsJavaScript Projects for Kids Rating: 0 out of 5 stars0 ratingsService Worker Development Cookbook Rating: 0 out of 5 stars0 ratingsJoomla! 1.5 Cookbook Rating: 0 out of 5 stars0 ratingsAngularJS Directives Cookbook Rating: 0 out of 5 stars0 ratingsMootools 1.2 Beginners Guide LITE: Getting started Rating: 0 out of 5 stars0 ratingsJoomla! with Flash Rating: 0 out of 5 stars0 ratingsJava 9 Concurrency Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsjQuery UI Cookbook Rating: 0 out of 5 stars0 ratingsCreating concrete5 Themes Rating: 0 out of 5 stars0 ratingsjQuery Mobile Web Development Essentials - Third Edition Rating: 0 out of 5 stars0 ratingsCucumber Cookbook Rating: 0 out of 5 stars0 ratingsBootstrap By Example Rating: 0 out of 5 stars0 ratingsBuild A Bulletproof Ebook Rating: 0 out of 5 stars0 ratingsOpenLayers Cookbook Rating: 0 out of 5 stars0 ratingsBuilding job sites with Joomla! Rating: 0 out of 5 stars0 ratingsLearning Behavior-driven Development with JavaScript Rating: 5 out of 5 stars5/5Performance Project Rating: 0 out of 5 stars0 ratingsSymfony2 Essentials Rating: 0 out of 5 stars0 ratingsGetting Started with PhantomJS Rating: 0 out of 5 stars0 ratingsInstant Jsoup How-to Rating: 0 out of 5 stars0 ratingsLaravel 5.x Cookbook Rating: 0 out of 5 stars0 ratingsInstant jQuery Selectors Rating: 0 out of 5 stars0 ratings
Information Technology For You
How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5AWS Certified Cloud Practitioner: Study Guide with Practice Questions and Labs Rating: 5 out of 5 stars5/5Investigating Child Exploitation and Pornography: The Internet, Law and Forensic Science Rating: 5 out of 5 stars5/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsComputer Science: A Concise Introduction Rating: 4 out of 5 stars4/5Handbook of Digital Forensics and Investigation Rating: 4 out of 5 stars4/5CODING INTERVIEW: Advanced Methods to Learn and Excel in Coding Interview Rating: 0 out of 5 stars0 ratingsChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5CompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsHacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5Data Governance For Dummies Rating: 0 out of 5 stars0 ratingsData Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5How To Stay Private Online Protecting Your Online Privacy and Shielding Your Online Presence from Snoopers Rating: 0 out of 5 stars0 ratingsMicro Niches Rating: 0 out of 5 stars0 ratingsHow To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsAn Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5CompTIA ITF+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsSharePoint Designer Tutorial: Working with SharePoint Websites Rating: 1 out of 5 stars1/5The Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5How to Find a Wolf in Siberia (or, How to Troubleshoot Almost Anything) Rating: 0 out of 5 stars0 ratingsThe Programmer's Brain: What every programmer needs to know about cognition Rating: 5 out of 5 stars5/5Windows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5Panda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratingsSupercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Summary of Super-Intelligence From Nick Bostrom Rating: 5 out of 5 stars5/5
Reviews for Joomla! 1.5 Development Cookbook
0 ratings0 reviews
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