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 11
A Look at Joomla! 1.6 and the Future
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 the release 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.
Access Control (ACL)
The largest and most anticipated addition to Joomla! 1.6 is the flexible access control system, called ACL (for access control lists). ACL allows you to control who sees what and who can do what on your site. This has long been the most-requested feature for Joomla! In Joomla! 1.5, you are already working with a basic access control model. There are three access levels controlling what a user can see (Guest, Registered, and Special) and eight access groups controlling what a user can do (Guest, Registered, Author, Editor, Publisher, Manager, Administrator, and Super Administrator). For the many Web sites, these groupings are adequate, and for many they may even be too complicated (for example, you may not want to distinguish between authors, editors, and publishers).
When you install Joomla! 1.6, the Joomla! 1.5 access control system is re-created for you. From there you have the option of leaving the settings as they are or modifying them. Migrating your site will leave your users with the same access rights they have now. Some Web sites will, however, be strengthened by taking advantage of the new flexibility of this system in Joomla! 1.6. However, you should plan carefully about the needs of your site before implementing any changes. The following are some situations where you might want to create more detailed access control.
- You want a group of users only to be able to create articles in one specific category.
- You want to hide something from a group of users.
- You want someone to help you administer some parts of your site but not other parts.
Figure 11.5 shows the new Global Configuration page’s Permissions tab where you set up permissions for user groups. In Joomla! 1.5, each item of content from a component, each module, each menu link, and each plugin can be assigned to exactly one access level. This is still true in Joomla! 1.6, except that you can create more levels. Those levels are hierarchical. So, special users can see everything registered users can see. Registered users can see everything the public can see.
In Joomla! 1.6, you have much more flexibility, but it is also much more complex. You can add new levels and groups. Groups can be assigned to more than one level.Users can be assigned to more than one group. Both groups and levels may inherit permissions from each other. You can also modify the privileges given to the existing groups from Joomla! 1.5 that are present when you install. Because of this complexity, you should plan any changes in detail before implementing.
Access levels allow you to control what users see. Much more powerful are the access groups that control what users can do. The access groups can manage nine actions.
- Site login, which controls logging into the front end of your site.
- Administrator login, which controls logging into the administrator.
- Create, which controls the creation of content such as articles, Web links, contacts,and categories.
- Edit, which controls whether the user can modify existing content.
- Edit State, which controls whether the use can publish, unpublish, archive, or trash content.
- Delete, which controls deletion of trashed content items.
- Manage, which allows access to the administrator for a component, but by itself only allows the user to view, not create, edit, edit state, or delete.
- Admin, which allows the user to configure component options. When set globally, the admin controls whether a user can set global configurations and a user with global admin access can always see everything on a site. You will always want to have the chief administrator of your site to have this access.
- Edit own, which allows the user to content they created (as indicated by the created by field in the editor).
All of these privileges can be set at the global level, at the component level, and at the category level within each component. They can also be set for individual articles.
- 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.