The Official Joomla! Book is the authoritative, and comprehensive Joomla! reference for every administrator, developer, designer, and content manager. Distilling the extensive experience of two long-time Joomla! contributors, it teaches exactly what you need to know, through practical example sites and crystal-clear explanations.
If you’re new to Joomla!, you’ll learn how to quickly create usable, effective sites. If you’re an experienced Joomla! user, you’ll learn how to make your sites more flexible, feature-rich, visually attractive, and useful. And whether new or experienced, you’ll learn how Joomla! really works, so you can fully leverage its power whenever you’re ready. You'll also get to know the Joomla! community by hearing from twelve community members through in-depth interviews, and you’ll learn how to participate in the Joomla! project in ways that make sense for you.
Excerpt from Chapter 2
Where Do I Begin: Before You Install Joomla!
A lot more than installing and configuring Joomla! goes into creating an online presence, and over our years of contributing to Joomla!, there are a number of questions and subjects that have come up repeatedly that aren’t Joomla! specific but are more about the basics of where to begin or how to correct a mistake that may have been made before Joomla! was even installed. This chapter aims to answer those common questions and address some of the issues that may be quite confusing for those very new to running their own Web site. Experienced users may also be inspired to take a look at their Web strategy to see whether it needs an improvement or update.
Identifying Your Purpose
One of the most important groundwork items you can do before you get started creating your Web site is to identify the purpose. Why do you need a Web site, what do you want it to say to people, and do you want people to take action based on what you are communicating to them? Answering these questions can be tedious and frustrating, and sometimes the answers can be irritatingly elusive. The good news is that this step will help you avoid stuffing your Web site with items and functionality you don’t need, making it easier to maintain and retain focus. Joomla! on this point is an excellent choice as a framework to base your Web site on because of the flexibility it offers. At any time you can reevaluate your needs and extend Joomla! to meet any functionalities you may want to offer your Web site visitors in the future.
Here are questions to ask yourself and then answer as specifically as possible.
- Why do I need a Web site?
- What do I want to offer to visitors of my site?
- What information do I want from them?
- What actions am I expecting visitors to take while on my Web site?
- What actions am I expecting visitors to take after they leave my Web site?
- What kind of communication path do I want to use?
– A one-way communication directed outward from me to visitors?
– A two-way communication between myself and visitors?
– A collaborative communication environment where visitors communicate not only to me through my Web site but also with each other?
As you refine your answers to these questions, you can begin to list the functionality you will need for your Web site. This step is vitally important to help you choose appropriate extensions for your site that work well together. It can also help you avoid using too many extensions or having unused extensions installed on your site.
One of the main ways people expose their sites to security vulnerabilities is to keep unused and/or out-of-date extensions installed on their Web sites. If you aren’t using an extension, uninstall it, and check to make sure that all files and folders for the extension have been removed. Keep your extensions up-to-date. This is the time to pick your extensions wisely. Make sure extensions you have picked have an active developer or development team. Other helpful things to look for that make an extension stand out are a user forum, available documentation, and responsive communication availability with the developer or development team.
- Paperback: 340 pages
- Publisher: Addison-Wesley Professional; 1 edition (January 3, 2011)
- Language: English
- ISBN-10: 0321704215
- ISBN-13: 978-0321704214
Chapter One - All About Joomla!
In this chapter, there is a little bit of history, a little bit of future, and a lot about where the Joomla! project is right now, including how it is organized and how to navigate through the Joomlasphere. Over the years since the project started in 2005, there has been tremendous growth both with the code base and with the community that supports, works with, and contributes to the code. As with a number of open source projects, Joomla! is more than just about code; it is about the people and culture that surrounds it.
Chapter Two - Before You Install Joomla!
A lot more than installing and configuring Joomla! goes into creating an online presence, and over our years of contributing to Joomla!, there are a number of questions and subjects that have come up repeatedly that aren’t Joomla! specific but are more about the basics of where to begin or how to correct a mistake that may have been made before Joomla! was even installed. This chapter aims to answer those common questions and address some of the issues that may be quite confusing for those very new to running their own website. Experienced users may also be inspired to take a look at their web strategy to see whether it needs an improvement or update.
Chapter Three - Installing and Configuring Joomla!
This chapter will explain how to download and manually install Joomla! and will explain the basic configuration options. The screenshots and instructions will be referencing a common Web hosting control panel called Cpanel. Cpanel is an interface that allows users to have control over the various functionalities of their hosting account. A number of hosts have their own hosting control panel account interfaces that are similar to Cpanel, and your host will have documentation that shows you the equivalent actions and functions that we are describing in this walk-through. The main functions in this walkthrough are creating a database, accessing phpMyAdmin, and using File Manager. If your host does not use Cpanel, please reference the documentation for each of those functionalities that your host has available to familiarize yourself with them before proceeding. Also note that some hosts may limit your ability to create databases or your access to phpMyAdmin. In that case, you will have to contact your host to get the database name, database username, and database password. You should make sure that the database character set is utf8 and the collation is utf8_general_ci. Having the database set to this character set and collation gives the broadest available use of numerals, alphabetical characters, and symbols across many languages.
In Chapter 2, we discussed how to choose a good host for Joomla! and what the minimum requirements are for running Joomla! This chapter requires that those best practices in choosing a host have been followed and that the host offers an optimal environment for running Joomla!
Chapter Four - Working with Content
Now that you have a basic Web site with sample data installed, you are ready to start organizing the structural content of your site using Joomla! In this chapter, we will explain the use of the Joomla! Content component to create articles and organize them into sections and categories. We will use the sample data you installed in Chapter 3 to demonstrate key features and procedures. The patterns you learn in the Content component will apply in other components.
Chapter Five - Customizing Joomla! Templates
Joomla! templates control the look and feel of your site by controlling colors, typography, images, and other elements of design. This chapter will take you through customizing the default template called Beez, and it will provide information on the basic files that make up a very simple Joomla! template. What this chapter will not do is teach PHP, HTML, and CSS because all three are entire book subjects themselves. Also, this chapter will talk about the many available avenues the community has regarding template clubs, custom template providers, and how you can take the look and layout from a standard static HTML Web site and turn that file into a Joomla! template.
Chapter Six - Basics of Joomla! Extensions
A lot of the power behind Joomla! is the ability for developers and users to extend and build on its framework and functionalities. Chapter 1 described what extensions are and defined components, modules, and plugins. Another extension type is installable language packs that translate the text used throughout Joomla! and in components, modules, and plugins into other languages.
Joomla! comes with a number of built-in extensions such as the Web Links component, the Latest News module, and the TinyMCE Editor plugin. You can extend the functionality of your site by installing additional extensions that are produced by independent developers. This chapter will discuss best practices in using the core extensions, choosing additional extensions, using the Joomla! Extension Directory, and installing extensions, as well as give you recommendations for some very useful extensions that every site can benefit from or that are extremely popular in the Joomlasphere.
Chapter Seven - Caring for Your Joomla! Site
Once your Web site is created and online, the work doesn't stop. It is important to note that being the administrator of a Web site takes ongoing work to keep it updated, to keep your content fresh, to advertise and market it, and to keep your visitors engaged. Depending on what type of site you have created, the workload may be more or less, but all Web site administrators need to take a proactive approach and stay on top of taking care of their Web site. This chapter will explain some best practices and simple steps to keep up your Web site and to continue growing your visitor exposure and brand reach.
Chapter Eight - Joomla! for Business
Free and open source software (FOSS) is good for businesses on a number of levels. Initially, the greatness comes out of the price point. Free or low cost can make the difference in the overall bottom line of a business's financial status. The other advantage is in terms of support. Most FOSS software projects have communities of users and developers that can support the user base. Joomla! is an excellent example of how a FOSS software community creates, distributes, and supports a software project. Because Joomla! is open source, at anytime you can view, edit, and add to the source code to suit your own purposes. You also can hire someone to do that for you.
The other advantage to business that Joomla! offers is the number of extensions that are available that extend Joomla! from full-blown e-commerce to client/customer management or data gathering and tracking. This chapter will look at a few practical applications for business and examples of extensions that they would use.
Chapter Nine - Joomla! for NGO/NPO and Groups
As mentioned in the previous chapter about business applications, Joomla! is an excellent choice because it is free in cost and the code is open source. This makes it a very attractive choice for nongovernmental organizations (NGOs), nonprofit organizations (NPOs), groups, clubs, and organizations. One of the benefits of Joomla! specifically for this application is the collaborative environments that can be set up using Joomla! that help organizations not only connect and organize within their group but also reach out to the greater public and promote their platform or message, gain financial support, and connect like-minded people to achieve a common idea or goal.
Chapter Ten - Joomla! for Education
School Web sites present challenges that are often more complex than those for other kinds of organizations. Unlike a small business or nonprofit with a new Web site, a school starts with a ready-made target audience and, most likely, is not focused on expanding much beyond that audience. Schools have many different constituencies and a variety of communication needs. By following the same basic principles of planning for all Web sites, an educational institution can create an effective communication portal that fits their needs.
Chapter Eleven - A Look at Joomla! 1.6
This book focuses on the use of Joomla! 1.5 for making Web sites, but just like all software, Joomla! will have new releases that add major new features and make other changes. These are different from the maintenance releases for 1.5 that are regularly distributed that fix bugs and deal with any security issues. Although you should always keep your 1.5 site up-to-date with the current release of Joomla! 1.5, whether you should move your site to Joomla! 1.6 or a newer release is a more complicated issue.
Eventually, you will want your site to be on the most up-to-date version of Joomla!, but for many 1.5 users who are happy with the functionality of their sites, there is no reason to rush to move your site to Joomla! 1.6. Although each new release includes new features and improvements, if your site doesn't need those features and you don't want to move it, there is no reason for you to hurry to do so. Joomla! 1.5 will be supported for one year after the release of Joomla! 1.6, so you have lots of time to make the transition to a new version and may even decide to wait until the release of 1.7 or 1.8 to actually move your site.
On the other hand, if you think you need the new features or are adding new extensions, you may decide to move to the new release since many extension developers will be turning their main attention to Joomla! 1.6. Inexperienced users should not create a site with any new Joomla! release until it is labeled General Availability or Stable. Many users will want to wait until after the first maintenance release, which will be Joomla! 1.6.1. That release will resolve any issues that emerge soon after the initial release.
This chapter will review some of the key changes between Joomla! 1.5 and 1.6 in order to help you make the decision about moving an existing site to Joomla! 1.6. For those developing a new site, the decision of whether to develop it with Joomla! 1.5 or 1.6 will also be discussed.
Chapter Twelve - Interviews with Joomla! Experts
The Joomla! project is filled with people with expertise in all kinds of areas. Both we and Joomla! have benefited greatly from their knowledge and experiences. Getting to know them and working with them on various tasks has enriched our knowledge and understanding of many of the issues touched in this book. We can't introduce you personally, but we have brought together participants in the Joomlasphere to talk personally about the project, their involvement, and their experiences working with Joomla!
Appendix A - Common Problems and Solutions
If you follow the instructions in this book, you will avoid most common problems. However, sometimes things go wrong. Here are the most common issues we see and how to solve them.
Appendix C - A Look at Joomla! 1.6 ACL
The implementation of access control is the most important change in Joomla! 1.6. In this appendix, we will demonstrate how to implement a basic access control system for the school site example shown in Chapter 10. This example assumes that you have installed Joomla! 1.6 without the sample data. Some images will differ if you have installed the sample data. As 1.6 is still in Beta form, this information may change and adapt as 1.6 moves its way to Stable and beyond.
Appendix B - Resources
There are many resources for helping you make and improve your site. We have gathered a few of them that we have found useful here, but as you gain experience as a Web site administrator, you will find many more. The Joomla! community is always sharing links, advice, and information about various sites in the social networking sphere. Join Joomla! on Facebook, Twitter, and on the People Site.
Copyright 2010 Pearson Education, Inc. Excerpts republished with permission.