navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

Joomla! 1.6 and 1.7 Essential Training
Richard Downs

Joomla! 1.6 and 1.7 Essential Training

with Jen Kramer

 


In Joomla! 1.6 and 1.7 Essential Training, Jen Kramer uses Joomla! 1.6 to build a web site from scratch, from installation to launch. The course covers Joomla! 1.6 new features, demonstrates how to create and organize content, and add menus, sidebars, and other interface features. The course also explains how to change the site look and feel with Joomla! templates, install plug-ins and extensions, assign users to create and edit content, and much more. Exercise files accompany the course.

The course was updated on 12/20/2011 for Joomla! 1.7 compatibility and new features.
Topics include:
  • Understanding the role of a content management system (CMS)
  • Upgrading a site from Joomla! 1.6 to Joomla! 1.7
  • Building a CMS-driven web site versus an HTML/Dreamweaver web site
  • Completing a Joomla! installation
  • Organizing content within Joomla!
  • Creating categories, articles, and menus
  • Formatting articles with page breaks to tabs or sliders in Joomla! 1.7
  • Exploring the loadposition parameters in Joomla! 1.7
  • Using background images in custom HTML modules in Joomla! 1.7
  • Identifying good quality third-party extensions and templates
  • Downloading and installing Joomla! plug-ins
  • Managing users and permissions
  • Changing the look of the site with templates
  • Moving a site from a local computer to a web hosting provider

show more

author
Jen Kramer
subject
Web, CMS
software
Joomla! 1.6, 1.7
level
Beginner
duration
7h 25m
released
Feb 28, 2011
updated
Dec 20, 2011

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:03Hi! I am Jen Kramer.
00:05Welcome to Joomla 1.6 Essential Training.
00:08In this course, we'll install Joomla and set global configuration parameters,
00:13including adding keywords and metadata for search engine optimization.
00:17After that we'll get to the heart of Joomla by reviewing the CAM:
00:21Categories, Articles, and Menus.
00:24We'll add components and modules for extra web site functionality.
00:28We'll explore some of Joomla's latest features including nested categories, the
00:33Flash Uploader, and the Media Manager.
00:36In addition, we'll change the look of the web site using Joomla templates,
00:40and we'll get a peek at the basics of Joomla's new Access Control Level or ACL features.
00:46Finally, we'll move the site we create on a local computer to a web host
00:51using Akeeba Backup.
00:52So if you are ready, let's get started with Joomla 1.6 Essential Training.
Collapse this transcript
Using the exercise files
00:00Exercise files are available to premium subscribers of lynda.com or to those who purchase the DVD.
00:07Simply download the exercise files to your computer and place them on the desktop for ease of access.
00:14Exercise files organized by chapter number.
00:18When there are web site assets available,
00:20such as text or images, you'll see a yellow overlay indicating the name and the location of that file
00:28within the exercise files folder.
00:30I strongly recommend you watch these videos from start to finish in order and don't skip around,
00:37for your best learning experience. I'll be building an entire website in Joomla 1.6 from start to finish.
00:44So if you jump in at various points in time, you may find it difficult to follow along.
00:50Having said that,
00:51I know some of you do like to jump in at various points in time, so
00:56if you take a look inside of one of the exercise file folders, for example this one in Chapter 4,
01:04the very first folder in each chapter will contain two files,
01:09an SQL file and a ZIP file.
01:12These files contain the Joomla website at the very starting point for each chapter of this video series. You do not need
01:22to restore from these backups at any point in time, if you're following along with me
01:28and everything is working correctly. But if you get stuck at some point in time or if you do skip around in your chapters,
01:35you may find these files helpful so that you can follow along with that particular point in the video.
01:41I'll show you how to use the ZIP file and the SQL file
01:46to restore your site in a later video.
01:50If you don't have access to the exercise files, you can still follow along using your own material and still have a
01:58fulfilling learning experience.
Collapse this transcript
Understanding Joomla!
00:00You might have built a web site before with Dreamweaver, FrontPage, or GoLive.
00:05These tools typically create what are called static web sites.
00:09A static web site is quite simple.
00:12Type in a web address like www.lynda.com into your computer's web browser.
00:19A web browser is a piece of software that displays web pages from the Internet,
00:24like Internet Explorer, Firefox, Safari, Chrome, or Opera.
00:30The request for the web page goes from your computer, also called the client, to the web server.
00:37Server is a tricky word that means two different things.
00:40One is a hardware sense of the word.
00:42A server is a very powerful computer that is shared in some way.
00:46Server can also be used in the software sense.
00:50This is software designed to serve up web pages.
00:54Apache and Internet Information Server are examples of server software that's
01:00compatible with Joomla.
01:01The web server is frequently used interchangeably with the web host.
01:06A web host is a service that offers web servers for your use.
01:10The server locates the page called index. html in its files for lynda.com and it
01:17sends a copy of this page back to the client.
01:21It also finds any associated images, CSS, Flash files, and JavaScript, and it
01:27sends those along as well.
01:29The client displays the page plus the images and other associated files.
01:34The system is static in that the pages contained fixed content.
01:38The server simply picks the right page from the right location and sends it.
01:43No processing of that page is required.
01:46You create the web pages on your computer, the client, and you send a copy of
01:51those pages to the web server via FTP.
01:54All the web server does is store those pages and send out copies as requested.
01:59A Content Management System or CMS is very different than a static site.
02:05A CMS is a web application-- software that runs on the server instead of on the client.
02:11For example, Microsoft Word runs on your computer, the client.
02:15Google Docs, however, runs on the server.
02:19Both applications are designed to create and edit word processing documents, but
02:24the way they get that job done is very different.
02:27CMSs generally function in the same kind of way from a
02:31bird's-eye perspective.
02:32The server software, middleware software, and database software may vary, but
02:38the functionality is pretty much the same.
02:41Just like before, type in a web address like www.twotreesoliveoil.com/index.php
02:53into your computer's web browser.
02:55Your computer sends the request for this page to the web server.
03:00The web server looks in its files, realizes the page you've requested is written
03:04in PHP, a programming language.
03:07The web server knows it can't send this page as-is to the client.
03:12Some processing must be done first.
03:15So instead, the web server sends this request to PHP.
03:20PHP looks at the document and determines that some information needs to be
03:24pulled from the database and then processed.
03:28PHP is functioning as middleware in this way.
03:32This means that PHP mediates the discussion between the web server and the database.
03:37The server and the database can't talk to each other directly.
03:41They need a translator that can understand "server speak" and "database speak."
03:46Others examples of programming languages used in this role include ASP, .NET,
03:51ColdFusion, Java, and Perl.
03:55A database is a collection of organized information.
03:59Our particular database in Joomla is called MySQL.
04:03But other types of databases include MSSQL or Oracle.
04:08Access is a database that runs on your laptop and is not suitable to use in a web site.
04:14The database receives a request for information from PHP via a database query.
04:19The requested information is copied from the database and sent back to PHP.
04:25PHP arranges the database information into the way specified in the PHP code.
04:31The actual PHP code is stripped out from the page and replaced with HTML,
04:35according to the instructions on the page.
04:38Now that the page is created and it consists of HTML and associated files, that
04:44is sent to the client to view.
04:46All of this happens in the blink of an eye.
04:49In order to run Joomla therefore, you must have a web server configured with
04:53Apache or IIS, PHP, and MySQL including the right versions of those pieces of software.
05:01You can check joomla.org for the latest requirements and recommended web hosts.
05:06So obviously, a CMS is way more complicated than a static web site.
05:11In fact, you may be a bit intimidated by all of that technology running your site.
05:17Why are CMSs preferred over static web sites?
05:21Because of the power of the database, web sites are much easier to maintain with
05:25the CMS than they are with the static web site.
05:28If you wish to make changes to a CMS web site, you can change it without knowing
05:33HTML, PHP, MySQL, or anything else, which means your average client can easily
05:40create new pages, link them to menus, change content, and make other updates
05:46without talking to you.
05:47In a world where we increasingly integrate photo galleries, calendars, social
05:52media, news feeds, blogs, and other dynamic information, a CMS becomes more
05:59important due to the ease of integrating these features into the web site.
06:03If you are still feeling like a CMS is complicated, don't panic.
06:07This movie is as geeky as the rest of the title gets.
06:11Keep watching and you'll start to feel more comfortable with Joomla very shortly.
Collapse this transcript
Planning your web site
00:00Do you have a plan for this web site you are about to build? No?
00:05Well, you're not alone.
00:07When we wrote term papers back in school we were taught to write an outline first.
00:13We were taught to write the middle of the paper before the introduction and the
00:16conclusion and we were encouraged to proofread everything to make sure it
00:20flowed from start to finish.
00:23Creating a web site is not so different from this term paper process.
00:27First, you need to start with the plan for what you're building.
00:31You can then concentrate on building the site pages of the web site, getting
00:35some content in place.
00:37After the inside pages are built, go back to the Home page and get it in shape.
00:42Finally, debug the web site and make sure everything is working correctly
00:46before you launch it.
00:47In this course we'll be building a Joomla web site for the Two Trees Olive Oil
00:52Company based in Santa Barbara, California.
00:55Your web site should reflect three kinds of goals. First of all, the
00:59organizational goals.
01:01The site should be a reflection of the organization behind it.
01:05That organization, whether it's a business, a nonprofit, school, club or your
01:10own personal web site has a reason for existing.
01:14What's the reason this organization exists? Who does it serve?
01:18What is it trying to achieve?
01:20Understanding this background will help you understand how the web site can
01:24support the organization.
01:26In the case of Two Trees Olive Oil Company the organizational goal is to create
01:31the most popular olive oil in the country.
01:34They would also like to be used in the most restaurants in the country.
01:38They want to maintain an ethical company that cares about its employees, its
01:42customers, and the communities they serve.
01:45To further that organizational goal they put 5% of all sales proceeds to
01:50employee development and 5% to charitable causes.
01:54Finally, they are committed to finding more efficient and environmentally
01:58friendly practices in farming and manufacturing olive oil.
02:03They've recently rolled out a new organic olive oil line that's thriving and has
02:07been well received by chefs in the public.
02:10Next, there are web site goals.
02:11Once you understand the organization the web site's goals become much clearer.
02:16People visit the Two Trees Olive Oil Company web site to find out more
02:21information about the olive oil and the company, about their sustainable
02:24and organic practices, and to get pricing and to find out where the olive
02:28oil products are sold.
02:30Restaurants need information about ordering in bulk.
02:33A contact page will allow restaurants and customers to contact the company.
02:38Finally, there are user goals to consider.
02:40Think about why users are coming to the web site in the first place. Who are they?
02:45What do they want from this web site?
02:47What environment are they in when they're looking at this web page?
02:51In general, users want to order olive oil, find out more about the olive oil and
02:56the company, and they want to contact the company for more information.
02:59Users also enjoy participating in a monthly contest to win a 24-ounce bottle of
03:04the flavor of the month.
03:06This is a very brief summary of how to think strategically about this web site.
03:10If you'd like to learn more, and I hope you do, be sure to watch my Web Site
03:15Strategy and Planning title available here at lynda.com.
Collapse this transcript
Understanding different versions of Joomla!
00:00As of this recording there two actively supported Joomla versions available:
00:07Joomla 1.5 and Joomla 1.6.
00:09You may occasionally encountered Joomla 1.0 but Joomla 1.0 has not been
00:14supported by the Joomla Project since July 2009.
00:18Which current version of Joomla should you use, Joomla 1.5 or Joomla 1.6?
00:25Of course, it depends.
00:26Joomla 1.6 is the first major new version of Joomla in nearly three years.
00:32It includes many new features and functionalities.
00:35Joomla has been rewritten in many ways from the ground up.
00:38For this reason, it will take some time for Joomla 1.6 extensions and
00:43templates to catch up.
00:45As of this recording, there are nearly 7000 extensions in the Joomla extensions
00:49directory but only a few hundred run on Joomla 1.6.
00:52Joomla 1.5 will be supported actively by the Joomla community through April of 2012.
00:58It is considered a long-term release, meaning that it will be supported for a
01:04longer period of time than other releases.
01:06Joomla 1.6 will be actively developed through July of 2011.
01:12At that time it is expected that Joomla 1.7 will be released.
01:17This is another short-term release expected to be replaced in January of 2012.
01:22This version of Joomla, occasionally called Joomla 1.8 but not officially named
01:27as of this recording, will be another long-term release and supported for some
01:33longer period of time.
01:35Long-term releases are expected to be supported for a minimum of 18 months while
01:39shorter releases may only be supported for a year.
01:43If you have sites built in Joomla 1.5 already, I recommend that you keep them there.
01:47Unless you desperately need some of the new functionality in Joomla 1.6 there's
01:53no need for you to migrate your web site.
01:56If you are building a new web site and you need Joomla 1.6's features, build in Joomla 1.6.
02:01Of course, you need to be sure that there are enough templates and extensions
02:06available for you to use to build the site.
02:09So be sure to include evaluating the right version of Joomla in your site planning.
Collapse this transcript
1. Installing Joomla!
Understanding the installation process
00:00Before we get started with the mechanics of installing Joomla it's nice to know
00:05what the general steps are in advance, and why you're doing what you're doing.
00:09Joomla needs a web server, a programming language, and a database available so
00:13it can run correctly.
00:15In this case, we'll be looking at Apache as our web server, PHP as the
00:20programming language, and MySQL as the database.
00:24Your local computer, the one sitting right there in front of you, does not have
00:28this software installed on it so we'll have to install it before we can
00:32install Joomla. Fortunately all of this software is free and open source, just like Joomla is.
00:38Take the first letter of Apache, MySQL and PHP and that spells AMP.
00:45You may have heard of LAMP before where the L stands for Linux, which is
00:49frequently the operating system of a web host.
00:52In your case it's likely you're running either Windows or Mac as your operating system.
00:58For the Macintosh we'll install MAMP, which stands for Macintosh, Apache, MySQL and PHP.
01:07For the Windows people we'll install a program called either XAMPP or XAMPP,
01:15depending on who you are.
01:17The X can stand for any particular operating system.
01:20They have different versions of it depending on what you're running.
01:24Plus Apache, MySQL, PHP and Perl, which is what the extra P stands for.
01:31Once the software is running our picture gets a little complicated. Rather than
01:37having two computers talking to each other, a client, running a Web browser, and
01:42the server, running Joomla, Apache, MySQL and PHP, we now have a single computer
01:49which performs both functions.
01:51Did I just blow your mind?
01:54Then once MAMP or a XAMPP are running on your computer we'll install Joomla.
02:01Once Joomla is in place we can start building our web site.
02:05The other alternative is for you to get some web hosting, install Joomla on your
02:09web host, and work there.
02:11I'll cover the positives and negatives of working locally versus working on a
02:15web host in the next video.
Collapse this transcript
Running Joomla! locally vs. on a web host
00:00Some people choose to build their web sites locally then move the site to a
00:04web host for launch.
00:06Other people build the site directly on the web host. Which is better?
00:11Of course, it depends.
00:12Here are some guidelines.
00:14There are several advantages to running Joomla locally.
00:18First of all, no one sees the site before it's done so you can make as many
00:22mistakes as you want.
00:23There's no web hosting fees until you're ready to launch.
00:27There is no Internet involved with running the web site.
00:30That's great if you're working remotely, like you are on an airplane or something.
00:34However, there are several disadvantages to running Joomla locally.
00:37No one sees the process before you are done.
00:41So if you are going in the wrong direction your client can't intervene any
00:44earlier in the process.
00:46It also means that any collaborators, like designers, engineers, content
00:51specialists or search engine optimization specialists, do not see the site until it's done.
00:57And then you have to move the site from your local computer to the web host.
01:02The advantage to running Joomla on the web host and building it there is you
01:07don't have to install MAMP or XAMPP. You can also install Joomla once and you
01:12don't have to move the site later.
01:15Finally your client can see what you're doing while you're building the site as
01:18can all of your collaborators.
01:21The disadvantages to running Joomla on the web host include: you pay for
01:26hosting while you're developing the web site, and if you're slow that could be quite a while.
01:32You run the risk of someone seeing the site before you are done, who
01:35shouldn't see the web site.
01:36However there are ways around this covered elsewhere in this title.
01:41You have to have an Internet connection to work on the web site.
01:44If that connection is slow working on the webs ite can be quite painful.
01:50What's best for you?
01:52If you're the only person building a web site and the only person you have to
01:55make happy is yourself,
01:57building the site locally makes great sense.
02:00If you only have a dial-up Internet connection you might also want to consider
02:05building sites locally.
02:07However, if you're going to have a client and you're going to have people
02:10helping you with the web site, you might want to consider building on a web host.
02:15I build all of my sites on a web host personally because I'm always working with
02:20distant collaborators and clients.
02:22For the purposes of this training video however, I will be building the web sites
02:26locally on my Windows computer using XAMPP.
02:30That way if you're following along with me and with the Exercise Files we've
02:35standardized things as much as possible.
02:38Web hosts are all different, so it's very hard to train you how to use a
02:42specific web host out there.
Collapse this transcript
Web hosting overview
00:00Just because your web host says they support Joomla doesn't necessarily mean
00:05they support Joomla well.
00:06There's more to consider in a web host than the price.
00:10$5 web hosting can sometimes be extremely expensive.
00:14Here are some pointers for picking out a good web host.
00:16First of all make sure your web host supports Joomla's minimum requirements.
00:21These requirements are posted on Joomla's web site.
00:24On this page, as I scroll down, right now we have the Joomla Requirements for
00:28Joomla 1.5 here at the top of the page, but if you scroll down a little bit
00:32further you'll notice that we have the requirements listed here for Joomla 1.6.
00:37The technical requirements for Joomla 1.6 as of this recording include PHP 5.2
00:44or higher and MySQL 5.0.4 or higher.
00:48These are higher requirements than Joomla 1.5.
00:50Also, as of this recording, Joomla 1.6 is very new to the market.
00:56So be cautious of hosting companies who say they support Joomla. They may be
01:00talking about Joomla 1.5 only.
01:03Second, you want to be very sure that your host provides great backups.
01:07Many hosts do backups but sometimes those backups are only available to
01:12the hosting provider.
01:13They are made in case the server catches fire, gets flooded, or has some other
01:17catastrophic failure.
01:18These backups may not be available to you.
01:21If there are backups available to you, find out how often they're made and how
01:25long it takes to restore from backup.
01:27Ideally, a daily backup and a weekly backup will be made.
01:31The daily backup is a backup of the previous day's site.
01:35The weekly backup is made once a week usually on Sunday and is held for a week
01:40in case the daily backup fails.
01:42Finally be sure to ask how long it takes to restore from backup if required.
01:46Some hosts can take days during which your site is down or broken.
01:51When you start looking for a great web host for Joomla I encourage you to start
01:55with the Joomla Resources Directory at resources.joomla.org.
02:00Here you'll find a list of what's currently 22 companies who support Joomla
02:05web hosting and these companies have been vetted by Joomla that they do support
02:11at least Joomla 1.5 as of this recording.
02:15You can start by contacting these companies to find out about their plans, how
02:19their backups work. and whether they are actively supporting Joomla 1.6.
02:23As time goes by, more and more of these companies will definitely be
02:27supporting Joomla 1.6.
02:28So be sure to ask them.
Collapse this transcript
Installing Joomla! 1.6 on a PC
00:00In this next video, I'm going to show you how to install Joomla 1.6, but
00:06before you can install Joomla 1.6, you need to have a way for Joomla to run on your computer.
00:11On my Windows computer, I will be running XAMP, which I talked about in an
00:15earlier video, which allows me to run Apache, MySQL, and PHP directly on my computer.
00:23If you don't know how to install XAMP or where to download it, I encourage you
00:27to go check out David Gasser's video "Installing Apache, MySQL, and PHP", which
00:33is available in the lynda.com library.
00:36And in chapter 5 there is a section on installing XAMP, and you should probably
00:41watch just that first video on installing XAMP for Windows.
00:44Once you have XAMP installed, you can go to the Joomla web site, which is located
00:50at www.joomla.org, and from here you can download your copy of Joomla 1.6.
00:56Joomla is doing a big promotion right now for Joomla 1.6, so the big banner at
01:02the top of the page features it. And obviously there's a big orange download
01:06button right there, which is where you can go to download Joomla 1.6.
01:10If you're visiting the Joomla site at a later point in time and that banner is
01:13not available, there's usually a link somewhere. Over here on the right-hand side
01:18of the page, you'll see the button to download Joomla to get the latest version.
01:22Whichever button you click on, you'll go to the download page, and this is
01:26joomlacode.org, which is where all of Joomla's downloads reside.
01:31And there are three versions of Joomla 1.6. Don't worry.
01:35The only difference is how these files are compressed, and the one that we want
01:39to download is the standard old zip file, which is the very first one, and you
01:43can see that that's the one that's been most downloaded by most people.
01:47Go ahead and click on that to download it.
01:49Tell Firefox to save that file to your hard drive, and Joomla 1.6 will go
01:55ahead and download.
01:57Now we can go ahead and minimize this window.
01:59I'm going to go to my Start menu, and I'm going to go to my Computer, and on my
02:06C drive, I'll have a folder here for xamp, and inside of xamp is a folder called htdocs.
02:13Inside of this folder, there's some default files that appear here.
02:17I'm going to go ahead and erase those by clicking the Delete key and sending
02:21those files to the recycle bin.
02:24Now I'm going to open another window by going to my Start menu and going to my folder.
02:32Over here on the side, I have a folder for downloads, and here's my Joomla stable package.
02:38I'm going to go ahead and double- click on that to open it, and I'm going to
02:41highlight everything that's here inside my zip file by hitting Ctrl+A, and I'm
02:47going to drag it into my htdocs folder.
02:51This will take some time to copy over all of these files.
02:54While the files are copying over to the htdocs folder, we can go ahead and
02:58create our database that we're going to need to install Joomla 1.6.
03:02Let me minimize some windows here, so you can see a little bit better what's going on.
03:07In my XAMP control panel, I'm going to click the Admin button next to MySQL, and
03:13this will pull up MySQL here in Firefox.
03:17If phpMyAdmin doesn't open automatically in your default web browser--which
03:22for me is Firefox--you can browse to the phpMyAdmin web page by going to
03:28http://localhost/phpmyadmin.
03:35If you're on a Mac, go to http://localhost:8888/phpmyadmin.
03:46On the page where it comes up, right in middle there's a spot to create a new database.
03:50I'm going to type in my name, which is joomla16, and I'm going to say
03:57Create, and you'll see here that you get a message saying that the database has been created.
04:02That's all we need to do with phpMyAdmin is just create the database, and Joomla
04:07will populate that database with information when we start with the installation
04:12wizard, which is what I'll start with as soon as the files are done unpacking.
04:17We're done unpacking our files, so now what I'm going to do is minimize these
04:21windows, and I'm going to go to just localhost.
04:26By going to localhost, I'll bring up the Joomla installation screen here.
04:31So the first thing you need to do is select the language in which you want to
04:34install the back-end of Joomla, and by default English United States is chosen,
04:38and that's what I want, so I'm going to go ahead and click next.
04:42In this preinstallation check, this is making sure that your particular
04:46environment for running Joomla is set up correctly and will support Joomla 1.6.
04:51The most important part of this screen is the very top part where you can see
04:55the php version and the XML support and the configuration.php are writeable is
05:01located when we have all green yeses there.
05:03For the recommended settings, there are recommendations and then there's actual settings.
05:09In my case, the displaying the errors is actually set to On, which is not a
05:14recommended setting, but it won't prevent us from installing Joomla 1.6, so I'm
05:18going to go ahead and keep going with my installation.
05:20We'll go ahead and click the Next button to go to the next screen.
05:25This is where we get the GNU General Public License, which is the software
05:30license that authorizes us to use this copy of Joomla.
05:34Go ahead and read it, and when you agree to it, go ahead and click next.
05:38Now we're on a screen where we're asked for our database configuration.
05:42Some of this information has already been filled in for you, and it's generally
05:45correct--particularly if you're working with XAMP.
05:48If you're trying to install Joomla on a web host, some of these settings may
05:52be slightly different.
05:53You need to make sure that you're looking at what your web host gave you for
05:57your database settings in order to set this screen up correctly.
06:00But if you're following along using XAMP, what I'm telling you now should be
06:04correct for your particular installation.
06:07The database type and the host name are both correct.
06:11The username should be root, with no password.
06:17If that sounds insecure to you, you'd be absolutely right, but remember, we're
06:21running this copy of XAMP locally on our machine, and no one else will be
06:26connecting to this website.
06:27So, while this is a security issue, it's not nearly as much of an issue when
06:31you're running just a local copy of Joomla.
06:34For our database name, we'll enter joomla16, which was the database we just
06:40created in phpMyAdmin, and you can leave the other items set exactly as they are.
06:46Click the next button, and if you wind up on the FTP configuration screen,
06:50you've configured your database correctly.
06:53If you wind up with errors, go back and double-check your settings for your web
06:58host if you're trying to install on your web host, and make sure you spelled
07:01everything correctly if you're trying to install with XAMP.
07:04As stated here in the FTP configuration screen, this is optional and most
07:09users can skip this step.
07:11Press Next to skip this step.
07:12And in fact, we're going to do exactly that. So we're going to skip that step,
07:16and now we're in the main configuration screen.
07:19All of these settings can be changed later, but for now, here's what we're going to do.
07:24For our site name, we're going to enter the name of our site, Two Trees Olive Oil.
07:32For our administrators e-mail, we're going say it's
07:35webmaster@twotreesoliveoil.com. New in Joomla 1.6, it actually asks you for an
07:44administrator username.
07:45By default, it gives you the username of admin.
07:49For years, Joomla has had admin as the default login for the website and it
07:54can be a security risk, so I strongly recommend you use anything but admin for your username.
08:01In my case, I'm going to use jen and I'm going to enter my password, which is
08:06123456--also not terribly secure.
08:11I'm going to re-enter that password.
08:14If I the wished, I could install some sample data which would pre-populate my
08:19Joomla web site with some content.
08:21That's great if you are trying to learn Joomla 1.6 and you don't have exercise
08:25files to follow along with.
08:27In my case, I am going to create all of my content.
08:30I've actually already got it all ready to go in my exercise files, so I'm going to skip
08:35installing the sample data.
08:37Now that my screen is configured, I'm going to click Next.
08:41And as the last step, it's reminding me to remove the installation directory.
08:46So I'm going to go back to my htdocs window here, and I'm going to find the
08:52installation folder, which is among all of the folders and files here that are
08:56associated Joomla, and I'm going to click the Delete button on my keyboard,
09:01which will send this folder to the recycled bin. Yes.
09:05Now when I return to my screen here in Firefox and I click on the button for the
09:10site, I'll see the front end of my web site.
09:12If your screen looks like this, congratulations!
09:15You've installed Joomla 1.6. One final piece of advice:
09:19In order to create this Joomla web site, we had usernames and passwords for
09:23our domain name registration, our web hosting FTP in the control panel, maybe
09:28another login for our trouble ticket system, our Joomla database user, and our own Joomla login.
09:35That's a lot usernames and passwords to remember for just one site, and
09:39if you're going to build a bunch of Joomla sites, that problem just gets more complicated.
09:43As a web professional, you should have some way of storing all of your user-
09:47names and passwords securely.
09:49There are online repositories for doing this, as well as systems that run on
09:53your individual computer.
09:54Be sure to look in to them and find one that works free you.
09:57By the way, listing them in a Word document or storing them on a sticky note
10:01under your keyboard is not secure.
Collapse this transcript
Installing Joomla! 1.6 on a Mac
00:00We're looking at the joomla.org web page and from here we are going to go ahead
00:05and download a copy of Joomla 1.6 and install it on our Macintosh computer,
00:10which is already been loaded with MAMP software. That's Macintosh, Apache, MySQL and PHP.
00:18If you don't know how to install MAMP, you need to take a look at David
00:21Gassner's video, Installing Apache, PHP, and MySQL, available in the lynda.com
00:28Online Training Library.
00:30From this home page of joomla.org you can see a great big huge banner across the top,
00:35which is current when I'm looking at this web page. If it's still there when
00:39you're looking at this video you can only click on big green Download button to
00:43download Joomla 1.6. If the banner is changed by the time you visit the web site,
00:48there is usually a second way to download Joomla, so if I scroll down the
00:52web page just a little more there's a button over here that says Download Joomla,
00:56Get the latest version.
00:57So I am going to go ahead and click on that and this is going to take me into
01:01the Joomla code web site where I can download my copy of Joomla.
01:05There are three options to choose from. There's a .zip, a tar.bz2 and a tar.gz.
01:11The only difference between these files is the way that they are compressed, so
01:15we're going to go ahead and just download the .zip file, which is well
01:19supported by Macs and PCs.
01:21So I am going to go ahead and click on that and I am going to say OK, so I have
01:25saved this down to my computer.
01:27Now I am going to minimize my Firefox browser and I am going to open up my
01:32Macintosh hard drive and I am going to go into Applications/MAMP/htdocs and
01:43this is where Joomla is going to go once I unpack it.
01:47I'm switched over to my Downloads tab.
01:49I am going to double-click my download that I just did.
01:55So this has opened up my download and unzipped it for me. We can close this
02:00Firefox window. I am going to go ahead and click on all of these files and hold
02:07down my Shift key to select them all and I am going to move these into htdocs.
02:14So we now have Joomla set up here unpacked and ready to run within MAMP interface.
02:20We can go ahead and close this. I am going to go back to Firefox and I need to
02:25open up MAMP interface and I am going to open up the Start page.
02:30And from the Start page I can access my PHP MyAdmin through the link right here
02:36and I need to create a new database.
02:37So I am going to call this Joomla 16, which is the name of my database.
02:43I am going to go ahead and say Create and it says that my database has been created.
02:48Now when I go back to local host:8888, I get my Joomla installer, which will walk
02:58me through the rest of the installation process.
03:01So first of all I need to pick the language that we're using for Joomla and by
03:06default English United States is chosen, so that's terrific. I am going to click Next.
03:12In the Pre-Installation Check it checks to make sure things are set correctly,
03:16the box at the top is most important and all of my settings are good, so I am
03:20going to go ahead and click Next.
03:22It asks me to read this license, which I encourage you to do, and if you agree,
03:26go ahead and click Next and then it is going to ask us for some
03:30connection settings.
03:31From this point I need to enter the username and password, which by default for
03:36MAMP is root is the username and root is the password.
03:39I will enter my database name, which is Joomla 16, and I am going to go ahead
03:44and hit the Next button. Assuming that I have set things up correctly this
03:48should move me on to the next screen, which is the screen for FTP
03:51Configuration, and as noted here in big red letters this is optional and most
03:56users can skip this step.
03:57That is absolutely true.
03:59So we are going to go ahead and skip that step by clicking Next.
04:02Then we are going to enter our site name, which is Two Trees Olive Oil.
04:06We will enter our administrator email address, which is
04:11webmaster@twotreesoliveoil.com. We have an administrator username to enter.
04:19By default for both Joomla 1.0 and 1.5 the administrator username was always admin.
04:25If you think about it, you've given hackers half of the information they need to
04:29hack into your web site if they know your username.
04:31I recommend to use anything and all except for admin as your username. So I am
04:38going to use Jen and I am going to enter my administrator password which is
04:42123456 and I am going to confirm that. 123456.
04:49If you scroll down the page a little more there is an option to install sample data.
04:53I'm not going to do that at this time because we are going to be building
04:57an entire web site from scratch and the sample data is just something that I
05:00have to delete later.
05:02But if you want to install it for your web site there is absolutely nothing wrong
05:05with doing that. Then I am going to click the Next button.
05:08So we are all set and done here. The last thing we have to do is remove the
05:12installation directory. So to do that I am going to go back to my hard drive,
05:19Applications/MAMP and in htdocs there's a folder here called installation and
05:28I'm simply going to Command+Click and pick Move to Trash or you can drag it to
05:34the trash and now when I go back into Firefox, I can go ahead and click on site.
05:41And congratulations!
05:43We've installed Joomla 1.6.
05:44Your screen should look just like this.
Collapse this transcript
Restoring the .jpa exercise files using kickstart.php
00:00In the process of completing this course, you may find that you'd like to refer
00:05to the exercise files that I've provided in terms of the web site backups that
00:10go with the start of each lesson from each chapter.
00:14And I'm going to show you how to restore those backups now.
00:17If your web site is working correctly as you're building it, you do not need to
00:20ever use any of these backups.
00:22The backups are here only if you wind up with some difficulty in the
00:27web site, something's not working correctly and you can't figure it out, or if
00:31you're skipping around, even though I've advised you that it's far better to
00:35work through the entire course from start to finish.
00:37So, in the Exercise Files, in Chapter 1, in folder 01_06, there are two files,
00:47and you'll see the same pattern throughout the course.
00:50The two files are an SQL file and a zip file.
00:54The zip file contains all of the files and folders and images and php files,
01:00everything that's required to run the Joomla web site--except for the database.
01:05The SQL file is the database.
01:08So, restoration is a two-part process.
01:11Part one is to replace all the files that you had in place with the files that
01:16I'm giving you here.
01:17Part two is getting rid of the database that you have and all its data and
01:22replacing it with the data that you have here.
01:25So I'm going to show you how to do that now.
01:27We'll start by going to my htdocs folder.
01:31Here's my htdocs folders inside of XAMP.
01:34And for PC people, go to your C drive, go to the xamp folder and go to htdocs
01:40and you should see this exact same thing.
01:42For the Mac people, you'll want to look inside of your mamp folder and look
01:46inside of htdocs there and you should see something very similar.
01:49These are all the files and folders that make up your Joomla web site.
01:53The first thing we're going to do is delete these.
01:56So, I'm going to click and drag to highlight everything and click my Delete key
02:00to send them all to the recycle bin.
02:02So this is going to delete everything.
02:04Then what I'm going to do is I'm going to open up my zip file and I'm going to
02:10unzip everything that's here, Ctrl+A to highlight all those files, and I'm going
02:16to drag them into my htdocs folder. Click and drag.
02:23So this is going to take a while to unzip all these files and folders into
02:27my htdocs folders. So while it's happening, I'm going to open up my XAMP
02:33control panel, click on the button for Admin for MySQL, which will take me to
02:37the phpMyAdmin page.
02:40Over here on the left side of phpMyAdmin, you'll notice that we have a
02:43database called joomla16.
02:45If I click on the name of that database, you'll see the entire database that
02:50makes up our Joomla 1.6 web site.
02:53I have to do exactly the same process here.
02:55I need to delete the data that's here in the database, I'm going to create a new
03:00database called joomla16, the exact same name, and I'm going to dump the
03:04information into that database.
03:07It's very, very important for this restoration to work correctly that your
03:11database name does not change.
03:13It should always be called joomla16.
03:17You cannot call it anything else.
03:20If you do, the files that you unzip will not be able to talk to the database
03:26without editing something called the configuration.php file.
03:30So, here's what we're going to do.
03:32Here in phpMyAdmin, there's a tab here called drop.
03:36That is a fancy way of saying 'delete everything'.
03:39So I'm going to go ahead and delete that, and I'll get a message I'm going to
03:43destroy an entire database. Am I sure?
03:46I'm going to say OK.
03:48And sure enough, that destroyed that entire database.
03:51We now have no database.
03:53Now that we've gotten rid of that old joomla16 database, we need to create a new one.
03:58So here where it says Create new database, we're going to put in joomla16, just
04:04like that, and click the Create button.
04:07This will create a new database for us with no data in it. There we go.
04:11Now what we need to do is import the information that we have from the SQL file that
04:18I've provided for you.
04:20So I'm going to go to my Import tab and I'm going to click my Browse button and
04:25I'm going to browse for the SQL file right here and say Open, leave everything
04:30that's here in phpMyAdmin all the same, and go ahead and say go.
04:34And you'll see that we now have all of the information here on the side and our
04:40Joomla 1.6 database has been restored.
04:43So let's take a look at how the decompression here is going.
04:47It looks like WinZip is done.
04:48If I go to my htdocs folder, I can see that I have all my files here in place.
04:53If you are on a Mac computer and you are using MAMP, you will need to edit the
04:59configuration.php file before you can complete this process.
05:05I'm in Dreamweaver only because it's a great program for editing lots of
05:09kinds of files and I'm about to edit a php file, so I've got Dreamweaver open to do that.
05:15You can use pretty much any program to make this change, any kind of text editor
05:19will work, open source equivalent to Dreamweaver called Composer is a wonderful
05:24way to make this change, so don't feel like you have to run out and get Dreamweaver
05:28just to make this one little change that I'm about to show you.
05:31So again, Mac people only, running MAMP, you'll need to go to configuration.php,
05:37which you can get to by going to your htdocs folder, so from my hard drive, I've
05:43gone to xamp, and I've gone to htdocs.
05:46Mac people of course you're going to go to User/Applications/MAMP/htdocs folder.
05:55And inside of htdocs you will find your configuration.php file.
06:00Go ahead and open that.
06:02I've got my code blown up really big so that you can see it nicely here.
06:06This is the values that are in configuration.php, and the one that will trip Mac
06:13people on MAMP up is right here on line 14.
06:18Windows people have a username of root and no password when they're working with XAMP.
06:23However, Mac people when working with MAMP have a username of root and a
06:29password of root which you'll need to enter by typing it in in between the
06:36single quotes, just as I've done here.
06:38Save the file and you should be able to continue on with your database
06:44restoration process and getting the copy of Joomla up and running.
06:48So with all of the files unpacked, with my database created and the
06:53information imported from MySQL, I'm now going to go to a new tab and I'm
07:00going to go to localhost. There we go.
07:04And you can see that we have our Joomla web site.
07:06And if I go to the back-end of Joomla, here I am and I can log in with jen,
07:12123456, click my login button, and I'm able to access the back-end of Joomla.
07:19So restoring from these backup files may seem awfully geeky and probably not
07:24really for the faint of heart, but this was the most consistent way that we
07:28could find to restore your Joomla web site using XAMP or MAMP.
Collapse this transcript
2. An Overview of Joomla!
A quick tour of the Joomla! interface
00:00Now that we have Joomla installed, it's time to get to the good stuff.
00:04Let's go take a look at the administrative side of Joomla and see what's possible.
00:08Right now we're looking at the front end of the web site, as many people call it.
00:13The public facing web site is displayed here on the front-end.
00:17There's also a backend of the web site, which is the administrator site of the web site.
00:23So what I recommend you do is to leave the front-end of the web site open in this tab.
00:28Then open a second tab and I like tabs because it's easy to flip between them,
00:33but if you prefer windows that works also, and this time we're going to go to
00:37localhost/administrator.
00:42If you're on a Macintosh, this should be localhost:8888/administrator. Hit Enter
00:52and you should see the Administration Login.
00:55I am going to go ahead and enter my username, Jen, and my password, 123456, and
01:04here we are in the administration.
01:07This is the Control Panel view in Joomla 1.6, and it looks very similar to 1.5,
01:13if you're familiar with that.
01:14In that there are series of icons on the left side of the screen that are
01:18shortcuts that take you to places that are also accessible through the menus at
01:22the very top of the screen.
01:24On the right side of the screen you see some information about who were the last
01:29five users who've logged into the site.
01:30There is only one. That's me, the Super User.
01:34It tells us about the top-five popular articles, in other words which articles
01:38people are visiting on your web site.
01:39Right now there are no results.
01:41That's because we have no articles, and it will also tell us what the last
01:45five added articles are for the web site. Once again no results because we
01:50haven't added any yet.
01:52Let's take a look at some of the menus that are available here as well in the
01:56backend of Joomla. Under Site we have a link back to the Control Panel, which is
02:00the screen we are currently looking at.
02:03We have a link to My Profile, which is the place where I can go to edit my
02:07username, my password, and a number of other preferences associated with my
02:12profile here on this Joomla web site.
02:14We have a link to the Global Configuration where we can set up things like meta
02:19keywords and meta descriptions for the site and other various global settings.
02:24The Maintenance link takes us to items called Global Check-in, clearing the
02:28cache, and purging the expired cache, which have to do with site management and
02:33I'll cover them in a later video.
02:35System Information tells us about what version of PHP the server is running
02:40and what version of Joomla we are running exactly, and of course the Logout
02:44button will log you out.
02:46Under Users there are a number of new options if you're familiar with Joomla 1.5.
02:50One of the big new features in Joomla 1.6 is ACL, Access Control Levels, which
02:57controls who can see which information on the front-end of the web site and who
03:01can create and edit certain content on the backend of the web site.
03:05In order to do that we work with the User Manager, User Groups, and Access
03:10Levels, and this is the menu where we can configure that information.
03:14There is also an option to Mass Mail Users, which will mass mail everyone who's
03:18registered for your web site.
03:20I don't really recommend this as a function for sending out email newsletters.
03:25You're far better off going with a third -party service than trying to use this
03:29particular piece of functionality.
03:31But if you need to send all of your users a quick note saying the site will be
03:34down or maintenance is going to be happening, that can be a very handy utility.
03:39Under Menus we have the ability to create new menus for the web site or work with
03:44the one menu that already exists called Main Menu. We will be doing quite a bit
03:48of that in the upcoming videos.
03:50Under Content we have the ability to manage our articles and our categories.
03:55Those of you who are familiar with Joomla 1.5 will notice that there's no
03:58more Section Manager.
04:00That's because we don't have sections in Joomla 1.6 anymore. We have only
04:04categories and those categories can be nested many levels deep.
04:08Featured articles are the formerly called front-page articles in Joomla 1.5.
04:14These are articles that have been flagged to appear on the front-end of the
04:16web site on the homepage specifically, and the Media Manager is where you can
04:22go to upload images, PDF files, Word documents, and other various files
04:26associated with your web site.
04:29Components are pieces of functionality that help to enhance Joomla.
04:32Joomla comes with seven components by default, but you can download many more
04:39and install them to enhance your web site.
04:42What are the big new components listed here is the Redirect component, which will
04:48redirect traffic from old URLs to new URLs on the web site.
04:53Under Extensions we have the ability to manage our modules and our plug-ins,
04:57which are other types of extensions used in Joomla. We can also change the look
05:02of our web site, not only on the front-end of the web site but also on the
05:07backend of the web site.
05:08Joomla now ships with two administrator templates.
05:12The Bluestork template, which we are looking at right now, and one called Hathor,
05:16which is fully accessible and needs WCAG 2.0 accessibility requirements.
05:23There's also the Language Manager, which can help to manage your web site if you
05:26are running multiple languages, and finally under Help there is many links here
05:32to getting support at the Joomla support forums.
05:36Links to the documentation wiki at docs.joomla.org, and other useful Joomla links
05:43to download extensions, various translations of Joomla, the Joomla Resources
05:48directory which I mentioned earlier that talks about places to get web hosting.
05:52The Joomla Community Portal. A Security Center where you can learn more about
05:57keeping your site secure. Resources for developers who are coding extensions in
06:02Joomla and the Joomla Shop, where you can go and buy great Joomla T-shirts and
06:07other various Joomla merchandise.
06:10Up here in the upper right corner you'll see that we have the ability to see
06:13who's logged into the front-end and the backend of the web site.
06:17We can also see if we have any messages available.
06:20The View Site link here will open up the front-end of the web site in a new
06:24window or a new tab so we can take a look at it, and the Logout button of course
06:28logs us out of the backend of the web site.
06:30Now that you are familiar with what's here, let's take a look at some of these
06:34features in a bit more detail.
Collapse this transcript
Modifying global configuration
00:00The Global Configuration is where we can set major configuration elements of the web site.
00:06So that's what we are going to take a look at next.
00:09Let's go ahead and log in to the back end of the web site using username of Jen
00:13and the password of 123456. Log in.
00:19I am going to tell Firefox to remember that.
00:20Right here in the Control Panel, there is an icon for the Global Configuration.
00:27You can click on that or you can go to Site > Global Configuration. Either way
00:32it takes you to the same location.
00:35Here in the Global Configuration, we can set up a number of global
00:40parameters about our web site.
00:43So first of all, you'll notice that our Site Name is located here, Two Trees Olive Oil.
00:48We actually configured that as part of the installation process for Joomla.
00:52If we wanted to change that name at this point, we could do so by making
00:56the name change there.
00:58The Site Offline feature is great if you want to hide your web site behind a
01:03login while you are developing it.
01:05That's particularly important if you're working on a web host for building your
01:10web site rather than working on something like XAMPP or MAMP.
01:13You can do this by setting Site Offline to Yes and clicking the Save button up
01:20here in the upper right.
01:21Those of you who are familiar with Joomla 1.5 will notice that the Save button
01:25here has the same kind of icon that the Apply button had in Joomla 1.5.
01:30The Apply button has been renamed to Save in Joomla 1.6 and what this will do is
01:36save our settings but leave us in the screen where we can continue to edit.
01:41Save & Close is the old save from Joomla 1.5.
01:45In other words it will save whatever changes you've made and close this window.
01:50So I am going to go ahead and click Save and if I go to the front-end of my
01:55web site and click Refresh, you'll see that we now have a login and we have to
02:00log in into the web site in order to see what's going on.
02:03So this is a great feature to hide your entire site behind a login while you're
02:08developing the web site.
02:09I am going to go back to the backend of my web site and change that Site Offline
02:13message back to No and click my Save button again and refresh the homepage so
02:20that we're looking at the full web site again.
02:24If you scroll down a little bit, you'll notice that we have some metadata
02:27settings here that we can configure and in your Exercise Files you'll see that
02:33I have given you a meta description and some meta keywords.
02:36So I am going to go ahead and highlight the text for the meta description and
02:40pick Edit > Copy, and in the Meta Description box I can click inside of it and
02:47then say Edit > Paste.
02:51You may have a little bit of formatting to do to make sure that that actually
02:54flows correctly there.
02:56Then once again from my information, I am going to go ahead and copy my
03:01keywords, Edit > Copy, and in my Meta Keywords box here I'll say Edit > Paste and
03:10once again, I'll just clean that up with a little bit of formatting.
03:14The meta description and the meta keywords that we set here in the Global
03:18Configuration are the meta description and the meta keywords that will show
03:22for every page of your web site unless you override them later in your Joomla configuration.
03:28You can override them in an article for example or you can override them through
03:32a category or a menu item in Joomla 1.6.
03:36I'll cover all of that later but it's always good to start your site with a base
03:40meta description and a base meta keywords, just in case you happen to forget.
03:45The Content Rights box is new in Joomla 1.6.
03:48This is where you can indicate something, that your content could be
03:51distributed for example under our Creative Commons License or that it's not
03:55available for distribution. Whatever type of rights you want to have associated with this content.
04:00I am going to leave mine blank for the moment.
04:03You have the option of showing or hiding the Title and the Author meta tags.
04:07From what I've been reading about this, the Title meta tag has mixed results in
04:11terms of search engine optimization.
04:13It doesn't seem to matter whether you show that or not.
04:16Remember the Title meta tag is different that the HTML Title tag which is very
04:21important for search engine optimization.
04:23This is a meta tag so this is very different.
04:27The Author meta tag simply shows who wrote the article as a meta tag in the head
04:31of the document and that maybe important to you or not.
04:35So you can turn these on or off as you wish.
04:38Up on the right side of the screen here you'll notice that by default when
04:43installing here on Windows, I have Search Engine Friendly URLs turned on by
04:48default, which is new again in Joomla 1.6.
04:52However, all of these other options are turned off.
04:55Apache mod_rewrite may be important if you're running your web site on a Linux server.
05:01Be sure that you read the tooltip that comes up when you roll your mouse over
05:05the exclamation point and follow those instructions to make this work
05:08correctly on a Web server.
05:11Adding a suffix to the URL will add .html to the ends of the web pages on the web site.
05:17If you don't turn on Add Suffix to URL, if you're looking at the About page,
05:23it would say localhost/about.
05:26If you turn on Add Suffix to URL, it would say localhost/about.html.
05:33Some people feel that adding .html will improve your ranking in the search engines.
05:38Whereas other people feel like it doesn't matter at this point in time.
05:42So you can choose to turn this on or not. I am going to leave it off.
05:46Including site name in page titles is a new feature in Joomla 1.6 that makes me
05:51very happy because one of the first plug-ins that I always installed on Joomla
05:551.5 was a plug-in that would append the site name to the article title to form
06:02the HTML page Title tag.
06:05We can now turn that on right here in 1.6 without installing a separate plug-in.
06:10So I think this is very important.
06:13Let's flip over to the front-end of the web site just for a second.
06:16So what this will do is instead of the HTML title tag up here at the very top of
06:21the browser bar where it says Home- Mozilla Firefox, this will make the site say
06:27Two Trees Olive Oil-Home.
06:30So let me apply these changes here in the backend of Joomla by clicking my Save button.
06:35I am going to go back to the front-end and Refresh and you see now that my HTML
06:41Title tag is changed.
06:43I think it is great for bookmarking because having a page just called Home in
06:48my bookmarks is not terribly helpful and it's also good for search engine
06:52optimization because the name of the company is associated with the article title
06:56and the search engines are more likely to associate that content with your company.
07:01There are some other screens that are available here on the Global
07:05Configuration: the System, the Server and the Permissions tabs.
07:09But I am going to come back to those at a later point in time because those are
07:13much geekier settings and the main settings that we need to be concerned with
07:17when initially configuring a web site are all here under the Site tab.
07:21So now that we are done looking at this, we'll click the Save & Close button to
07:25save our changes and return us to the Control Panel.
Collapse this transcript
Using the Media Manager
00:00The Media Manager is the place where you could upload PDFs, Office documents,
00:05images, and much more.
00:07You can link from Joomla articles to these assets for your web site.
00:11So here I am in the backend of my Joomla web site.
00:14I am going to go ahead and log in with my username of jen and my password
00:18of 123456 and click the Login button and I am logged into the back end of my web site.
00:25You can get to the Media Manager in one of two ways. You can either click on the
00:29icon right here in the Control Panel for the Media Manager or you can go to
00:33Content > Media Manager. Either way gets you to the same location.
00:37Here in the Media Manager we have some images that are installed by Joomla by default
00:43and you can see that there are some icons here that are Joomla logos.
00:48If you look at the front end of the web site you'll see that of course there is
00:52a logo associated with this design and that logo is located here in the Media Manager.
00:58We also have a folder for banner ads, which are the banner ads that are used by
01:02the Banner Ad component, which we'll cover in a later video, and we also have a
01:06folder of images that are from the sample data.
01:09We didn't install the sample data for this web site but the images for the
01:13sample data still install anyway.
01:16If you scroll down the screen, you'll see that we have a spot to create a folder
01:21and notice that folder is created directly inside of the images folder.
01:27If you're familiar with Joomla 1.5 you know that previously all of our images
01:32would go inside the stories folder located inside of the images folder.
01:36That's no longer true in Joomla 1.6 it's totally okay to put your images
01:40directly into the images folder without putting them in the stories folder.
01:44In fact, no stories folder exists by default.
01:46So I am going to go ahead and create a folder called contact and click the
01:53Create a Folder button and you'll see that I have created a folder for
01:57images here on my web site.
01:58I can of course also directly upload them to this folder.
02:02Down at the bottom is an interface for uploading a single image.
02:06We can go ahead and do that by clicking the Browse button and inside of
02:10your Exercise Files in Chapter 2 in 02_03, you'll see that we have an image of an olive tree.
02:18Notice that the olive tree image is named olive_tree. There is no space in the filename.
02:26When working with Joomla it's very important to make sure that you don't have
02:30any spaces or funny characters in your filenames.
02:35What you want to do is instead of spaces put in underscores or hyphens and don't
02:40use any exclamation points, dollar signs, ampersands, or anything like that.
02:47Stick with just letters and numbers, underscores and hyphens.
02:51If you do put spaces into your filenames, you may have trouble later linking
02:56image areas into your web site or linking to PDF files.
03:01If you click that and say open and then say Start Upload you'll see that our
03:08olive tree image will upload directly into the file structure here.
03:14There's also some options up at the top of the screen and if we click that these
03:19are some options that are available here that we can configure.
03:23The Legal Extension (File Types) refer to the types of files that can be
03:28uploaded legitimately into the Media Manager.
03:31So we have things like bitmaps, gifs, and jpegs and pngs, which are image types.
03:37We also have things like a csv or a doc, which are Word document types, as well
03:42as odgs and odps, which are associated with the OpenOffice format.
03:47The maximum file size is 10 MB, which is a feature, not a bug.
03:52That means the maximum file size that you can upload to the Media Manager
03:56is limited, and that's a good thing because we don't want our clients taking
04:00pictures off their digital cameras and putting them straight into the Media Manager.
04:04We want them to resize them and reformat those pictures for the web first,
04:09either using a program like Photoshop or Fireworks or even with the software
04:12that came with their digital camera.
04:14That helps to reduce the file size and improve the page load time for your web site.
04:19Down here at the very bottom, we have an option to enable the Flash Uploader.
04:24I am going to leave this set to no here on my local copy of Joomla.
04:29The Flash Uploader allows you to upload more than one image at a time.
04:34The interface I showed you at the bottom lets you upload one image at a time,
04:37which is great if you only have one image.
04:39But if you have a pile of 20 or 30 or 40 images, the Flash Uploader is really
04:44great because you can upload multiple images at once.
04:47However, the Flash Uploader does not appear to be functioning correctly when you
04:52were in Joomla inside of XAMPP or MAMP.
04:54So I am going to leave it off here and I am going to go ahead and say Save & Close.
04:59I now have another copy of Joomla 1.6 that I have running on a web server and I
05:07did this just so I could show you exactly how the Flash Uploader works.
05:11So I've already enabled the Flash Uploader and you can see interface down here
05:16at the bottom of the screen changes.
05:18So we can browse for our files and I'll go ahead and then click the Browse
05:23button and I can hold in my Ctrl key to select multiple pictures in this folder.
05:29I want those four and I can say Open and you'll that these four images show up
05:35at the bottom of the screen that they're ready to be uploaded.
05:38I could go to a couple of other folders and pick out pictures to upload as well.
05:42They'll all show up in the queue.
05:44Then I can click the Start Upload button and you'll see that the images
05:49are uploading here.
05:50Now underneath you'll see that you get this thing that says that there is an
05:53error that's occurred and that the image didn't upload.
05:56But it doesn't say why it didn't upload.
05:58In fact, when you scroll back up the screen you'll see that the images have
06:02showed up in the Media Manager anyway.
06:04So the error message in fact is the bug here.
06:07The uploads did occur and those images are functioning.
06:10So I am going to flip back to my local copy, my XAMP copy of Joomla here, and you'll
06:16see that I am sticking with the individual file upload because that Flash
06:21Uploader doesn't work here.
06:23If you have a lot of images that you need to upload while working with a local copy,
06:27there's absolutely nothing wrong with going in through your normal file
06:32explorer or file system on your Mac or your Windows computer and browsing to the
06:38right file and just copying the images into the images folder within Joomla.
06:43That would be a great way to upload your pictures quickly.
Collapse this transcript
Using Joomla! help
00:00Feeling little stuck when you're working in Joomla 1.6?
00:03Fortunately there's lots of help built right into Joomla.
00:07Here I am in the Control Panel and right here at the top of the screen is
00:11the option for Help.
00:12The very first link is a link to Joomla Help and these help screens will help
00:18you get help with all kinds of different audiences.
00:21There is Beginners, Administrators, web site designers, Developers,
00:24Evaluators and so forth.
00:26You can click on these links to get help specifically tailored for you.
00:31On the left side of the screen is an alphabetical index of all kinds of
00:35categories of help that you can of course look at directly.
00:39So for example if I look at Article Manager > Articles, the very first item on
00:43the list, you'll see that we get a piece of help here that talks about the
00:48Article Manager and managing articles, which is great.
00:52But of course I had to go here to the Help menu in order to find out about the articles.
00:56Fortunately in Joomla there are two ways of doing everything and so if I go to
01:01Content > Article Manager, so I am actually now in the Article Manager, and here
01:07there is also a Help button.
01:09This Help button will give me contextual help.
01:12So in a pop-up window here, this comes up with the same article I was just
01:16looking at under the Help menu but by clicking the Help icon, I have my help
01:21come up in a pop-up window that specifically pertains to what I'm looking at on
01:25the screen right now, which happens to be the Article Manager.
01:30Don't hesitate to click on these Help icons as we are working through Joomla 1.6.
01:36You'll find lots of helpful help and it's all written by volunteers and it
01:40resides at docs.joomla.org which is a great place to go to get additional help
01:45and of course you can always volunteer your time and talent helping to write the
01:49documentation for Joomla.
Collapse this transcript
Creating content in Joomla!
00:00Now let's start working on creating some content into Joomla.
00:04To make an article appear on our web site we have to follow three steps in this order.
00:11One, create a category for that content if it doesn't already exist.
00:17Second, create an article within that category. And third, create a link to the
00:23article within the menu where you'd like the link to appear.
00:28In Joomla 1.5 we had sections, categories, articles and menus, the SCAM.
00:34In Joomla 1.6, the sections are gone.
00:40We can now nest categories as many levels deep as we wish.
00:43But each article still has a single category assigned to it in the end.
00:48So our scam has now become that CAM.
00:52You must create a category first, article second, and the menu link third.
00:59Due to the way that database is constructed, you cannot go out of order.
01:03Some users like to create all of the categories for the web site first, then all
01:08of the articles that live within those categories, and then link everything up to the menu.
01:13That's the process we're going to use here in this training video.
01:18Other people like to do the process for each item.
01:22It doesn't matter which methodology you prefer in that regard, as long as you
01:26keep the steps in order. Category, article, menu, the CAM.
Collapse this transcript
3. Creating Categories
Creating categories for your site
00:00Planning your categories may be the hardest part of the process in creating
00:04your Joomla web site.
00:05It's very easy to create categories from a button-clicking point of view.
00:09But how do you know what categories to create or how to hook them all together?
00:14Why do you create a category in one place, but not in another place?
00:18It can be a little confusing.
00:21What I typically do is start matching up my categories based on the site map.
00:26I look at the site map that client has given me and then I create category for
00:31each one of the top-level navigation items.
00:33As the site map grows there are areas where sub-navigation comes in and I will
00:38create categories for the sub-navigation as well.
00:41That serves as a starting point for determining what categories fit where on the web site.
00:46Functionality may also impact how categories are nested or created.
00:50For example, if you want to create a category blog, a blog format in which you
00:55see introductory text from a bunch of articles within a given category, you'll
01:00need to create a category to group those articles together and separate them
01:04out from the other articles in the web site.
01:06Likewise, if you want to do a list of specific articles within the web site,
01:11you will need to group all those articles together within a category also.
01:15So let's take a look at our site map and see how the categories are formed for
01:19our particular web site.
01:20Here is the site map that the client has given me and I have made some notes
01:24about the categories and they are shown here in bold.
01:27So we will start with a homepage.
01:30There's no category assigned to the homepage. It just exists.
01:32The homepage is going to contain some introductory text.
01:36There's no submenus on the page.
01:38There is going to be Testimonials in one column and the Latest News in another column.
01:42Then we will go on to the About page.
01:46This will have a category called About.
01:48Inside that category there'll be three other articles called "The Story Behind
01:52Two Trees," a "History & Timeline," and a page about "Our People."
01:56We will then have another category nested within the About category that will
02:02cover growing, picking, extracting, bottling and tasting the olive oil.
02:06We will have the next top-level menu item as the News and so we will have a
02:11top-level category called News and that will contain all of the news for the web site.
02:16Inside of that we will have another category called Media and inside of
02:20the Media category we will have two more categories, one for Video and when for Photos.
02:24We're going to have a blog with some videos from YouTube and we will have a blog
02:28that have the photos of the day.
02:31Under Shop we will have another series of articles, including an article that has
02:37some links to PDFs and will also include a page of links that we will use the
02:43Web links component to build, and we will have a Contact Form, which we will use
02:47the Contact component to build for that as well.
02:50So that's our general plan for how this web site is going to be put together and
02:54I recommend you go through this process with your client as well.
02:57Take the client's site map and then mark it up. Where are the various categories
03:01going to be included on this particular web site?
03:05That way you can build this out very, very quickly without putting a lot of
03:09thought behind it and you won't have to go back and redo some work later.
03:12So I am going to jump back into Firefox, and I'm going to go to Content > Category
03:20Manager and there's a nice little fly- out here that will allow you to add a new
03:24category to the web site.
03:26That's exactly what we want to do.
03:28So I'm going to go there and I am going to title my category About. I can type
03:35in an alias if I wish or leave it blank and Joomla will fill it in for you.
03:40Right now there's no parent and that's good because this is top-level menu item
03:44and we don't need to assign a parent to it.
03:47It's published and then set for the public to be able to be view it.
03:50There are some other items on this page, but we don't need them at the moment.
03:54So I am going to go ahead and leave them blank.
03:56And I need to create another category, so what's greater about Joomla 1.6 is
04:01that we have some new buttons up here in right-hand corner.
04:05I talked about Save and Save & Close in an earlier video.
04:08But look, we have another button here which is going to save such a lot of time
04:12in putting together web sites called Save & New. And when I click guess this,
04:17my About category is saved, as you see from the message at the top of the page, and
04:22I am given a blank form to create my category called Our Process and this time
04:30I'm going to assign it the parent of About.
04:33So the Our Process category is a child of About and I am going to go ahead and
04:38say Save & Close, so that we'll go back to the Category Manager and you can see
04:43that now we have three categories for our web site.
04:46Uncategorized is a category that comes with Joomla by default. You don't have to
04:50use it but it does exist.
04:53We then have the About category, and then located under About is the Our Process category.
04:58So I am going to go offline and I am going to create the other categories that
05:03are listed here in the site map, including the News, the Media, the Video,
05:08the Photos, the Shop categories.
05:10And you should go ahead and do exactly the same thing and I'll see in the next video.
Collapse this transcript
Modifying categories
00:00Did you finish entering all of your categories into the web site?
00:03Let's see how you did.
00:05From the Control Panel of the web site, let's go to the Category Manager by
00:09either clicking on the icon for it or going to Content > Category Manager.
00:14Here are all the categories that I entered for the web site based on the site map.
00:20And you can see that we start with the uncategorized category, which is the one
00:24that exists by default in Joomla. We didn't create that one, but we did create
00:29the other categories underneath.
00:31You see that Our Process is a child of About.
00:34That Photos and Video are children of Media and Media is a child of News. Oh dear!
00:42Do you see the typo there?
00:44So let's go ahead and clean up that typo.
00:48To edit a category all you need to do is click on the word "Nwes" and we're going
00:54to change the spelling here to the correct News, just like that.
00:59Make sure you erase the alias as well, so we can also have the correct spelling.
01:05Go ahead and hit the Save & Close button, and that will take us back to the
01:10Category Manager where you can see that we now have all of our categories in
01:14place and they are all spelled correctly.
01:16Now that we have all our categories in place, we're ready to move on to creating
01:21articles for our web site, which we'll do in our next video.
Collapse this transcript
4. Creating Articles
Creating individual articles
00:00Now that we have the categories created for this web site, it's time to create a few articles.
00:05Each article needs to be assigned one category, which is why we have to create
00:11all of those categories before we start building articles.
00:14Notice again that I said each article can be assigned to one category.
00:19Just because we have nested categories in Joomla 1.6, does not mean we have the
00:24ability to assign multiple categories to a single article.
00:28If you're looking for a way to take an article and assign it multiple ways of
00:33categorizing it or classifying it, what you're looking for is a functionality
00:37called tagging, and tagging is available with some third-party extensions called CCKs
00:43or Content Construction Kits.
00:46Things like K2 or ZOO or some of the other extensions that are out there that
00:51allow for tagging of articles.
00:53So once again, each article can be assigned only one category in Joomla 1.6,
00:58even though we do have a nested category structure.
01:02So let's go ahead and get started creating some articles.
01:05I'm looking at the login screen here for Joomla 1.6 and I've entered my
01:09username Jen, my password of 123456, and I'm logging in.
01:15And here in the backend of Joomla there are two ways to get to the Article
01:19Manager where we can get started.
01:21You can either click on the Article Manager button or you can click on the Add
01:25New Article button here in the Control Panel, since that's exactly what we're
01:30going to do is add a new article.
01:32The same options are also available on the Content menu under Article Manager
01:37and Add New Article. Either way you go takes you to the same place.
01:40So I'm going to Add New Article, and this is our article-editing screen and we
01:47need to include certain kinds of information to create an article.
01:50First of all, we need to include a title. If you notice, all of these
01:53required items are starred.
01:55And if your mouse over any of these items, a small pop-up window will come up,
02:00which will tell you more information about what is expected for that particular
02:06parameter here within the articles.
02:09So my title of this article will be "The Story Behind Two Trees Extra Virgin
02:13Olive Oil," just shorten that just a little bit, because it's kind of long for a title.
02:19I'm going to assign this to a category and that category is going to be
02:24the About category.
02:27Leave all of the other items that are in here alone for the moment. I'll come
02:31back to some of them later.
02:33And down here in the bottom we have a box for entering our article's text.
02:37In your Exercise Files you'll find a text document called Our Story and this
02:44has got all of the information here for this particular article.
02:48What I'm going to do is highlight the text for the article and pick Edit > Copy,
02:55and then I'm going to click in my Article Text box and I'm going to Ctrl+V here
03:02on my PC and if you're on a Mac you can do Command+V. And that will put the article
03:08text here into the web site, and we can go ahead and click Save & Close.
03:15And Save & Close will take us back to the Article Manager, where you can see
03:18that we now have one article on our web site and the information about that.
03:23For example, that it's published but not featured. Featured indicates that it's
03:27appearing on the homepage of the web site.
03:29What category it's assigned, the order in which that particular article might
03:34appear. Ordering applies to some aspects of Joomla and I'll cover that a little bit later.
03:38Who's able to see this particular article. Tight now it's assigned to the Public.
03:43Who it was created by, that's me, Super User, and the date, and how many hits
03:47it's had. Of course it has no hits, because no one has seen it yet.
03:51So in its most simple format, that's how you create an article in Joomla.
03:55Although the formatting for it isn't very interesting.
03:57I'll get into more interesting formatting in my next video.
Collapse this transcript
Formatting articles
00:00We created our first article in Joomla but it's not terribly interesting in
00:04terms of its formatting.
00:06We copied some text our of a regular old text file and we pasted it into Joomla
00:11and while it's very functional and very readable, it's just not interesting in
00:14terms of its formatting.
00:16So let's take a look at what we can do in terms of adding a little bit of
00:20interest to this text.
00:21I am going to return to my Article Manager by clicking on the icon here in the
00:25Control Panel and here's a list of all the articles we have so far.
00:30There's just one, "The Story Behind Two Trees." When I click on that and scroll
00:34down to my editing box, you will notice that there's some buttons on the top
00:38of this editing window, and these buttons of course have to do with editing
00:43this particular article.
00:44You can of course highlight some text, "my great grandparents," and you could
00:50then click a B for bold.
00:52It works pretty much the way you would expect.
00:55If I highlight some other words and click the Italic button, I will make some
00:59words that are italic.
01:00There is a button here for Underlines.
01:03However, I strongly encourage you to not to do that, because text that is
01:07underlined on the web is not clickable.
01:09We expect underlined text to be clickable because that's the way a link usually looks.
01:13So I strongly recommend you to use bolds and italics, but to stay away from the
01:18underlines, even though we have a button for doing that here.
01:20There are buttons for numbered text, but we are limited in the number of tools
01:26that we actually have here in our editing window, and what I would like to show
01:29you next is how we can get a few more tools that are available for editing text
01:34here in our window up at the top of the page.
01:36So I am going to go ahead and click the Close button up here on the top of the page,
01:40because I don't want to save any of those little formatting things I just made.
01:43I am going to go to Extensions > Plug-in Manager and I am going to look for
01:48TinyMCE. So right here on my list is the editor for TinyMCE.
01:53TinyMCE is the name of the program that's running there inside of Joomla in the
02:01article editing screen that gives us all the buttons that allows us to change
02:05the HTML and the formatting of our article.
02:07So I am going to click that and over here on the right side of the screen,
02:11the very first item is Functionality.
02:13Go ahead and change that to Extended and there's a couple other things that may
02:19be of interest here to you.
02:20Code clean on load and Clean code on save. These are the two settings that
02:26would take any HTML that you put into your document and oh so helpfully clean it up for you.
02:33Now if you know HTML, this type of behavior can be extremely annoying, because
02:38he took great deal of time to put that HTML in place.
02:41So you can turn that off.
02:43Clean code on load means that as the article loads
02:46it supposedly cleans up the HTML.
02:49That's turned off by default.
02:50But Clean code on save, means that any time you hit the Save or the Save & Close
02:55or the Save & New button, your code will be cleaned up for you as well.
02:58So let's change that to Never, because we really just don't want TinyMCE making
03:04HTML coding decisions for us.
03:05All right, so now that we have our Functionality set to Extended ,our Clean code
03:10on load to off, and our Clean code on save to Never.
03:13go ahead and hit Save & Close, and let's return to our article, which is under
03:17Content > Article Manager. Here is The Story Behind Two Trees, and when I click
03:22that and scroll down, you will see that, oh, my goodness!
03:26We have so many more buttons than we used to have.
03:28Some of the great buttons that you have available to you at this point include
03:33this button right here on the bottom row, the Paste from Word button.
03:36This button is really important if you're copying from a Word document. You copy
03:41the text and you paste it into your document.
03:44If you do that directly, you will copy over a whole bunch of Word formatting
03:48that will make your article very bloated and it may also change the formatting
03:51of the article by overwriting some of your styles.
03:54So what you want to do is, anytime you're pasting from Word, use the Paste from
03:59Word functionality here by clicking this button, you will get a little window
04:03where you can paste the content from Word into this window first, and then it
04:07will insert that content into your document.
04:10That should help with cleaning up some of the Word formatting that may be
04:14carried over from the Word document.
04:16I have been told by Macintosh people that sometimes this formatting isn't
04:21completely cleaned up with the Paste from Word functionality, so do watch for
04:25that if you are working on Macintosh, but as a PC person I found this
04:29functionality to be pretty clean and it does in fact work fairly well while
04:34working within Firefox.
04:36There's some other functionality in here. You'll notice that we have a great
04:39button down at the bottom of the editor that's called the Toggle Editor button
04:43and when I click this, this shows me the code that makes up my web page.
04:48So you can see the HTML and edit it directly if you wish. Clicking Toggle Editor
04:53again will bring back the top of the screen.
04:55Now the Toggle Editor button is slightly different than the HTML button that you see up here.
05:00Clicking on this HTML button also gives you a view of the source.
05:04Here's the difference.
05:06The Toggle Editor button at the bottom of the screen actually disables the
05:10TinyMCE Editor temporarily.
05:13So that TinyMCE isn't editing your code, whereas the HTML button it's definitely
05:19going through TinyMCE.
05:21So if you are ever having any issues with pasting in code where things are
05:24getting edited out, you might want to take a look at the Toggle Editor button,
05:28instead of using Edit HTML source button here in TinyMCE.
05:31So take a look around now at the various formatting options that you have here
05:37and you can make a few formatting changes to this article if you wish.
05:41You could clean up some of the HTML.
05:43You could go ahead and put in some bolds or italics.
05:47Make some bulleted lists, whatever strikes your fancy.
05:50Go ahead and do that and be sure to click Save & Close when you're done editing
05:54your article, so that all of your formatting changes will be saved.
Collapse this transcript
Adding an external link
00:00Creating links in Joomla is pretty straightforward.
00:03In this video I am going to talk about how to make a link to an external web site.
00:07In other words, I am going to link to some place that's not within my
00:11web site here within Joomla.
00:13So I am going to first go to my article where I can start making some edits and changes to it.
00:18I am going to go to the Article Manager by clicking on the icon and I am going
00:21to edit "The Story Behind Two Trees."
00:23To edit that all I have to do is click the title and this will take me to
00:27the editing screen.
00:28In this particular article we talk about "in addition another 5% of our olive
00:33oil sales go directly to charitable social, environmental, animal welfare and
00:37human rights causes."
00:39So our animal welfare cause is the World Wildlife Foundation.
00:43So I need to make a link from the words "animal welfare" to the World
00:47Wildlife Foundation web site.
00:49To do that I am going to start by just highlighting the words I want to become
00:53the clickable portion of the link, so those words "animal welfare," and then I
00:57am going to click on the link icon, which is on the second row of icons here in TinyMCE.
01:02When you mouse over it, you see Insert/Edit Link.
01:06So I am going to click that and that gives me a window where I can put in
01:08information about that particular link.
01:11So I am linking to http?.
01:13Remember that any time you're linking to an external web site you must always
01:17start it with http://. www.worldwildlife.org and for the target this controls
01:30where the link will open.
01:31Right now it will open up on top of our existing web site and we have some other
01:35choices, one of which is to open the link in a new window and the other two
01:40items generally have to do with frames, if you're using frames for constructing
01:44your web site, which we're not going to cover.
01:46So opening the link in a new window means that it'll either open up an entirely
01:51new window or it will open up a new tab within the browser, and whether the
01:55window or the tab opens is under control of the individual user who's looking at the web site.
02:01Which is better in terms of treating your external links really depends on your philosophy.
02:06Some people say that it's best to open an external link right in the
02:10same window because that way people can hit the Back button to return to
02:15your site when you're done.
02:16If you open a link in a new window or in a new tab, you can't hit the Back button
02:21to return to the web site. You have to know that there are two windows or two
02:23tabs available to switch back and forth.
02:26Other people think that the separate window or the separate tab is an advantage,
02:31because then you can switch back to that window and you'll still have the
02:35original web site open.
02:37So the debate continues to rage about who's right and who's wrong on this,
02:41but what I would suggest is whichever methodology you pick that you are very consistent.
02:45So if you're going to open external links in a new window, you should do it for
02:49all of the external links on your web site, not just for some of them sometimes
02:54and forget about it other times.
02:56I like to open links in new windows so I'm going to go ahead and change this to
03:00open in a new window and then I am going to click the Insert button and you
03:04will see that my text turns blue and it's underlined.
03:07I can't click it here because I am in editing window and so what I will need
03:12to do is save this article and normally what I would then do is open it up on
03:16the front end of the web site and try clicking the link, because testing these
03:20links to make sure that you've got the right web site and the link is working
03:23correctly is very important.
03:24However, I haven't showed you yet how to hook up your articles to menus.
03:28So we're going to have to wait a little while longer before we can test this link.
03:33Go ahead and hit Save & Close and we're back to the Article Manager and that's
03:37how you create an external link within the text of an article here in Joomla.
Collapse this transcript
Adding an internal link
00:00In my previous video I showed you how to create an external link,
00:03a link from an article here within our Joomla web site to another web site
00:07somewhere out there on the Internet.
00:09The next kind of link I need to show you how to create is to link from one
00:12article to another article within Joomla. However, at this point in time we only
00:16have one article existing in our Article Manager.
00:19So the first thing I need to do is to create a new article and then we can link
00:23the two articles together.
00:24Here's the way we do that.
00:25So we are going to Content > Article Manager > Add New Article and we're going
00:30to create new article called History & Timeline.
00:33So I am going to type that in in the Title spot and I am going to assign a
00:37category of the About and scroll on down to our Article Editing box and in your
00:44Exercise Files there is a document that's got the History & Timeline text in it.
00:49I am going to go ahead and highlight that and say Edit > Copy.
00:52Then I am going to click inside of the Article Text box and do the Ctrl+V or
00:56Command+V to paste that text into the box.
00:59That's pretty much all I need to do with this article for the moment.
01:02So I am going to go ahead and click the Save & Close button.
01:05Now here we are back in the Article Manager and you see that we have two
01:10articles now for the web site.
01:11So I am going to try linking from "The Story Behind Two Trees" to the" History
01:15& Timeline" article.
01:16So I will need to edit "The Story Behind Two Trees" by clicking on the article
01:20title and scrolling down to the Article Text box. Right here at the very
01:25beginning of the article it says in 1903, which I am going to highlight that
01:30will be the words that you click on to go to the History & Timeline article.
01:33I am then going to click a button down here at the bottom, which is new in Joomla 1.6.
01:39It's this button here that says Article. So I am going to click this button and
01:43I get a listing of all of the articles here on my web site.
01:47I want to link to the History & Timeline article, which is this one right here.
01:51So I am going to go ahead and click that and notice that it's changed the
01:54text here on my web site.
01:56The buttons are really great in that it makes blinking these two things
01:59together fairly easy, but it does insert the title of the article in place of
02:04whatever text you had there.
02:05What I need to do now is retype in 1903, which I will go ahead and do and
02:10erase most of this link.
02:13In 1903 and then I will go back and delete that letter H.
02:18So now I have a link to my other article and we didn't even have to create menus
02:23in order to do this, and that's thanks to this new button down here in Joomla
02:261.6, the Article Linking button.
02:29I am done with this article now so I am going to go ahead and hit Save & Close.
Collapse this transcript
Adding article images
00:00Adding images to Joomla is relatively straightforward,
00:04once you have an image. Make sure whatever image you use is in the right
00:08dimensions and save it in a small format for the web.
00:12If you don't know how to do this, there are several titles at lynda.com that
00:15can show you how to save pictures in a compressed file size for quick downloads on the web.
00:20You don't want to take the pictures right off your digital camera and then put
00:24them directly on your web site. They take forever to download and people won't
00:28see them, because they take so long to download.
00:30So to add a picture to your article, once again, we're going to go our
00:34Article Manager > Content > Article Manager and I am going to open up "The
00:39Story Behind Two Trees" article.
00:41In an earlier video we uploaded a picture of an olive tree and I would like to
00:46go ahead and insert that into this article now.
00:48So I'm going to scroll down here and I am going to click right here right
00:52before the words "in 1903."
00:53And then I am going to click this Image button down here at the bottom of the page.
00:58This will pull up a window into my Media Manager and you can see that I've got
01:03a lot of options here.
01:04I have got all of the images that are in my Media Manager at the top.
01:08I also have the ability to upload a picture directly into the Media Manager
01:11through this interface.
01:13So I am going to click on the olive tree, which is the picture I would like to
01:16insert into document.
01:18This thing here called the Image Description refers to the Alt tag in HTML.
01:24This is the text that search engines read to find out what picture is all about,
01:29since search engines can't see pictures.
01:31So it's a great place to put some keywords in for your article.
01:34It's also what will be read to someone who has any kind of visual disability
01:39if they are using a screen reader, and finally, if for some reason the picture
01:43doesn't display on the web site, the Alt text will be displayed on the web site
01:47describing what this picture is.
01:49Ideally, you want to make this a relatively good description of what the photo is,
01:53so I'm the put in "Picture of Olive Tree" and I'm also going to align this picture.
02:01Right now it's not set, and if it's not set the picture will show up
02:05right here in the editor with the text following after it, aligned to the
02:10bottom of the picture.
02:11Usually you want it to align this either to the left or the right, so that the
02:15picture will have the text wrapping around it really nicely.
02:17I am going to put it over on the right side of the page and now I am going to
02:21say Insert and you can see that our picture is here nicely aligned on the
02:27right-side of the page.
02:28You might also be wondering about the tree icon up here in TinyMCE.
02:34This is another method for entering a picture into your document. If I click
02:39the tree icon here, you'll notice that I have to know the image URL in order to use this.
02:44In other words, I have to type in the path to my image and for most clients,
02:49that's really hard to do and sometimes we developers also don't quite get that right either.
02:53So I recommend you stay away from the tree icon in TinyMCE and use the Image
02:59button at the bottom. It's much easier to browse for the picture that you want.
03:02So now that you have got your picture in this article, go ahead and scroll back
03:05on up to the top and click Save & Close.
03:09That's all the editing we need to do on that article for now.
Collapse this transcript
Adding a YouTube video to an article
00:00In your Exercise Files, you will find a link to this YouTube video.
00:04Our client would like to include this video from the California Weekly Podcast
00:08which describes the process of creating extra virgin olive oil and they would
00:12like to put it directly on the Joomla web site.
00:15Fortunately, YouTube offers a method for doing this.
00:18If you scroll on down the page, at the bottom of the video you'll notice this
00:22Embed button and if you click that, this will go ahead and give you some
00:27code that you can then copy and put into your Joomla web site, which will show the video.
00:32You can make some changes down here at the bottom pertaining to that video in
00:36terms of what size video you want to include, whether it's a 480 pixels wide
00:42or 640, simply by clicking on the boxes here or you can type-in custom dimensions here.
00:48I am going to use the 480 dimensions for this particular video and I am going
00:54to go ahead and copy this by highlighting the code and then going up to my
01:00Browser window and going Edit > Copy.
01:02Now I am going to flip back over here into Joomla and I am going to go back into
01:07my Article Manager and create a new article for this particular video by going
01:11to Content > Article Manager > Add New Article.
01:15The title for this article will be "Growing and Manufacturing Extra Virgin
01:25Olive Oil," and I am going to put it in the Video category, which is under News and Media.
01:32And now down here in the Article Text, if I toggle my Editor and erase
01:37whatever is there and I paste in my video code and I go ahead say Save, you'll
01:41notice that it's gone.
01:44And in fact if I toggle the Editor it's been stripped out.
01:48This is a feature and not a bug.
01:50Joomla is very concerned about security and one of the things that I could
01:54do if I was a malicious person would be to put in some code here that could
01:59hack the Joomla web site.
02:00So what Joomla does by default is it creates a black list of tags, in other
02:04words banned tags, and these are HTML tags
02:08not allowed to be used within your Joomla web site.
02:10What we need it to do is to say that our super users, who we both are, are
02:16trusted users for this web site and turn off this blacklist for super
02:20administrators only.
02:22We will leave it in place for some lower-level users, because we don't trust
02:26them as much as we do our super users.
02:28So in order to this, go ahead and save and close your existing article here and
02:34up in the upper right-hand corner in Joomla there is a button for Options, and
02:39if you click this Options button there is a bunch of options in here and I'll
02:42go through some of these later, but we are interested in the tab called Text Filters.
02:47So this is listing the existing groups here in Joomla right now.
02:52By default, we have Public, Manager, Administrator, Registered, Author,
02:56Editor, Publisher, and Super Users, and by default the filtering type that
03:01they have is the Black List.
03:03If you roll your mouse over the Black List drop-down on any one of these,
03:07you'll get an explanation of exactly what blacklisted tags exist within
03:12Joomla, attributes that are blacklisted within Joomla, and what white listing
03:16and so forth means.
03:17So you can go ahead and read this. It's very helpful.
03:21What I want to do is change my Black List for my Super Users to No Filter.
03:25If you are a Super Administrator and you can get into the back-end of Joomla,
03:29there's all kinds of havoc that you can wreak.
03:31You don't have to just put in some malicious code into an article.
03:35You can destroy the entire database.
03:37So I don't think the Super Users really need to have black list filtering here.
03:42So I have set them have no Filtering at all.
03:44In other words, a Super User can put in any kind of HTML they want into
03:48a particular article.
03:50Go ahead and click Save & Close, and I am going to go back into the "Growing
03:53and Manufacturing Extra Virgin Olive Oil" article.
03:56Before I paste in my YouTube code again, I am going to put in a
03:59little introductory text.
04:01So we will say something like "This video describes growing olives in the Ojai
04:11Valley and turning them into extra virgin olive oil."
04:19Now I am going to hit my Toggle Editor button and I am going to go ahead and
04:23paste in my iframe code one more time.
04:26Now when I switch back over into the full TinyMCE Editor you will see a
04:30black box, which is where the video will play where we hook this article up to the web site.
04:36Go ahead and click Save & Close and now we've got a YouTube video included
04:41in our article here.
Collapse this transcript
Linking to a PDF or other document
00:00Our next task is to create the Shop Page for the web site.
00:03The Shop Page, if you take a look at your site map, includes two PDFs:
00:07a link to a catalog and a link to the company brochure.
00:11The company isn't ready for a full ecommerce solution yet, but they would like
00:15to get a little bit more known in a wider community and they will go ahead and
00:18put in a shopping cart at a later point in time, just not right now.
00:22So in order to create the Shop page the first thing we need to do is upload our
00:27two PDFs to the Media Manager.
00:30Once those are in place then we can create an article through the Article
00:34Manager and link to the PDFs from there.
00:37So to start we need to go to the Media Manager, which we can get to by clicking
00:40on the icon right here on our Control Panel, and if we scroll down to the
00:45bottom of the page and click our Browse button, we will go ahead and browse for
00:50Chapter 4 file 04_07.
00:53Here is our two files: the ttoobrochure and the ttoocatalog.
00:56So we will have to upload these one at a time, and there is our ttoobrochure.
01:02Now I am going to click the Browse button one more time, select the catalog,
01:06Open and start upload.
01:07So now we have our two PDFs in place.
01:10Remember those names because we're going to need those to make the link to the
01:14PDF when we get back into our Article Manager.
01:17So now I am going to go to Content > Article Manager > Add New Article and the
01:23title for this web page will be Shop and our Category for this will also be Shop.
01:29Scrolling down to the Article textbox, in our Exercise Files there is all the
01:35text that you need for this particular article.
01:37So I am going to highlight all of that and say Edit > Copy. Click back in my box
01:44here and Ctrl+V or Command+V to paste the text in place.
01:49One thing you may be wondering about at this point is the email address that
01:54you see here listed within this text and whether we should be making a link so
01:59that it becomes a clickable email link.
02:01Joomla will actually put that link in there for you, and this is one of the
02:06many great features of Joomla. It will turn that twotreesoliveoil.com into a
02:11clickable email link and behind-the- scenes it will use JavaScript to encrypt
02:16that -mail address to prevent the spammers from scraping that email address
02:21and adding you to a bunch of different lists, so you can safely put your email
02:24address on the web site.
02:26Just a really great feature.
02:28So I'm leaving the email address alone.
02:30I don't need to turn that into a link.
02:32Joomla will do that for me later.
02:34Scrolling down to Download Brochure, I am going to go ahead and highlight that
02:39text and click the Link button.
02:42Here in the Link URL I am going to type in images/ttoobrochure.pdf.
02:51Remember that there is no more stories folder as there was in Joomla 1.5.
02:55We uploaded our PDFs directly into the Media Manager right into the Images folder.
02:59So this is the correct path to our PDF.
03:02You can open it in a new window if you wish or you can open it in the same window.
03:06Go ahead and say Insert and we've made our link to our brochure.
03:09I'm now going to highlight the words Download catalog and click my link icon one
03:15more time and make my link to the catalog, images/ttoocatalog.pdf.
03:23Notice that my file name for this PDF doesn't contain any spaces, which is very,
03:28very important for working with files in any web development system, but also in
03:33Joomla. Sometimes Joomla won't treat files with spaces in their names correctly.
03:39So use underscores or hyphens if you need to separate things into separate words
03:44or you can use camel case using alternating capital letters and lowercase
03:48letters in order to work your file names, or you can just use all lowercase
03:52letters as I usually do.
03:54I never remember what I've made capital and what I have made lowercase.
03:58So I tend to just go with all lowercase for my file names.
04:01Go ahead and click Insert and we've created the two links here to our PDFs.
04:06Go ahead and click the Save and Close button and we are all set with our Shop article.
Collapse this transcript
Using Read More
00:00For our next task we're going to create the News section of the web site.
00:04We'd like to have a series of articles on a page that will show a little bit of
00:08introductory text followed by a Read More link and then when you click the Read
00:12More link, you go to a page with the full article on it.
00:14I am going to show you how to set those articles up so that when we get to the
00:18point of making that particular page, which we will do in the next chapter on menus,
00:22we will have all the articles in place to make that magic work.
00:26So we are going to start by creating these three news articles and making sure
00:30that they're ready to work with that Read More format.
00:33That's what we are going to accomplish in this video and then later we will
00:37actually make the page with the three articles on it in the Menus chapter.
00:41So go ahead and get started by clicking on Content > Article Manager > Add
00:46New Article, and in your Exercise Files you will have a file that has the
00:53news articles in it.
00:54So the first article is "Two Tress Olive Oil Announces New Vermont Distributor."
00:59That is the title. I am highlighting it. Edit > Copy.
01:01I am going to go my Title Field and then Ctrl or Command+V to paste in the
01:07title of the article.
01:08This is going to go in the category of News and then down here in the Article Text,
01:13we will go ahead and highlight the body of the text here. Copy.
01:21Here in the Text window Ctrl or Command+V to paste in text.
01:27So right now if I was to save this article, the entire article would show when I
01:31look at it on my web site.
01:32What I need is a way to show where that Read More break should occur, so that
01:36I can see say the first paragraph of text and then followed by the words Read More.
01:41So I want that break to happen just after the end of this first sentence.
01:45So I am going to put my cursor there and then I am going to go down to the
01:48bottom of the screen where there is this Read More button.
01:51When I click that it'll go ahead and put in a red dotted line.
01:55That's only to show you where the Read More break occurs.
01:58The web site will not display a red dotted line on it. And I am going to go
02:02ahead and erase a few spaces so that I don't have a big gap in the middle of my article.
02:07So that's the way you'll need to set up these articles, just like that.
02:12I have two more articles to do.
02:14So I am going to go ahead and hit my Save and New button to create a new article.
02:18My next article is the "Two Trees Olive Oil Adapted by Northern New England
02:22Organic Chef's Association."
02:24So I am going to go ahead and highlight that text, Edit > Copy, switch back to
02:30Joomla here in the title blank. Ctrl or Command+V to paste in that title.
02:35I am going to set my Category to News.
02:38Scroll on down to the Article Yext box and I am going to highlight the words
02:43here in the article, Edit > Copy, and once more in my Article Text box, Ctrl
02:50or Command+V to paste.
02:52Once again after this first sentence is where I want the Read More break to
02:55occur, so I am going to click just after the end of the first sentence, click
02:59the Read More to put in that red dotted line, and erase a little bit of the extra space.
03:03We will go ahead and click Save and New one more time, and one more article to go.
03:09Scrolling down here, here's "Two Trees Olive Oil Builds New Production Facility
03:13to House Skin Care Product Line."
03:15Go ahead and highlight that title.
03:17Edit > Copy, come back to the title, place here Ctrl+V or Command+V to paste
03:23in the title, set our Category to News, scroll down to the bottom, highlight
03:27our text, Edit > Copy, click in our box here, Ctrl or Command+V to paste, and
03:36just after this first paragraph, one more time, the Read More link, and erase a
03:41couple of extra spaces.
03:42That's our last article for this, so I am going to go ahead and hit Save and
03:45Close and you'll see here in our Article Manager that we now have our three
03:50articles right here, one after the other, all of which are located inside of the News section.
03:56And those of you who are familiar with Joomla 1.5, wasn't that Save and New
04:00button just really terrific?
04:01It really helps to streamline the process of putting in a lot of content really quickly.
04:05So that's the way you insert a Read More indicator within the article and I'll
04:11show you how to create the format so that you can see a series of articles on the
04:15page followed by those Read More links in my chapter on menus.
Collapse this transcript
Dividing long articles using page breaks
00:00If an article is particularly long or it has multiple parts, you can break it
00:05into pieces and Joomla will create an index for you of all the parts that make
00:09up that particular article.
00:10There will be a nice little panel that you can float over to the right side of
00:13the screen and it has a series of links on it where you can click and navigate
00:17to different portions of the article.
00:19If we go to our Article Manager by clicking on the icon in the Control Panel and
00:24go to our History and Timeline article by clicking on the title, scrolling down,
00:30this article is somewhat long.
00:32It's also highlighted by a series of dates, which seems to lend it to breaking
00:36it into smaller pieces.
00:39We could set this up as separate articles with each date as its own article
00:43and then set this up later as a list of articles where people could go and read those.
00:48But I think it's going to be a little bit more user-friendly to keep this as one
00:51article and to break it into smaller pieces with the Article Index.
00:56So in order to break this article into pieces, we use the Page Break button
01:00down here at the bottom.
01:02Just like we did with the Read more, we are going to click at the end of the
01:05text where we want that page break to occur and then we are going to click
01:09the Page Break button.
01:10We're going to ask for two pieces of information:
01:13a Page Title and Table of Contents Alias.
01:16The Page Title is the text that will show up in the index itself, whereas the
01:21Table of Content Alias doesn't show up anywhere.
01:24It's just used in the backend of Joomla for dividing up the article.
01:27In this case though, I am going to use exactly the same entries for both the
01:30Page Title and the Table of Contents Alias, in other words, the dates.
01:34Here I am going to enter 1908 for the Page Title and 1908 one more time for the
01:43Table of Contents Alias and say Insert Page Break.
01:46Rather than saying a red dotted line, which is what we saw for the Read more,
01:51we're seeing a grey dotted line, which indicates that this is where the page
01:54break is going to occur.
01:55Dotted line of course will not show up in your final document, but it does
02:00indicate where the page breaks are occurring. Very handy when you're working
02:03with these articles and you are editing.
02:05So we are going to continue on this process, get rid of a couple of extra spaces there,
02:10and once more at the end of the 1908 text we'll hit the Page Break and
02:16we'll put in 1910, and 1910 again, Insert Page Break, and I'm going to continue
02:26this process all the way down the list. So every time there's a date and I am
02:31just going to click right before the date at the end of the previous date, enter
02:36the two dates twice and I am going to keep on going here. Okay.
02:41So I have gone ahead and entered all of my page breaks for this particular
02:44article and I am going to go ahead and hit Save & Close and later when we hook
02:51this article up to the menu, you'll see the article index will be generated for
02:56us automatically with the list of all of the dates that we just saw in that
03:00timeline and all those links will be generated for us automatically.
Collapse this transcript
Adding articles to the featured page
00:00As we have been working away here in Joomla and creating articles, nothing has
00:04actually showed up on the front end of our web site.
00:07If you take a look at the front end of your web site and hit Refresh to make sure
00:11you're getting the most recent information, you'll see next to nothing at all on the homepage.
00:16There is plenty of content because we created it, but we haven't actually
00:20had anything to show up on this web site just yet, because we haven't created any menu links.
00:26However, in this video, we are going to create some homepage content and we are
00:31going to have it displayed right here on the homepage of the web site without
00:34having to create any menu links at all.
00:36We can just have this information display right on the homepage of the web site.
00:41What's now called Featured Articles in Joomla 1.6 were previously called Front
00:45Page Articles in Joomla.
00:47However, I've found that a lot of people who have got Microsoft FrontPage
00:51confused with Joomla's Front Page and I even had a few people ask me why
00:56Microsoft FrontPage was running in their Joomla web site.
00:59Fortunately, Joomla renamed this to the Featured Articles, which is a little
01:02bit more user friendly.
01:04Now I am going to go back to my backend of Joomla here and I am going to create
01:08one more new article, which will be my homepage article, and I am going to do
01:12that by clicking the Add New Article button right here on the Control Panel.
01:17And in your Exercise Files,
01:20you have an article here called "Two Trees Extra Virgin Olive Oil - In a Store Near You."
01:25I highlight those words and say Edit > Copy and I am going to go ahead and paste
01:29that in for the title.
01:31And in this case, I am going to leave my Category for this article set to Uncategorized.
01:36The reason why is I don't see any particular reason to create a category
01:40called Homepage Articles.
01:42I already have a way of setting what articles I want to appear on the homepage,
01:47so I don't really have any need to group them together.
01:50If you feel more comfortable creating a category for homepage articles, by all
01:53means go ahead and do so, but I am going to leave mine set to Uncategorized.
01:58And then down here, just before the box where we put in the text for the
02:02article, is the option for Featured.
02:05And we are going to go ahead and say Yes.
02:08That would indicate that we would like this article to appear on the homepage of the web site.
02:12Now I am scroll on down and from my article, I am going to go ahead and
02:17highlight the text, Edit > Copy, and right here in my box I am going to Ctrl+V
02:24or Command+V to paste in that text.
02:27So, there it is and I am going to go ahead to the top of the page and click Save & Close.
02:32Now, I am going to flip back to the front end of the web site and notice that
02:38the articles doesn't just show up. I have to actually refresh the page in order to see it.
02:42So, I will refresh the page and now right here on my homepage is our very first article.
02:49You can see that the title is called "Two Trees Extra Virgin Olive Oil - In a
02:52Store Near You" and there's the copy of the article.
02:56And as I had mentioned before Joomla takes the email addresses that are listed
03:00in these articles and will format them into a clickable email link and encrypt
03:05that e-mail link with JavaScript, so that it can't be stolen by spammers. Just a wonderful thing.
03:11The display of this page definitely leaves something to be desired.
03:15You probably want to get rid of that "Home" across the top, which doesn't
03:18really add a whole lot to the value of this page and you probably want to get
03:22rid of the Category: Uncategorized and published date and the fact that it was written by Super User
03:28and how many hits it has gotten.
03:30All of that is pretty irrelevant to the homepage of a web site and we are going
03:33to cover how to do that in a later video.
03:35But for right now, just try to deal with it. It's common.
03:39We will get rid of it later.
03:41If you want to add other articles to the homepage of the web site, you can do
03:45that by turning on the Featured button for any of these articles.
03:49If you have flipped back to back the backend of Joomla, here in the Article
03:52Manager and you take a look at the list of articles here, you'll see that our
03:58homepage article has in the Featured column a little blue star and that's
04:03indicative that this article is appearing on the homepage of the web site.
04:06If I want one of these other articles to appear on the homepage, let's say the
04:10Shop article, once again all I have to do is click on the Featured icon
04:16here to turn that into a blue star and refresh my homepage and we now have two
04:22articles here on the homepage of the web site.
04:25You will also notice that this second article is formatted somewhat oddly.
04:29It seems to be smooshed in on the left side of the page.
04:31Once again that has to do with some preset Joomla formatting, all of which can
04:36be overwritten later and I am going to go through that in detail.
04:40I really don't want the Shop article on the homepage.
04:42I just wanted to show you that it was possible to display more than one
04:45article on a homepage.
04:47So, I am going to go back to backend of my web site and I am going to turn off
04:51the Featured state of that Shop article.
04:53And when I go back to my homepage I will refresh and the only article that's
04:58visible now is the article that I actually want on the homepage of the web site.
05:02So hurray for finally getting some content on this web site!
05:05it's finally starting all to click together and maybe get a little bit more
05:08real for you, thank goodness.
05:10At this point, we just have a couple more videos and how to delete articles and
05:14some practice and then we will be ready to start adding more things to the menu.
Collapse this transcript
Deleting and restoring articles
00:00Now that we've created a whole bunch of articles, you might be wondering how
00:03to get rid of them.
00:04What would happen if you don't want an article anymore?
00:07Let's take a look at the Article Manager by clicking on the Article Manager
00:11icon here in the Control Panel and there is a few things you need to know about
00:15the state of various articles in Joomla, which relates to whether they're published or not.
00:20If you look a look at the column, this column right here called Published, this
00:25indicates which articles are published for the web site. In other words, which
00:30articles are available for people to see if they were linked up to the menu or
00:34featured articles displayed on the homepage.
00:36I can unpublish any of the pages on this web site by going to this button right here
00:42and clicking it and that little green check turns into a red circle,
00:47indicating that that article is no longer published.
00:50In other words, it's unpublished.
00:53So, the article is still present here within the Article Manager, but the
00:56article is not visible to the public and it's not showing up anywhere on the web site.
01:03So what's nice about that is if you think that your boss has asked you to
01:06remove an article but at some point in the time you may need to repost it or
01:11repurpose it, you can always delete these.
01:14Disk space is really cheap.
01:15These articles don't take up a lot of room.
01:17So that's probably the wise route.
01:20If you do actually want to delete an article though, the way you can do that is
01:25simply putting a checkmark next to a particular article and clicking the Trash
01:30icon up on the top right corner of Joomla. And if you click that it'll tell you
01:35that one article is trashed.
01:37You may think that it's gone for good, but in fact, it's not.
01:41If you take this dropdown here called Select State, you will see that we
01:45actually have four states for all of our Joomla articles:
01:48the Published and Unpublished, which I already recovered, Archive, which means
01:52that article has been sent out to an archive where it may be stored away for
01:57something else, and the Trash, where it's getting ready to be deleted.
02:02If I switch to Trash here in the drop-down, you will see that my article is still here.
02:07It's just living in the Trash can, and now if I really want to get rid of this,
02:11I can put a checkmark next to it and click the Empty Trash button up here in the
02:16right corner and that article really will go away.
02:19I don't want it to go away.
02:21So in order to change its state from trashed, all I have to do is click on this
02:26icon one more time and I have republished the article.
02:30I don't see anything now in my Article Manager, because I'm filtering
02:34the articles right now.
02:36You see in this dropdown I have set this to show me all the trashed articles
02:40and there aren't any, which is why I see nothing.
02:43So if you suddenly see all of your articles vanish from your Article
02:47Manager, don't panic.
02:48It's probably you've got some kind of filter set up here.
02:52It could be any one of these dropdowns or you might have something typed in this
02:56box over here that you've specifically filtered on.
02:59If I switch this back to the Published state, you will see that my articles are back in place.
03:06All of them are here and all of them are published.
03:10I can also just change this back to Select State to show me all of the
03:13articles on the web site regardless of whether they're published, unpublished,
03:17trashed or archived.
03:18The big thing to remember is just because you trash an article
03:22it doesn't mean that the menu link associated with that article is also trashed.
03:28If you delete an article, make sure you also delete its menu link, and if there
03:33was a category associated with just that article, to be neat you might want
03:37also delete that category.
03:39If you forget to delete the menu link, but you have deleted the article, when
03:44someone clicks on that link from the menu, they will get a 404 page not
03:48found type of error.
03:50Alternatively, if you get rid of your menu link, but you don't get rid of the
03:54article and you leave the article published, if you have search configured for
03:59your web site, your article may turn up in the search results and that may not be
04:04something that you wanted all.
04:06So if you want to keep the article and you don't want it showing up on your
04:10web site in any way at all, be sure you unpublish the article, not just
04:14remove the menu link.
04:16Be very, very careful about deleting your content overall though.
04:19Make sure you've deleted all the loose ends on the web site in order to get rid
04:23of something or unpublish all those loose ends.
04:26Otherwise you will wind up with 404 errors or categories you are not sure where
04:30they go, so very, very important to keeping a clean and neat and well organized web site.
Collapse this transcript
Practicing with articles
00:00We've entered a lot of articles on our web site, but if you take a look back at
00:04our site map, you'll notice we still have quite a few gaping holes in what
00:07we've done to this point.
00:09So it's time to go through and create a whole bunch of content on the web site
00:12based on what our client has given us to this point.
00:14Let's get started by going to our Article Manager by clicking on the icon,
00:18because we are going to be doing pretty much all of our work based on what's
00:22here in the Article Manager. And in your Exercise Files open up additional content.txt,
00:27and you'll see that we have a large number of articles in here
00:31that we need to put in.
00:32I am going to take you through these pretty much in order.
00:35So the first thing that we have listed here is the Process section of the web site.
00:40It has five articles associated with it: Growing, Picking, Extracting,
00:44Bottling and Tasting.
00:45They are all associated with the Process category.
00:48So what we need to do now is create five articles really fast that will be
00:52associated with the category list that I am going to show you how to build in a later video.
00:56So I am going to start by copying my text for the Growing article and Edit >
01:03Copy and here for my Article Manager I am going to click the New button up here
01:08in the upper right corner and the Title for this one is growing and the Category
01:16is going to be Our Process and I am going to go ahead and paste in my text here
01:24down at the bottom and make sure the formatting looks good, just like that.
01:28I am going to go ahead and click Save & New, so that I am ready to put in my next article.
01:35So I am going to go through and I am going to create the other four articles
01:39one right after the other and you're going to see this just fade right on into
01:44the end of the process.
01:45So I've just finished entering my last article here, Tasting, and since it is my
01:50last article I am going to go ahead and click Save & Close to close that
01:55article and you'll see here in our Category list that we have several of these
02:01new articles grouped together.
02:02Notice that the articles are not grouped by category. We see them all listed
02:07here actually in alphabetical order and we know that because of this little icon
02:12right here next to Title which indicates that it's currently being sorted in
02:15alphabetical order from A to Z. If I was to click that icon,
02:19I could switch the reverse and now the title of the articles are sorting by from Z to A.
02:25Click again and we go back to A to Z. I could also click on the Category to sort
02:30by that column and now I'm grouped together all of my articles by category.
02:35So I am showing my articles for the About section, the three for the News, and
02:39now the five for Our Process.
02:40That can be very helpful in finding articles and making sure that you've entered
02:46all the information correctly.
02:48We do have some more articles to enter.
02:50So we have another one that needs to come next in our additional content
02:55document here called Our People and you see that we have a title.
03:00We have a little blah-blah and then underneath here we have a note saying that
03:04there is a photo for Maria Vitalia, the founder and the CEO.
03:08So I am going to need to upload a picture and create a new article.
03:12So, let's go ahead and copy the text here.
03:16In fact I am going to copy all of it. Edit > Copy and from my Article Manager,
03:25I am going to create a new article by clicking on the New button and I am going to
03:30type in the Title, which is Our People, and the Category for this article is About
03:36and I am going to scroll on down to my Article Text area and I'm going to hit
03:40Ctrl+V or Command+V to paste that text in and do a little quick formatting here.
03:47So I've got my article here into my content.
03:51Now I need to include this picture of Maria Vitalia.
03:54So I am going to click here just before the first sentence and I am going to hit
03:58my Image button down here at the bottom of the editing screen.
04:02This pulls up my Media Manager.
04:04So I am going to upload Maria's picture to the Media Manager by clicking on
04:08the Browse button down here at the bottom, and I am going to go into my
04:13Exercise Files and I am going to pick Maria here from my files for this lesson and say Open.
04:20I am going to click the Start Upload button and you see that Maria's picture
04:25goes ahead and shows up here in the corner.
04:27I am going to go ahead and click her picture to choose it.
04:30I am going to align it to the right side of the screen and my text will be Maria
04:36Vitalia, Founder and CEO, and I'll go ahead and click the Insert button.
04:46So there is her picture and I am going to change my text here to say photo, right.
04:57So that people who are reading this will know who that is.
05:00So now all we need to do is scroll back up to the top of the screen and click
05:03Save & Close and we have another article added to our web site.
05:08Next in our list of articles is in the Shop section and what we have here is
05:13our top-level Shop page and Skin Care Products page that we want to add to the web site.
05:19Earlier we created a Shop page but our client has changed their mind and
05:24they've decided that Shop page should actually become the Olive Oil page
05:28instead of the Shop page.
05:30So we need to do a little bit of editing where that's concerned.
05:33So let's make that change first so we don't get confused.
05:37Let's go to the Article Manager and we'll scroll on down to our original Shop page.
05:41What we are going to do now is change the title of this article from Shop to Olive Oil.
05:50Make sure you erase the alias as well to get rid of that and Joomla will
05:55re-create that for you.
05:57Go ahead and click Save & Close which will return us to the Article Manager and
06:03now we're going to go ahead and copy this first article for Shop. Note that we
06:09need to include an image called oliveoil.jpg on this page as well.
06:13So we'll go ahead and highlight this text and say Edit > Copy and here in my
06:19Article Manager, I am going to hit my New button again and this time this
06:25article I am calling shop and I'll put it in the category of shop and I'll go
06:32ahead and Ctrl+V or Command+V to paste in my text and I am going to do a little formatting.
06:38Now I need to add that picture, so I am going to go ahead one more time and
06:42click my Image button, browse for the image called oliveoil and say Open, start the upload.
06:49Then I'll choose oliveoil from the pictures here in the Media Manager,
06:53align that to the right, put in my Description, "Our delicious olive oil," and say Insert.
07:04Oops!
07:06I put the picture down here just after my last sentence of this paragraph.
07:10So it's not exactly in the spot that I wanted.
07:13You can always pick it up and drag it where you want it.
07:15So I am going to drag it up to the top of the first sentence, see that, and now
07:20I've rearranged that picture on the page.
07:21You can always delete it and reinsert it again if you want or the click-and-drag
07:26technique can work for you as well.
07:27Down I am going to click Save & New because I have one more Shop article that I have to add.
07:35This is the Skin Care Products page. So I am going to go ahead and copy that text,
07:40Edit > Copy, and my Title for this article will be Skin Care Products and
07:50that will be in the Category of Shop.
07:52I am going to go ahead and Ctrl+V or Command+V to put my text in here.
07:59Then I am going to do a little formatting.
08:01Then I need to remember to click in the right place this time and I need to
08:06upload that picture called lotion.jpg.
08:09So one more time, click the Image button, browse for my lotion picture, say Open,
08:16and start the upload.
08:18Go ahead and click on the lotion picture.
08:20I am going to align it right again, and in Image Description, Our lotion is kind
08:28to your skin and the environment.
08:34Then go ahead and say Insert.
08:35So now we have our picture here included in the web page.
08:40Go ahead and say Save & Close, so we've added our Skin Care Products to the site.
08:49Next part of the site that we need to include is our photo blog.
08:53I am going to show you how to enter the first image for our photo blog and then
08:58I am going to let you go ahead and enter the second two entries yourself.
09:02So for our photo blog, we have a couple of sentences here.
09:06We have this sentence, Our olives are almost ready for picking, which is the
09:09title, and then we'll follow this by a date and then a sentence and then we're
09:13going to have a picture that will occur in this particular article.
09:16So I am going to start by highlighting the title and saying Edit > Copy.
09:22In my Article Manager I am going to click the New button and in the Title link,
09:27I'll go ahead and click Ctrl+V or Command+V to paste in that title.
09:32Our Category will be Photos, under News and Media, and in the Article Text I'll go
09:40back to my article and I am going to pick that sentence.
09:43"Here is a photo of olive orchard" and I am going to say Edit > Copy.
09:47Then here in Joomla I am going to say Ctrl+ V or Command+V to paste in that sentence.
09:54Quick little bit of formatting, and then I'll need to insert the image.
09:59So once again click the Image button and I am going to browse for my
10:03oliveorchard picture here and say Open and Start Upload and pick that picture.
10:12I am not going to do any alignment this time. I just want it show up here right
10:15underneath of the text and for the Description I am going to put in "Our olive
10:21trees are looking fantastic" and say Insert.
10:29So there is our picture. It's looking good.
10:31Now the last thing that is specified here in our blog is a date and I could just
10:37type that date right here into my article but Joomla also has a great way of
10:42including dates on the web site.
10:44Up here on the right-hand side of the screen, something I haven't showed you yet
10:47in the Publishing options is the ability to pick a Created Date.
10:52By default, when I hit the Save button, it'll pick today's date as the Created Date.
10:56But in this case, I want to pick a specific date.
10:58So I'm going to click the little icon here for the Calendar and I am going to
11:03pick January 27th as the date that I want to call the created date.
11:08I am actually going to remove that timestamp there because I don't care what time.
11:12I just want that date.
11:14If I really wanted, I was working ahead for example, I could set a Start
11:18Publishing date and a Finish Publishing date and then this article would show
11:21up on the web site on the date that I specify including the time and it would
11:26remove itself from the web site at a certain point in time as well if I said the
11:30Finish Publishing date.
11:31This is great if you've got some time sensitive information that you want to
11:35include on your web site, maybe something that's going to occur over the weekend
11:39but you don't want to be working over the weekend, or maybe you want to queue up
11:43a bunch of blog posts in advance and have them just published automatically,
11:47which would be terrific.
11:48You see how I've configured my first article here for this photo blog.
11:52I have a title, I have my text and my picture down here in the Article Text
11:56area, and then I've chosen my Created Date over here on the right-hand side of the screen.
12:01I am going to go ahead and do the same process now for the next two photo blog
12:05posts and I'll catch you as soon as I am done.
12:08So I am going to go ahead and hit Save & New to get started with that.
12:14I've entered my last article here for my photo blog and I am going to go ahead
12:20and click my Save & Close button to close this article out.
12:24If you take a look here on our Article Manager, we're displaying 20 articles
12:28here, that set down here at the bottom of the screen, and I believe we're
12:34probably just around 20 articles at this point.
12:37If we had more articles you could always set to this to a higher number to
12:40display more of them at one time or you could display fewer of them by choosing
12:44one of these smaller numbers.
12:46I am going to go ahead and pick five just to show you.
12:49So now I'm displaying five articles at a time and we have some additional
12:53navigation that showed up down here at the bottom of the screen.
12:56So I can go to my second page of results, for example, to see other articles or
13:01my last page by clicking the End button.
13:04So you can navigate through however many articles you have in your Article
13:08Manager using this navigation down at the bottom of the screen.
13:12So if you created an article and you can't find it in the Article Manager,
13:16things you should check would be including these dropdowns here, perhaps you've
13:19turned on a filter, or you've put in some keywords here in the filtering over on
13:23the left hand side, or maybe you're not looking at the correct page of results
13:28down here at the bottom.
13:29If you create an article in Joomla it's in here somewhere.
13:32Sometimes it's just a matter of finding it.
13:34I am going to reset this to 20, so that we can see all of our articles at once.
13:39So at last finally we've got all of our articles into the content management
13:44system, which is great.
13:45So finally, we can get to make some menu links and start to see what the content
13:49looks like on our web site.
Collapse this transcript
5. Creating Menus
Understanding and configuring menus
00:00Remember the CAM: Categories, Articles and Menus.
00:04In the beginning we created categories based on the site map that we have
00:08developed with the client.
00:09Then we created a bunch of articles in our last chapter. Every article is
00:14assigned to one category.
00:15We are ready to start creating menu items now that we have created all those articles.
00:19The menu items can consist of a wide variety of different things where the
00:24articles are concerned.
00:26We can now link directly to a single article or we can create a blog of articles
00:30or a list of articles and there's many, many other options as well.
00:34We are going to be covering all of these here in the coming chapter.
00:38First of all through we have to understand how menus work.
00:41All of the articles and components in Joomla must somehow be linked to a menu.
00:45Otherwise Joomla does not function properly.
00:49There are two areas in which Joomla's menus are divided in.
00:53First of all under the Menus option in the backend menu, there is Menu Manager
01:00and the Main Menu and under Extensions under the Module Manager there is a Menu
01:07module which controls where the menu displays on the web page.
01:10So under Menus, if I go to Main Menu, this is the Menu Item Manager. This is
01:16where I can add additional menu items to my web site and I can also specify which
01:23of these menu items is the homepage link.
01:26By default when you install Joomla, exactly one menu item is created for you that they
01:31linked to the homepage, which you see here.
01:34And you will also see that the homepage is marked as the homepage for the
01:38web site with the star and that also is reflected here in the Main Menu dropdown.
01:44So you know which one of the menus, if you have several menus for your web site, is
01:48containing the home menu item.
01:50The other item that exists here is in fact called the Menu Manager and you can
01:55get to it here from Menus > Menu Manager or you can click on the subnavigation here.
02:00Both of those take you to the same place.
02:03So this shows you what menus exist on the web site, so by default there is
02:07one menu, the main menu and it has one published item which is our homepage
02:12and there's no unpublished items and there's no items that are trash, as of
02:16this point in time.
02:17We will also see that they are in a Main Menu module that's linked to this menu.
02:23So this menu has a way of displaying on the web site.
02:26So remember that the menus item in Joomla is really all about organizing your menus,
02:31creating a menu, adding items to that menu, but the actual display of the
02:36menu is controlled over here under Extensions > Module Manager and by default
02:43with our Joomla installation there are four modules that come with Joomla 1.6.
02:47One of these is the Main Menu and modules display in positions on the web site
02:54and those positions are programmed into the template.
02:56I'll go through all of that in much more detail in a later video and this will
03:02control where exactly that menu will display on the web site.
03:06Right now our menu is displaying in something called the position-7, which
03:09happens to correspond to the left column of the web page.
03:13Your menus in Joomla work in two parts.
03:16One is the actual Menu Manager itself where you create your links and the
03:21module, which is where you display the links.
03:24The Menu module lives within the Module Manager under Extensions >
03:28Module Manager and the menus live under the Menus item in the Joomla
03:32backend navigation.
Collapse this transcript
Linking an article to the menu
00:00Creating a link to an article is very easy to do in Joomla.
00:04We are going to add a link to the main menu, which is a menu already created for
00:08us and which already contains the home item.
00:11So let's go to Menus > Main Menu > Add New Menu Item.
00:17The first thing I need to do on this screen is select by Menu Item Type.
00:21This is a required field.
00:22So I am going to click the Select button.
00:24What I am trying to do is link to my article, just one of them, and if I read
00:30through all of the possibilities here on this page, all of which are types of
00:34links that I can make at this point in time, I'm going to link to a Single
00:38Article over here under Articles.
00:40So I am going to click that and then I can enter the Menu Title.
00:45This is the clickable text that will appear in the menu and when I click on it,
00:49I am going to go to my page of interest.
00:52So my Menu Title is About and then over here on the right-hand side of the screen,
00:58I have a required setting to select an article, and if I click the
01:03Select button, I am going to find "The Story Behind Two Trees" and that is the
01:09place where I am linking this.
01:10Now, it's typically good form for your menu title and your article title to be
01:15more or less the same.
01:17So that you know when you click on About, that you are getting a page
01:20that's essentially about.
01:21In this case the article title and the menu title don't necessarily
01:25match exactly, but it is still relatively clear about what's going on with the web site.
01:31Sometimes you do need to shorten the menu titles, particularly if you're working
01:34in someplace like academia where you have some very long titles for papers and
01:38other kinds of things. Then it's very helpful to be able to shorten up your menus.
01:43So we've gone ahead and we've put in all of the required information, a Menu
01:47Item Type, our Menu Title.
01:49The Menu Location is Main Menu and that was set for us automatically and we've
01:53selected our article.
01:55Go ahead and click the Save button and then we'll flip to the front end of our
01:59web site and click Refresh and our About link will appear here in the Main Menu.
02:05When I click the About link, you'll see that we get our article,
02:09"The Story Behind Two Trees."
02:11I know that this has got a lot of stuff that probably annoys a lot of people,
02:15including the category at the top of the article and when it was published and
02:18the funny date format and that it was written by Super User and it's had one hit,
02:22but I am going to get to how to get rid of that information in another
02:27video, so just bear with me for the moment.
02:29We'll also see that we have our link to another article on the web site and we
02:35have our link to Animal Welfare, which goes to the World Wildlife Fund web site.
02:40So our article is looking absolutely terrific.
02:45We can go ahead and add one more link to this menu at the moment.
02:48I am going to go ahead and click Save & New to give me another window for
02:53adding another menu type.
02:55Once again I am going to click the Select button, click Single Article, and my
03:00Menu Title this time will be Shop.
03:04From my article on the side here, I am going to click the Select button and I am
03:09going to find the Shop article.
03:11So in this case my menu title and my article title are exactly the same.
03:15I am going to click Save & Close.
03:18And when I go back to the front end with the web site and refresh. I now also
03:21have a link for Shop.
03:23When I click that, I get my Shop web page.
03:27So as you see, it's very, very simple to link to a single article within
03:30your Joomla web site.
03:31Now that we've created links to individual articles, in my next video I am
03:36going to show you how to create subnavigation for the About page.
Collapse this transcript
Understanding parent and child menu items
00:00Parent and child are common terms used in programming, but typically designers
00:04don't quite understand what they mean.
00:07A parent menu item is an item that's further up in the menu hierarchy, such as a
00:12primary navigation item.
00:14A child is a link that lives under the parent like a secondary navigation item.
00:19Children can have more children of their own or they can stand alone.
00:23Let's take a look at how parents and children work inside of Joomla's menu structure.
00:28Under Menus, go to the Main Menu and we have three links located here:
00:33Home, About and Shop.
00:35We have some subnavigation associated with the Shop page.
00:39We have an Olive Oil page and we have a Skin Care page that we need to add.
00:43So let's go ahead and add those.
00:45To create a new link, all we need to do is click on the New button up here.
00:50For Menu Item Type, once again we're going to select a Single Article.
00:55For the Title, we're going to call this one Olive Oil and we'll select our
01:02article over here on the right side of the screen, which is our Olive Oil in the Shop category.
01:08Now further down the screen here, we have a question about a parent item.
01:14By default this is set to the Menu Item Root.
01:16If I was to click my Save button right now, Olive Oil would show up at the same
01:20level in the menu as Home, About, and Shop.
01:24I want Olive Oil to appear under the Shop menu.
01:28So instead of having Menu Item Root be my Parent Item, my Parent Item will
01:33become Shop, which I am going to select from the list.
01:37I am going to go ahead and click my Save button and then I am going to go to the
01:41front end of the web site and click Refresh.
01:43It appears that nothing has changed here on the front end of the web site.
01:47However, when I go down to my Shop link, underneath I have a secondary
01:52navigation item for Olive Oil.
01:54If I click that, you can see my Olive Oil article is displayed right here.
02:02So let's do that one more time.
02:04I am going to go ahead and click Save & New and I am going to create another
02:09link to another single article.
02:13This time this is for the Skin Care Products page.
02:18So that will be my menu title, Skin Care Products.
02:22My required article will be the Skin Care Products article, down here, which is
02:26in the Shop category and the parent item is still Shop.
02:32If I made my parent Olive Oil, I would see the Skin Care Products navigation
02:36item come up when I went to the Olive Oil page.
02:39What I want to have happen is when I go to the Shop page I see both Olive Oil
02:43and Skin Care Products.
02:45So I am going to take Shop again and I am going to go ahead and click Save & Close.
02:49When I go back to front end of my web site and I refresh, here is my Skin Care
02:54Products that appears underneath.
02:56When I click that, then you see that we have our Skin Care Products article
03:01available here as well.
03:03So now that we have the subnavigation in place for the Shop articles, let's go
03:07ahead and put in the subnavigation in place for the About articles.
03:10There are two articles that need to be linked to the About subnavigation:
03:15the History & Timeline article and the Our People article.
03:19I am going to go ahead and do that offline and you go ahead and do that offline
03:23as well in your own web site that you're building.
Collapse this transcript
Configuring category blogs
00:00Now that we've hooked up a few articles to our web site, what if we want a bunch
00:04of articles on one page as in a press release?
00:08I showed you the Read More feature in an article in an earlier video.
00:12Now we want to make a list of short blurbs plus Read More links for the web site.
00:17This is called a blog in Joomla.
00:19That refers to the formatting though, more than the functionality.
00:23It's not a blog in the sense of writing a daily entry as you might
00:26typically think of a blog.
00:27So you create a blog in Joomla, we are going to go to Menus > Main Menu and I am
00:34going to go ahead and add a new menu item by clicking the New button and I am
00:39going to click my Select button for the Menu Item Type.
00:42This time I'm interested in a blog of a bunch of news articles.
00:47So I am going to click on Category blog and I am going to give this a menu
00:52title of News and then over here on the right side of this screen, I am going to
00:57be asked to choose a Category.
00:59In this case, I'm going to pick the News category, which is where we put in all
01:04of our press releases for the web site.
01:06I am going to go ahead and click the Save button and when I go back to the
01:11front end of the web site, back to the homepage, we'll see that the News link
01:15comes up here in the Main Menu and when I click that, we have a series of
01:20articles on this page.
01:22So you see that we have "Two Trees Olive Oil Builds a New Production Facility to
01:26House the Skin Care Product Line," the title, as well as the Read more underneath
01:32and then in two columns under that, we have our two articles that are
01:36additionally about the news.
01:38If I click on the Read More link, this goes to a page with the full article.
01:43Now once again you're probably really not happy with the way that this is
01:47formatted at this particular point in time, but I wanted show you exactly
01:51how to make a category blog first and we're going to take a look at the
01:55formatting in just a minute.
01:57So I am going to go back to the back end of my web site and I am going to go
02:01ahead and hit Save & Close, and now when I am taking a look at my list of links
02:06in my menu, you might have noticed that the News item was added to the end of
02:11the menu, and in fact in our site map the News article appears before Shop.
02:16So I need to reorder these links somehow.
02:19One of the ways that we can do that is with these little blue up and down arrows.
02:23If I click the little arrow at News, this will bump me up one level in the menu hierarchy.
02:29So I show up above the Shop link.
02:32The alternative here, if I had many things to reorder, is I could type in a
02:37bunch of numbers into the boxes here and then click the Save button.
02:41The difference between the arrows and the boxes is this.
02:44Every time I click an arrow, the page reloads because I've reordered one item,
02:50but if I type numbers into the boxes, I'd have to type in all of the numbers
02:54first and then I click the Save icon up here.
02:58It's this little thing that looks like a floppy disk and then the
03:01reordering happens.
03:03Some people expect the reordering to happen right away.
03:05So I wanted to be sure to point that out to you.
03:08So that's a category blog in its most basic form.
03:11That's what you get if you just do the most minimal amount of configuration.
03:16In my next video I am going to talk quite a bit about the formatting of a category blog.
Collapse this transcript
Advanced category blog configuration
00:00We've created our basic category blog and now it's time to make it look just
00:05a little bit better.
00:06Did you like the layout?
00:08Do you wish you could change it?
00:09You can, using advanced options within the menu item for this
00:14particular web page.
00:16You can also change this in the Article Options off of the Article Manager.
00:21In order to understand what's available for you to change, you need to
00:25understand how Joomla articles are laid out by default within the blog layout.
00:31Think of a grid with one article at the very top of the grid spanning two
00:35columns and in those two columns underneath you see four articles and underneath
00:40the four articles, you see bullets for individual article links.
00:45The article at the very top of the screen that spans the two columns is called
00:49the leading article.
00:50The individual articles, which there are four, where you can see the
00:54introductory text and the Read More links.
00:57are called the intro articles.
00:59The number of columns is the number of columns in which those intro articles
01:03display, and finally at the bottom you'll have a list of links and there are
01:08four of these by default and that is controlled by something called links.
01:13Once you have this picture in your head, configuring a category blog becomes a bit easier.
01:19So I am going to switch back to the backend of Joomla now and I am going to
01:23mention that there are two places to change the configuration of your category block.
01:30And this has to deal with hierarchies in option settings in Joomla.
01:34If you think of cascading style sheets for just a moment, you know that if you
01:38set up a style in an external style sheet, that style is overridden by a style
01:44that might appear in the head of the document.
01:46They might be exactly the same selector in that style, but they are overridden
01:52and if you have an inline style that overrides anything that you have in the
01:56head of the document or in an external style sheet.
01:59Likewise in Joomla we have a series of article options and menu options and so
02:05forth, and they have a system for doing overrides as well.
02:09So ideally what you want to try to do is set up your options at the lowest level
02:13possible and then you use other areas of the web site for overriding those
02:18options as required.
02:20The lowest level for setting up the options in Joomla is within your Article Manager.
02:25So if I go to the Article Manager and I go to the Options button over here on
02:30the right hand side of the screen, we were in here a little bit earlier making
02:34changes to the text filters.
02:37Now we're interested in working with our blog layouts.
02:41So if I go to the Blog/Featured Layouts tab, you will see the four things that
02:46I just talked about.
02:47The number of Leading Articles, the number of Introductory Articles, the number
02:51of Columns and the number of Links, and whether the multi-columns, the articles
02:56should go down first in the left column and then in the right column, or whether
03:00our articles should be ordered going across the page.
03:04What I am going to do is change these numbers, so that we have zero Leading
03:08Articles, and for our Introductory Articles, I am going to set that up to be 10.
03:12I am going to put them in a single column and I'll include 10 links at
03:21the bottom of the page.
03:22What this will do is by default when I create any category blogs on this
03:27web site, it will use this particular layout and that will apply to both category
03:32blogs and to, believe it or not, the homepage and the way the featured articles
03:37are set up-- unless that's been overridden somewhere else along the way.
03:42So if I go ahead and click Save & Close and return to the front end of the
03:46web site and hit Refresh, you will now see that my layout of these articles has changed.
03:52They now span entirely across the page and you can see that we have a
03:57title followed by a Read More link and they all look exactly the same in
04:01terms of their importance.
04:03One of things you might notice at the bottom of the page is that we have this
04:06listing called Subcategories and the Media category.
04:10That's because we could then click on the Media category.
04:14It has no articles, so we see additional subcategories and we can keep
04:19navigating through the site in this way, to our video article for example.
04:25But we are actually going to repeat this navigation for the video and the photos
04:31directly under the News link so that you don't have to jump through that Media
04:35category in order to get there.
04:37So what I'd like to do is I'd like to get rid of this Subcategories item at the
04:41bottom of the web page.
04:42In order to do that, back in the backend of Joomla once again, back in
04:46the Article Options.
04:48Under this Category tab we have an option at the bottom for Subcategory Levels.
04:53Right now we have that set to one.
04:55If we change that to None, and I am going to click my Save button, I'll go back
05:00to the front end of the site and refresh and we've gotten rid of the subcategory
05:06links down at the bottom of this particular page, which is great.
05:10Now the changes that I've made so far have been here in the Article Manager and
05:16again, these are global settings for all category blogs on the web site, and now
05:22in fact for all categories as well.
05:25If I click Save & Close, I am going to go and take a look at my menu item as
05:30well and I go down to my News link, and in here you'll notice under the Blog
05:36Layout Options, we have exactly the same options that we just saw in the
05:41Article Options screen.
05:44We set up our default options for the entire web site under the Article Options,
05:49but if for some reason I wanted the News to look slightly different, I can
05:54override those settings right here within the Blog Layout Options.
05:59So between the Leading Articles, the Intro Articles and the Columns and Links.
06:03Right now if the fields are left blank, they're using those global settings.
06:07If I fill in these blanks, it'll use these numbers instead of my global settings.
06:13There are other items of interest here inside of our menu item.
06:16For example, there is a Metadata option and we can fill in a meta
06:22description and meta keywords.
06:24This would apply to the top-level page for our blog and it could also apply
06:29to the individual articles within the blog, unless we overrode those
06:33particular pages by setting the meta description and meta keywords within
06:38individual articles.
06:41There are many, many settings that are available to you here inside of each menu item,
06:46and the best way to figure them out is to go through and click one item at
06:50a time, apply it to your web site, and see how the page has changed.
06:55That will give you a good sense of what each one of these items does.
06:59I've showed you the major ways that you can change the look of your category
07:03blog on the web site, and you can dig in here and try any of these other options
07:09to see what effect that they have on your category blog.
Collapse this transcript
Configuring category lists
00:00A category list is a list of articles from a given category. Sounds just like it says.
00:06Let's go ahead and create a category list for the Our Process portion of the web site.
00:11What we'd like to do is have a page,
00:13when we click on our process, we see the titles of all of the articles within
00:17that particular category, like the Growing, Bottling, Tasting and so forth.
00:22So to create this link on our menu, we're going to go to Menus > Main Menu.
00:27I am going to click the New button to make a new menu item.
00:30I am going to select a Menu Item Type, under Articles, the Category List, and
00:37the title for this will be Our Process and that is going to be located under the
00:43About section of the web site.
00:45For our Category, we'll choose the Our Process category.
00:48I am going to go ahead and save those changes right now.
00:53When I refresh the front end of the web site, we won't see any change because
00:57that was a secondary navigation item that I added.
01:00I'll click on About and you'll see the link down here for Our Process.
01:04I am going to go ahead and click on that and we'll see that we have a series of
01:10articles that are listed here.
01:11Growing, Picking, Extracting, Bottling and Tasting.
01:14Unfortunately, they are listed in the wrong order.
01:17I don't really need the column that says that they're written by Super User and
01:21I don't really need the Hits either and I don't need the Display# up in the
01:25upper right-hand corner of this.
01:27So there's plenty of formatting that we really need to do as concerns to this web page.
01:33However, this is the way that you create a category list within our Joomla layout
01:38and then in the next video I'll show you how to format it.
Collapse this transcript
Advanced category list configuration
00:00In our previous video we create a category list for the Our Process section of
00:05the web site, but it has several problems.
00:07First of all, the articles aren't in the right order and second of all, this
00:11page is really pretty ugly.
00:13So let's take a look and see if there's anything we can do to improve the
00:17look of this web page.
00:19Just as we saw with the category blog, we're going to need to configure some of
00:24our article options in order to make this category list work correctly.
00:28So I'm going to go to my back end of Joomla. I'm going to go to the Content >
00:32Article Manager and in the upper right- hand corner is the Options button, which
00:36I'll click, and under Choose a layout, I'm going to choose the List Layout and
00:43then I'm going to make some changes to some of the parameters below for how
00:47things should display.
00:48So first of all the category title I'd like that to display. In the front end of
00:54the web site right now this is the Our Process page, but you wouldn't necessarily
00:58know that, because there's no title at the top of the screen.
01:00So I'm going to go ahead and show my category title.
01:05We could show a category description and image if we wished, but I don't have
01:08that right now, and we're not going to showing any empty categories or
01:12subcategory descriptions or how many articles are in each category.
01:16So let's make that change and I will click Save and I'll refresh the front end
01:22of the web site and now at least we have a title at the top that says Our Process.
01:27The next thing I'm going to do in the back end of the Joomla is to go to the
01:30List Layout tab and I'm going to make some changes here as well.
01:37The Display Select refers to the Display dropdown in the upper right-hand
01:42corner of these articles. Because I only have five articles and I'm never going
01:46to have any more than five articles, I'm just going to hide this display
01:50altogether, so I'm going to set Display Select to Hide.
01:55The Filter Field gives me the option of whether I want the ability to sort my
02:01list of articles via the headings, and I don't want to that either so I'm going
02:06to leave that set to Hide.
02:08The Table Headings are currently set to Show. Ultimately what I'm going to come
02:12down to is just a list of the articles.
02:14So I don't think I really need this title bar going across the top here either.
02:18So I'm going to go ahead and hide that.
02:21I don't need the date shown.
02:22So I'm hiding that and I don't want to show the hits or the author in the list.
02:27So I'm going to go ahead and hit the Save button and refresh the front end of
02:32the web site and that's definitely improved the look of this particular web page.
02:37So now I can see my list of articles. They are still in the around the order,
02:42but at least we has some of that extraneous stuff around them all cleaned up.
02:46We'll go ahead and hit the Save & Close button here for our Article Options and
02:51now I'm going to go to my menu item for my list layout. So I'm going to Menus >
02:56Main Menu and I'm going to go to the Our Process link, click on that, and we have
03:02some additional option over on the right hand side of the screen that will help
03:06us reorder those particular links in the lists.
03:10So under List Layouts, there is an option at the bottom for Article Order and
03:16right now it set to Use Global. Let's go ahead and put that in order so that is
03:21actually displaying the oldest first.
03:23The reason why I'm picking Oldest first is because I entered these articles
03:27in the correct order and so the first article I want to show up is the first
03:31one that I entered.
03:32In other words, it's the oldest.
03:33So I'm going to go ahead and hit the Save button to save my changes and refresh
03:39the front end of the web site, and all of my articles are now ordered in the correct order,
03:45Growing, Picking, Extracting, Bottling and Tasting and when I click on these articles,
03:51I go into my article for Growing and all of the information there is exactly the
03:56information that I need to have here.
03:58Once again I hear you saying you want the category, the publish, the written by
04:03and hits to go away at the top.
04:04I couldn't agree with you more. !e're getting there very, very soon.
04:08So this page is still looking a little bit empty and the purpose of having in
04:12Our Process page is to invite people to come visit the olive oil orchard, and
04:18visit the olive trees to have a tour for how the things are made, or they can
04:23read about how things are made online.
04:25So what I like to do now is I'd like to add a some introductory text in
04:29between the words Our Process and the list of articles here and in my Exercise Files
04:35I have this introductory paragraph right here, which I'm going to
04:39highlight and click Edit > Copy.
04:41Then I'm going to go back to back end of the Joomla and I'm going to go to
04:46Content > Category Manager and in the Our Process category, I'm going to click
04:52on that and you've probably seen this box down here for description, but we
04:58haven't used it yet.
04:59One of things that we can do is if we need to have a paragraph of text on top
05:03of a blog or on top of the list, you can use the category description to fill
05:09that role very nicely.
05:10So what I'm going to do is Ctrl+V or Command+V to paste my text into that
05:16particular spot and I'll save my category.
05:21Then I'd like to have that introductory text appear in my category list.
05:25So while I'm here in the Article Manager, I'm going to go to Options and I'm
05:30going to go to Category and in my Category List Layout I'm going to have the
05:36description show. Go ahead and click Save & Close and now when I go back to the
05:42front end of my web site and I click Refresh, I have my introductory text at the
05:46top of the screen, which is nice, because it helps to orient what's going on
05:50with the links underneath.
05:53So this page already looks a lot stronger than when we started without the title
05:57and with all those headings and the authors and the hits. This is a much more
06:01interesting and useful page to the web site now that we're done with it.
Collapse this transcript
Comparing page headings, article titles, and browser page titles
00:00Joomla's titles can be more than a little confusing.
00:04We need to talk about three kinds of titles in this video:
00:08page headings, article titles, and browser HTML titles.
00:14And it's very, very confusing, the differences between this.
00:17The best way I found to explain the various kinds of titles in Joomla is
00:21the following process.
00:22So I am going to start by making a test article in my Article Manager.
00:27Click the New button to make a new article, and for the Title, I am going to
00:31type in Article Title.
00:34I am going to leave the Category set to Uncategorised and I am going to put in
00:39some text. "This is the article text."
00:46And I am going to go ahead and Save & Close this article.
00:48Now that I've created this article, I am going to link it to a menu by going
00:53to Menus > Main Menu and I am going to make a new menu item by clicking on my New button.
00:58I am going to select a Single Article. Click on that.
01:04For my Menu Title, I am going to put in the words Menu Title.
01:09I'll go ahead and select my article from the list, which is Article Title, and
01:14then down here under Page Display Options, there are options for a Browser Page Title,
01:21whether or not it should show a page heading, and a Page Class.
01:25So one at a time, the Browser Page Title, if I look at the front end of a
01:30web site, I'm looking at my Growing article, and the title of this article is Growing.
01:36By default what Joomla has been told to do was to take the name of our web site
01:41Two Trees Olive Oil, add a dash and then put the article title directly
01:46after that, Growing.
01:49If I wanted to override that automatically generated browser HTML page title,
01:55I could type in something else here.
01:57So I am going to type in the words "Browser Page Title."
02:03I could also have a heading on the page, which seems confusing, because right
02:07now for any given article, Growing in this case, is the article title.
02:13There is no page heading displayed on this page.
02:17But I am going to go ahead and show a page heading on our test article anyway,
02:21and I am going to call the page heading Page Heading.
02:25The page class has to do with specific CSS styling to this page and that's
02:30something that is beyond the scope of our Joomla Essentials course.
02:34Look for more information about page classes in the Joomla Templates course.
02:39So let's go ahead and hit Save & Close and we'll refresh the front end of the web site.
02:44So down here we now have a link called Menu Title.
02:49Remember that is the words that we entered to link our test article to the web site.
02:54So you can see where the menu title displays.
02:57It's right here in the menu, as you would expect.
03:00When you click at it, you get a web page that has a page heading, which is
03:05displaying over top of the article title, at least in this particular template.
03:11Then we have our article text displayed here along with this other information.
03:14I know you really want to get rid of it. We will very soon.
03:17Back up at the very top of the web page,
03:20note that we have "Two Trees Olive Oil" still in place, which of course is the
03:25title for the whole web site.
03:27But instead of displaying article title, which is what would normally happen,
03:31we've overridden that by putting in a browser page title into our menu item in the configuration.
03:39Now this is a wonderful feature, because it might be that your article title may
03:45not be all that keyword rich.
03:47But HTML page titles, like the one that I am pointing to right now, are
03:53very important in search engine optimization, and they're valued highly by
03:57search engine spiders.
03:58So you want to be sure to put lots of keywords in your browser page title.
04:03In Joomla 1.5, there was no way to override what that browser page title was.
04:08So this is a tremendous improvement to search engine optimization that's
04:12available here in Joomla 1.6.
04:15At this point I am going to go back to my backend of Joomla and I am going to
04:19delete my Menu Title article by putting a checkmark next to it and clicking the Trash button.
04:27Remember that if you leave your article, even though you've deleted your menu item,
04:32if you ever add a search box, it's possible that the other article even
04:36though it has no link to the web site, may show up in your search results.
04:40So I am going to go back to my Article Manager and I am also going to delete
04:45that little test article that I made here by sending it to the trash.
Collapse this transcript
Configuring submenus
00:00You already have one menu displaying on your site, the main menu, which was
00:05created when we installed Joomla. It's displaying via a module, which was also
00:10created at the same time when we installed Joomla.
00:14Right now that module is set up to show all of the navigation on the web site,
00:19and as I navigate through the site, if I'm in the About section for example,
00:24it shows me the subnavigation for that.
00:26If I'm in the Shop portion of the site, it shows me the subnavigation for that.
00:31And if I'm in News, there is no subnavigation yet.
00:34So it's showing me what's going on right here on the screen.
00:38And it's all integrated into a single menu.
00:40What would happen if I wanted the main menu to go say horizontally across the page
00:46and just feature the top level navigation items and then I wanted to have
00:51the subnavigation appear on the left column, on an as-needed basis if the
00:56subnavigation was present?
00:58Fortunately, that's relatively easy to set up here in Joomla. The first thing I
01:02need to know is where exactly are all of the module positions for this
01:08particular template?
01:10In order to do that, in the backend of Joomla I'm going to get into Extensions >
01:15Template Manager and I'm going to go to the Options up here.
01:20In the Options there is this little known feature called Preview Module Positions.
01:25It's currently disabled.
01:26Enable it for your web site and click Save & Close.
01:30Now when I go back to the front end of Joomla, say to the homepage, right after
01:35the web site address, put in ?tp, as in template, equals 1, and hit your Enter key.
01:47This will show you an outline of where all of the positions are available within
01:52your Joomla template.
01:53So we can see that we can put a menu at the very top of the page in position-0
01:59and position-7 is where our current navigation is located.
02:04We have other positions available to us here on the page as well, including some
02:08down here at the bottom of the page, as well as some in the right column, which
02:12we're not using here on the homepage.
02:15So what I need to do now is I need to make a module for just the top level
02:19navigation and have that display in position-0 and then make a module for the
02:25left navigation, which will be the secondary navigation and have that appear in position-7.
02:30So I am going to hop back into the backend of Joomla and I'm going to go to
02:35Extensions > Module Manager, and we'll see that we have several modules
02:41available to us here on the web site, and of course we could create more by
02:44clicking the New button.
02:45What I am going to do though is I am going to put a checkmark next to Main Menu
02:50and I am going to click the Duplicate button up here in the right corner.
02:54This is going to give me two modules.
02:56One called Main Menu and one called Main Menu (2).
02:59I am going to go into the first one called Main Menu and I am going to set this,
03:05first of all, to turn off the title that says Main Menu.
03:09By default Joomla displays the words Main Menu over its navigation and I think
03:13this is a very amateur sort of error.
03:16Anyone who surfs the web for more than five minutes knows what a navigation bar
03:20looks like and we don't really need to have Main Menu showing up on our web site.
03:24So I am going to go ahead and hide that.
03:27For our Position, this is just going to be our top-level navigation.
03:32Next, we need to change the position for where this module is displaying.
03:36It's currently displayed in position- 7, which we determined was the left
03:40column for the web page.
03:41We want this to display in position-0, which goes across the top of the page.
03:46So I am going to click the Select position box. And this is very different than Joomla 1.5.
03:52We now have a light box that comes up that shows all of the positions and all of
03:57the templates that are currently installed for this web site.
04:00So I am going to scroll down to position-0 here and it tells me position-0
04:04exists both in beez5 and in beez_20.
04:08And it's normally where the search is located.
04:10But we are going to put our navigation there.
04:12So go ahead and click that to change the position.
04:15Now over on the right-hand side of the screen we have some different ways of
04:20selecting the starting point and the ending point in Joomla 1.6, and this is
04:24pretty different than the way this was handled in Joomla 1.5.
04:29So first of all, our starting level for our navigation is currently set to 1.
04:33This is a great improvement, because most people start counting with the number 1,
04:371, 2, 3, 4, instead of counting in engineer speak, which means you start with 0, 0, 1, 2, 3, 4.
04:44Previously in Joomla 1.5, if we wanted to start with our top level navigation,
04:48we would have to put in 0, but in Joomla 1.6, we're going to put in the number 1
04:53as our starting level.
04:55And our ending level will also be Level 1.
05:00In other words, we want to show just the top level of navigation in
05:04this particular module.
05:06This is also very different than Joomla 1.5, where we would have set an ending
05:10level of 2 or 1 in this particular case.
05:14Once you have that set up, go ahead and click the Save button, and we go back to
05:18the front end of the web site and click Refresh.
05:20And our main navigation has moved up to the top of the web page, which is great.
05:27And you see that we are in the Shop section of the web site and we don't see any
05:30of the secondary navigation normally associated with this.
05:34Likewise, the About link doesn't show its subnavigation either.
05:38Not on the very top of the web site.
05:40The next thing we need to configure is the module that displays over here in the
05:44left column, which right now is showing the full navigation for the web site,
05:49the primary and the secondary navigation.
05:51What we would like to change that to do now is to show just the
05:55secondary navigation.
05:56So to do that, we will go back to the backend of Joomla and we'll click Save &
06:00Close to leave the screen and now I am going to click on Main Menu (2).
06:06The first thing I am going to do is change this to subnavigation, so I know what
06:12this module is doing.
06:14And for Show Title, I am going to set that to Hide because I don't want
06:18subnavigation to show up on top of my subnavigation.
06:21We don't need to change the Position, because it's already in the correct
06:25position for the web page.
06:27Now over on the right side of the screen what we want to do is show our
06:30secondary navigation and any additional navigation beyond that.
06:34So I am going to set my Start Level to 2 and my End Level I am going to leave set to All.
06:40So any additional navigation for the web site, like a third or fourth or fifth level,
06:45will also display over in this module on the left side of the screen.
06:50Go ahead and click Save & Close, and when we go back to the front end of the
06:54web site and we refresh, and I am here on the About page, we see that the About page
06:59is selected in the primary navigation and we have just our secondary
07:03navigation listed on the left side of this page.
07:06If I go to News, where I haven't configured any subnavigation yet, the module
07:11doesn't display in the left column of this page at all.
07:14All I see is the Login Form, which is displaying on every page of the web site.
07:19Using these modules in the correct way to show parts of your navigation is the
07:24best way to configure your menus for the web site.
07:28One common mistake that beginners make is thinking that, because I have Home,
07:33About, News, and Shop in one position in my template, and History & Timeline,
07:38Our People, and Our Process in another position, then we need to create separate
07:42menus for all of these things.
07:44If you do that, which you can most certainly, what will happen is anytime
07:49you refer to these breadcrumbs, this "You are here, Home, About," that will be completely wrong.
07:55If I go to my History & Timeline page, you see that it says that I'm here.
08:00I went from the homepage, I went to About, and then History & Timeline.
08:04If I had made my subnavigation as its own standalone menu, that breadcrumb would
08:08have been Home, History & Timeline.
08:11It wouldn't catch the association with the About portion of the web page.
08:16So configuring your menus correctly is very important and it's a very common
08:20mistake that's made.
08:21So I hope his video has helped you understand the correct way to configure your submenus.
Collapse this transcript
Creating a new menu and displaying it on the site
00:00Most sites have a main menu and a footer menu or some sort of additional
00:04navigation on the web site.
00:07An additional menu does not mean sub-navigation.
00:11Remember, for sub-navigation you can use a module to display a portion of that
00:15menu elsewhere on the web site.
00:18If you do create separate menus for your sub-navigation, you're going to break
00:23breadcrumbs and you're going to have just so many menus on your web site that
00:26you'll get all confused about what lives where.
00:29So you don't need to do that.
00:31But if you are going to set up a footer for your web site and that footer is
00:35going to contain content that's different than in the rest of the web site, then
00:39it makes sense to create a menu.
00:41Of course, before we start working with our menus we need to have some content.
00:45So I am going to add a privacy policy to our web site and then we'll link it up to our menu.
00:50To put our privacy policy we're going to start with the Article Manager and
00:54we're going to click on the New button and we're going to enter our title,
00:57which is Privacy Policy.
00:59I am going to leave it on the Uncategorised category for the moment and
01:03scrolling down to the Article Text, which is available in your Exercise Files.
01:08It's just some Lorem ipsum.
01:09We'll say Edit > Copy and then I am going to go to Command+V or Ctrl+V to paste
01:18that text into our editing box.
01:20If you're wondering what those red squiggles are,
01:22Firefox is very helpfully spellchecking Lorem ipsum for me and finding
01:27it somewhat wanting.
01:29We'll go ahead and Save & Close this particular article.
01:33And now we're ready to create our new menu.
01:35So to create menus, we're going to go to our Menus link and we're going to go to
01:40Menu Manager > Add New Menu.
01:44For our Title, we'll call it footer menu, and for our Menu Type I am going to
01:50type the same thing again with no spaces.
01:53This will become a variable that will connect our menus under the Menus option
01:59in the backend of Joomla with the modules that are displaying the content.
02:03So I am going to call this footermenu, all one word.
02:06There's an optional description if you wish to put in what this menu is.
02:10So "Displays at the bottom of the web page," for example.
02:15Go ahead and click Save & Close and you now have a new footer menu here at
02:21the bottom of the page.
02:22If you click on the title, this will take you to the Menu Item Manager for the footer menu.
02:29And to create a new menu item for this screen, we're going to go ahead and
02:33click the New button.
02:35As always, it'll ask us which Menu Item Type we need to select.
02:39So we'll select our Single Article from the list.
02:42And for our Menu Title, we'll call this Our Privacy Policy.
02:48Scrolling down just a little bit further, something we haven't looked at in
02:52detail is the Menu Location.
02:55This is a bug in Joomla 1.6.
02:57When I go from the footer menu and click on the New button, I should be by
03:03default putting that new menu item into the footer menu.
03:07Unfortunately, right now, any time you add a new menu item to the web site, it's
03:12going to the main menu by default.
03:14You need to make sure that you change this to the footer menu
03:19so that we know that it's going to show up in the correct menu.
03:23If you forget to make this change, your Privacy Policy link will show up on the
03:27main menu and not on the footer menu.
03:29So make sure you change that.
03:30Now we're going to look at the right side of the screen and select our article
03:34from the list, which is the Privacy Policy.
03:36And we'll go ahead and click Save & Close.
03:39And now you see that we have our menu item showing up here in our footer menu.
03:44So we've got this and if I refresh the web site, I don't see the footer anywhere.
03:50That's because we need to now go create a module to display the footer menu.
03:55So I am going to go back into Joomla, I am going to go to Extensions > Module
03:59Manager, and you see the modules that we have now. What I need to do is create
04:04new module by clicking on the New button.
04:06And I am going to select Menu from the list of these items.
04:09I am going to type in my title, which is the title for the module, which is footer menu.
04:15But I am not going to show this on the web page.
04:17I am going to set that to Hide.
04:19For my position, I am going to choose position-14, which is Footer last.
04:28And then over on the right side of the screen I am going to make sure that I've
04:31chosen the footer menu that we start at Level 1 and we display all levels.
04:35It doesn't really matter.
04:36I could change that to End Level 1 if I wanted to.
04:40There's only one link on this menu so the Start and End Levels are
04:43somewhat irrelevant.
04:44You can change them if you wish.
04:47By default, my menu is set to display on all pages of the web site down here
04:52under the Menu Assignment, which is exactly what I want.
04:55But I could change this if I wish.
04:58So I am going to go ahead and click on Save & Close.
05:01And I am going to go back it the front end of the web site and refresh.
05:05And now down here in the footer, you'll see that we have a link, although it's
05:08not displaying very well, that's going to our Privacy Policy.
05:12This might not be the best position for this link because it's really unreadable.
05:17So I am going to go back again and change my footer menu position from
05:22position-14 to position number 11.
05:28I'll go ahead and click the Save button and we'll refresh the page.
05:32And that looks a little bit better.
05:33Now I have a link over here on the side that says Our Privacy Policy and when I
05:37click that, I'll go to a page that shows the privacy policy for the web site.
Collapse this transcript
6. Setting Display Options
Setting global configuration options for articles
00:00Finally, the movie you've all been waiting for.
00:03Let's talk about article options.
00:06That's this right here at the top of the article.
00:09It's located on every single page of this web site and it's a list of the
00:13category, a publish date, and a written by, and the hits.
00:17One of the most powerful though occasionally confusing aspects of Joomla is
00:22setting whether an option appears in an article or not.
00:25An option was previously called a parameter in Joomla 1.5.
00:31It's these little bits of optional information that are displayed with your
00:34article, things like hits, the author name, how the read more link looks, and how
00:38it's styled, and so forth.
00:40Options can be set in three different places in Joomla.
00:44There are global article options, there are article options available via the
00:48individual menu items, and then there are article options available within
00:52the article itself.
00:54Global article options are the most general options available.
00:58They are located in the Article Manager and we took a look at them in the last video.
01:02I am going to take a look at those right now once more.
01:06So I'm going to hop into the backend of Joomla and I'm going to go to the
01:09Article Manager and over here in the right corner is this item called Options.
01:15When I click on that there are several tabs going across the top of the page.
01:20This is where we can control globally whether certain items display on the web site.
01:27So right now I'm in the Articles tab and we have certain things that are set to show or hide.
01:32So for example, we're showing the title of the article. That's probably a good thing.
01:37Otherwise we wouldn't know where we are.
01:38Those titles are links so you can click on them and go somewhere, but for
01:43individual articles that are hooked directly to the menu when you click those
01:46links in the titles it just reloads the page.
01:50Since we have a lot of those, I am going to turn that off.
01:53We are showing the intro text for articles, so that's a good thing.
01:58Otherwise, we wouldn't have much on the news page.
02:00But we don't really want to show the category and we certainly don't want
02:04that category linking to a page that would show us other articles within that category.
02:09We're not showing the parent category for the information or linking to it either.
02:15We don't want to show the author.
02:17We don't want to show the publish date.
02:18The navigation is in the bottom of the article.
02:22There is these links that you see occasionally.
02:25Some say Previous on some pages, some say just Next over here on the right side
02:29on some pages, and some articles have both of these.
02:33So I'm going to go ahead and hide that, because I don't think that's helpful to
02:37this web site either.
02:39I am showing a Read more link.
02:41Now what's different here in Joomla 1.6 is the way Read mores gets treated.
02:46If you take a look at the News page you'll see that we have our title of the
02:53article here and then we have our introductory text and then it says "Read more:
02:58Two Trees Olive Oil Builds New Production Facility to House Skin Care Product Line."
03:02In other words, Read more followed by the title of the article again.
03:06Now there are some very important reasons for doing a very long Read more link this.
03:11First of all, if you are using a screen reader or you have accessibility
03:17considerations, a page that has 20 different links on it that say Read more but
03:21have no clue where they go, makes navigating a web page kind of difficult.
03:26So when you attach the title to the Read more link this does help with
03:30accessibility considerations.
03:32The other reason to include the title of the article in the Read more link has
03:36to do with search engine optimization.
03:38Search engine spiders view a page with 20 Read mores the same way someone with
03:44a screen reader does.
03:45In other words, there is 20 links that say Read more with no information about
03:49where that particular link is going.
03:51So having the title of the article as part of the Read more link can really help
03:55with search engine optimization and accessibility.
03:58The downside is when you have very long titles like the ones we have on this page,
04:02your Read more link is correspondingly quite long.
04:06So it's depends on what you think is best.
04:09If you want this title to go away at the end of your Read more link, you
04:13would turn that off here.
04:15You would leave on Read more, which we definitely want to keep, but if we turned
04:19off title with Read more and we said Hide--
04:22I'm going to go ahead and click Save just to apply the changes we have so far.
04:27When I refresh this page you'll see that we now just have the Read more
04:31link here on the page.
04:32Then there is one other setting that's of interest that pertains to those Read more links.
04:37This Read More Limit sets the number of characters in the article title to show
04:41in the Read more button.
04:42So perhaps we want to show our Read more links, but maybe we only want to
04:46show say 50 characters.
04:48That will-- once I click the Save button up here to apply my changes-- when I
04:55refresh this again we now have at least a shorter Read more link.
04:59So it's kind of a nice compromise between having titles that are too long, but
05:03yet wanting to get some search engine benefit and accessibility benefit out of
05:07those Read more links.
05:09So that's what those particular things do.
05:10You'll notice we also applied the other changes we'd made earlier in terms of
05:15getting rid of the category, and the author, and the publish date, but we
05:20haven't gotten rid of the hits yet.
05:21So let's keep going here in our article parameters.
05:27So, the last portion of the screen pertains to the icons that you see here in
05:32the corner for these particular articles.
05:35In Joomla 1.5 there were three of these icons.
05:38We also had an icon to turn the article into a PDF.
05:42Unfortunately, that has been dropped in 1.6.
05:46I believe that the code for that particular functionality was very, very old and
05:49so Joomla decided to leave it out of Joomla 1.6.
05:53Personally, I had never used that PDF functionality on my web pages, because I
05:59never saw any reason that anyone would want to take an existing web page article
06:03and turn it into a PDF.
06:04You can show these icons for the print and the email, and that is a
06:08printer-friendly version that would come up when you click on the printer icon,
06:12or an email it to a friend that would come up when you click on the email icon.
06:17If you say hide the icons, but you leave Show Print and Show Email set on,
06:23I'm going to go ahead and save one more time and I refresh this page, you'll see
06:28that we actually now have the words Print and Email.
06:30So if you prefer text, you set your Show Icons to Hide, but Show Print Icon
06:38and Email Icon actually makes text appear.
06:41Not the best user interface in the world, but that's the way it works.
06:45If you want those icons gone altogether and you don't want the text either,
06:48you'll need to set all of these to Hide.
06:51Then finally here is that Show Hits. Hurray!
06:53We'll go ahead and hide that as well.
06:55The last item refers to Show Unauthorized Links.
06:59What that means is if you are showing links to a portion of the web site that
07:04you have to be logged into see.
07:06So in other words, the links would show up on the web page, but if you
07:10clicked on them, you would get a message saying you were unauthorized to see
07:13that particular article.
07:15That's a nice thing if you're trying to sell subscriptions for your web site.
07:18So you'd show the breadth of the content that you were offering, but when people
07:22click through, they would not get the full text of the article.
07:27In general, I think showing unauthorized links is a bad idea, because people
07:31click on the links expecting something and then just get a message saying that
07:34they can't see it anyway unless they have some kind of login.
07:37So I will go ahead and leave that set to no.
07:41Scroll back up onto the top of the page and I'm going to go ahead and click Save.
07:45There are a huge number of other options that are in here.
07:48We've already gone through the list layouts in an earlier video and we went
07:52through the blog layouts in another video.
07:53We've also touched on the categories here in terms of the how the categories
07:58display, Category singular, Categories plural. We've gone through a number of these before.
08:04In terms of Integration this has to do with whether some kind of link will show
08:08up for an RSS feed, if you wish to have an RSS feed for your blog or your list
08:14of articles going off of the web site.
08:15So you can show that feed link and you can control whether you're going to
08:19syndicate the intro text or the full text of the article.
08:22Finally, we had gone though text filters in a much earlier video.
08:26This has to do with the blacklisting and white listing and who is allowed to
08:30enter what type of HTML into various articles.
08:34The Permissions tab has to do with ACL and it's relatively complicated.
08:37I'm going to cover that in a later video.
08:39So that's our global article manager options for our web site.
08:45In the next video I'm going to show you how you can override your global
08:49settings on a more specific basis, because sometimes you might want one blog to
08:54do one thing and one blog to do something else and articles to do a third thing
08:58in terms of their behavior.
09:00So ideally what you do is you come in and you set these global items first,
09:04which we'll apply to the greatest number of articles on your web site and then
09:08you're going to use your menu options and the article options to override these
09:13global options that you set up first.
Collapse this transcript
Setting menu options
00:00In our previous video we turned off a whole bunch of options within Joomla globally.
00:05So we don't say anymore of that category, and author, and hits, and all the rest
00:10of that stuff associated with articles on the web site.
00:13If I take a look at the About page for example, this is looking much better, Our
00:18People is looking much better, but when I come back to the News page of this web site,
00:22I've got my news articles here.
00:25I'd also need to still add my photo of the day blog and I need to add my video
00:30blog to this web site.
00:31The photo blog, for each one of those entries as you'll recall, we had a title for
00:37that particular photo of the day.
00:40We had a brief description of the photo in photo itself.
00:44We also had a date associated with each one of those photo entries, and of
00:48course someone in particular has submitted that photo.
00:52So it might make sense, even though we just turned off who the articles were
00:56written by and the date on which those articles were published for the entire web site,
01:01for our photo blog I think what we'd really like to do is have those things turned on.
01:07So somehow we have to make an exception to our global rule and apply it to our
01:12photo blog so that we have something slightly different for that.
01:17Let's go ahead and hop into the backend of Joomla.
01:20So the first thing we need to do is add our photos blog link and our video
01:25link to our web site and then we'll worry about styling them.
01:29So let's go ahead and add those really quickly under Menus > Main Menu > Add New Menu Item.
01:36We're going to go ahead and choose a Category Blog from our list of articles here.
01:42And we're going to call the menu title Photo of the Day and this is going to be
01:49located in the Main Menu and it will be located under the News item.
01:54Our category we're going to choose will be Photos.
01:58That will be our first one.
02:00I am going to go ahead and click Save & New and once again I'm going to go
02:05through the same process for the video blog.
02:07So I'm going to go ahead and choose a Category Blog once again.
02:11The menu title will be Videos and this is also going to be under News and our
02:19category this time will be Video.
02:21So I'm going to go ahead and hit Save & Close and I'm going to go to the front
02:27end of the web site and refresh.
02:29So now here in the news section I have two more links: the Photo for the Day and the Videos.
02:36I'm going to take a quick peek at the Videos first and you can see that we've
02:40got our title, a brief description, and then our YouTube video, which we
02:44installed back in chapter 4.
02:46You are of course welcome to go ahead and play that take a look at it.
02:50Under Photo of the Day we have our series of photos exactly as we expected.
02:55We have our title, we have a little bit of text, and then our picture.
03:00So here is the way that
03:01that is set up, but what our client really wanted was the title and then
03:06somewhere underneath we wanted the date associated with this particular blog
03:10post and we wanted an author.
03:12First thing we're going to do is display the date here on the page.
03:16So I'm going to hop back into the backend of Joomla and I'm going to go to my
03:20menu item, Main Menu, and I'm going to go scroll down to my Photo of the Day link
03:26and the option that I want to show here for the entire blog is the Created Date.
03:33So I'm going to go ahead and take a look at the Article Options and under here
03:37we have Show Create Date, which is set to Use Global.
03:40Using Global anytime you see that in this context means that we're going to look
03:45at the Article Options in the Article Manager,
03:47that button in the upper right-hand corner, and see how that is configured.
03:52So that's great, because anytime you make a change to the article options there,
03:56it will go ahead and affect this page as well, unless we
04:01specifically override something.
04:03So what I'd like to do here is change Show Created Date to Show and what I'd
04:11like to do for the author is also to show that, because I'd like to show all of
04:16the authors who have contributed these photos.
04:19So I am going to go ahead and say Save and I'm going to refresh the front end of the web site.
04:25So once again we've got our date up here displaying and we have that it's
04:30written by Super User and in fact all of these are written by Super User.
04:35That's because we put the content in ourselves. But truthfully all we did was
04:41copy and paste a bunch of stuff and put it in here.
04:43We didn't take these pictures ourselves and we didn't write the copy for it either.
04:47So ideally what we would like to do is have something other than Super User display there.
04:52That means that on an article-by- article basis I need to go through and edit
04:57each one of these articles to change Super User to something else.
05:01And I'll show you how to do that in the next video.
Collapse this transcript
Setting individual article configuration options
00:01In our last video we adjusted our Photo of the Day blog to include some features
00:06that we had globally turned off on other areas of our web site.
00:10For the Photo of the Day only we would like to show the Created Date, which is
00:15essentially the date when the blog entry was posted, and we'd also like to
00:20include the information about who was the photographer for this particular Photo of the Day.
00:24We don't really need that information on any other page of the web site.
00:28So, we use the menu options to override the global settings for the web site,
00:33and have these specific settings apply to just this portion of the web site.
00:38However, we still have the problem remaining.
00:40Every single one of our photos of the day were now written by Super User, and
00:45that's great for me as the Super User, but the truth of the matter is I didn't
00:50take any of the pictures and I didn't write the text. I just copied and pasted
00:54in a bunch of stuff.
00:55So what we need to do now is somehow we need to give credit to the people who
01:00have taken these nice pictures and put them up on the web site.
01:03So somehow I need to find a way that not every single article is written by
01:08Super User and the way to do that is to edit these articles on an article by
01:13article basis so that we can specify who the author is.
01:19So let's take a look at the Backend of the web site and I am going to go
01:22into the Article Manager, and I'm looking at all of the articles for my web site right now.
01:28What I really want to concentrate on are just the three that are associated with
01:31the Photo of the Day.
01:32So I am going to go to Select Category > Photos and this will show me just the
01:39three articles associated with the Photo blog.
01:42So we have these three articles and you see that they correspond to the blog
01:46here on the front end of the web site.
01:49I am going to go ahead and edit this first article here.
01:52"We picked our first olives today by clicking on it."
01:57And what you'll see over here on the right-hand side of the screen is we have
02:00some publishing options available to us.
02:03Right now this article was created by Jen. That's me.
02:07I could click this button that says Select User and I could choose somebody
02:11else from the list, but I have two problems.
02:14First of all of course, I've only got one user setup for my web site, but second
02:19of all, if I have readers who were sending in pictures to be included on this blog
02:23I really just want to post their name. I don't want to have to give them
02:26access to the web site in order to edit it.
02:29So if you are flagging people who are already editing the web site, you could
02:35certainly change that user and therefore the author by this interface here.
02:41But if you just want to put up somebody else's name, use the Created by alias,
02:46which is the next field down.
02:49And for this particular article, our person who created this is Samantha Iodice.
02:54So I am going to go ahead and enter her name and I am going to click Save & Close.
03:00Then I am going to refresh my page and you see that Samantha Iodice went ahead
03:06and took this lovely picture of these olives that came right from the orchard.
03:10So now I am going to go ahead and edit some of these other people.
03:15Our "Reader recipe from Kathy in Keene,"
03:19the Created by alias here is Kathy Smith and for "Our olives are almost ready for
03:28picking," that was George Jones. All right!
03:31So now that we have these aliases in place, when I refresh the screen, the first
03:41one is written by Samantha Iodice, then we have our recipe from Kathy in Keene,
03:46from Kathy Smith and "Our olives are almost ready for picking!"
03:50from George Jones, and our picture of the olive orchard.
03:53Remember that when you go through and you edit articles individually, if you
03:57ever need to go and change something else, you'll have to edit once again
04:03individually for the options that you change.
04:06So for this case, if for example we wind up with a different photographer for
04:11some of these pictures, we'll have to edit each one of those entries
04:14individually to change the photographers for those pictures.
04:18We're still under global control for things like whether the hits should show
04:22for these articles, which we have set that to no for the whole web site, and our
04:27menu is controlling the fact that we can see the Created Date and who the
04:31article was written by.
04:33That's under control of the menu, but each one of the individual authors for
04:37these articles is controlled by the author alias on an article by article basis.
04:42You can see that for our 20-page web site it's not the end of the world to have
04:46to go into each article and change something, but if our 20-page web site became
04:51a 200 or a 2000-page web site, we can very easily add up to a ton of maintenance
04:58to make changes to every article on the web site.
05:01So just as with CSS, you try to control as much as possible with the most generic
05:06selectors possible, we're going to try to control as much of the look of our
05:11Joomla web site under control of those Article Options.
05:15We're going to put them at the global level as much as we possibly can, then
05:19we'll override things in the menu or the individual articles as needed to
05:23override those global options.
05:25But I strongly recommend you start off by setting up the global options and
05:29then thinking of the menus and the articles as ways of overriding those global options.
Collapse this transcript
7. Using Modules
Configuring modules
00:00So far we've set up some content for this web site and the content consistently
00:04shows up in the middle of the page.
00:07We created our first module, a Menu module, which displays on this page as well.
00:12We use modules to split up our navigation between the top and on the left side
00:17on some pages and we have a module displaying our navigation at the bottom of
00:21the web page as well.
00:22Modules go well beyond menus though.
00:25A module is any bit of functionality that you'd like to display in some area
00:30other than the main part of the web site.
00:32It could be something that displays in the header, the footer, the left or right
00:36columns, across the top or even inside of an article.
00:40There are several modules that come with Joomla by default.
00:43We'll cover those in the next few videos.
00:45The big question is how do you get a module to display in certain parts of
00:50the web page? Every template comes with certain module positions. These are
00:55positions coded by the person who created the template, which will ultimately
01:00contain the modules for that page, if there are any modules assigned to that page.
01:04There is an easy trick to peek at where module positions are located within our template.
01:10I showed this technique to you in an earlier video in the menus portion of the
01:14videos, but I'm going to show this to you again in case you happen to miss that.
01:19This is called the TP equals one trick and in order to make TP equals one work
01:25with Joomla 1.6, the first thing you have to do is once you have gone into the
01:29back end of your web site, go to Extensions > Template Manager, go to the
01:35Options and make sure that Preview Module Positions is enabled.
01:40By default this is disabled in Joomla 1.6 and a lot of people have been asking,
01:45oh my goodness where's my TP equals one?
01:48Well it's still here it's just turned off by default, you actually have to turn it on
01:52in order to use it on your Joomla 1.6 web site. And it's probably a good
01:57idea to go ahead and disable the Preview Module Positions, before you launch the web site.
02:03Go ahead and once you have made that change click Save & Close and now go back
02:07to the front end of the web site and after the ending of the web site address,
02:12go ahead today question mark, TP, as in Template, equals 1 and what this will do is
02:21outline all of the module positions available to you within a specific template.
02:27It'll tell you what those module position names are and it will show you where
02:31they're located on the web page, whether you have a module in that position or not.
02:35So, right now we have our horizontal navigation. We have nothing in position-1,
02:42In position-2, we have our breadcrumbs.
02:44Over on the left side of the page is postion-7 where we have our login form and
02:50we also have a position-5, which comes underneath of postion-7. We have positions
02:559, 10, and 11 across the bottom and a debug position after that and a position-14
03:00down in the very bottom footer of the web site. We also have positions 6, 8 and
03:053 here on the right side of the page and a position 12.
03:09So we could in theory have a module on top of our main content for the web
03:14site, if we wanted to.
03:16That's just this template that we're looking at right now, the beez 2.0 template.
03:21If we were to switch to a different template, the module positions might be
03:25called something else entirely different and they might be located in entirely
03:29different places on the web page.
03:31To turn off this display, go back up to the top of the page and erase the TP
03:36equals 1 and then hit Return to refresh the web page.
03:39In the back end of the web site, you can also turn off the Preview Module
03:44Positions, you can set back to No if you wish.
03:46This TP equals one trick is really helpful as you download more third-party
03:51templates and you work with templates within Joomla.
03:54So that you understand various where positions are available where you can drop
03:58various modules into your web page.
Collapse this transcript
Creating a custom HTML module
00:00We are going to build our first module for this web site.
00:03This is a custom HTML module.
00:05It's very easy and very straightforward.
00:08Think of it as a mini article.
00:10The custom HTML module will display what ever text or code you enter into it,
00:15just like an article does right now, except it will display at different
00:18places on your web site.
00:19So to create a new module we're going to go to Extensions > Module Manager,
00:25and you see that we already have several modules that are running here on our web site.
00:29To create a new module, you click the New button and these are all of the
00:33modules that are currently installed for your web site.
00:36So you can pick one of these from the list. I'm going to pick the one
00:39called Custom HTML.
00:41We'll go ahead and give this a title, which I'm going to call this Testimonials,
00:47and I'm going to show that title and the position where I want this is in
00:52position-3, which is on the right side of the web page.
00:55Although this indicates that's right bottom, let me change that. Let's go to
01:00position-6, which is called Right Top.
01:02It's Published and it's Public, and I'm going to scroll down to the bottom of
01:07the web page where we've got the text output here, and what I'm going to do is
01:11open up my Exercise Files, where I've some testimonials that are available.
01:16I'm going to go ahead and highlight everything and say Edit > Copy, then I'm
01:20going to Ctrl+V or Command+V to paste that text into my window right here.
01:27So there we go, we already have all our testimonials here.
01:30Now I'm going to go ahead and hit my Save & Close button and I'm going to return
01:36to the front end of the web site and refresh, and looking at the front end of
01:40the web site, we now have our testimonials that are showing up right here in the
01:43right column, which is great!
01:45This is a nice way to enhance the homepage of the web site, talking about how
01:48great the olive oil is.
01:50However, we've also got to testimonials showing up pretty much on every single
01:54page of this web site.
01:56What if I wanted just to have the testimonials on the homepage?
01:59I'll show you how to that in the next video.
Collapse this transcript
Assigning a module to the site
00:00In our last example we've created a custom HTML module for our testimonials,
00:05which are now displaying on every page of the web site.
00:08That's the default setting for any module that you create.
00:11What if we want to assign that module to only certain pages or to every page
00:16except for certain pages?
00:18Let's take a look at our module again by going to the Module Manager. We'll go
00:24ahead and click on the Testimonials module that we just created.
00:28If I scroll down the page, pass that custom output we have a Menu Assignment box,
00:33and right now by default, our module is set to display on all pages of the web site.
00:40We have some other options here we can work with.
00:42We could say put it on no pages, which is effectively un-publishing the module.
00:47We could say only put it on selected pages by checking off exactly which pages
00:52we want it to appear on.
00:53We are going to do that in just a second for the Home, but best of all in Joomla
00:571.6--this is such a great new feature-- we can also include our module on all pages
01:03except those selected.
01:05Previously in Joomla 1.5, if you had a module that you wanted to have display on
01:10every page of the web site except for the homepage, you wound up having to
01:15assign modules every time you created a new page of the web site, you'd have to
01:19jump into your Module Manager and assign that module again, and inevitably you'd
01:24forget and the page would look weird and your client would call you for
01:27technical support, and it was a real pain in the neck.
01:31So having the option to put it on every page of the web site except for certain
01:36pages is a real timesaver, and it's just going to make things so much easier for
01:41building your 1.6 web sites.
01:43The option we really want though is to show our module on all pages selected.
01:48In other words all we really want to do is show our Testimonials module on the Home page.
01:54So I'm going to go ahead and pick that and it gives me now the option of
01:58selecting exactly which items I want.
02:00The Toggle Selection button will deselect all of those options for me and I can
02:05now just check off the homepage, and I'm going to double-check to make sure that
02:08my footer page also got deselected, which it did.
02:11So now I'm going to go ahead and save this and refresh the homepage and I
02:17should see no change, which I do.
02:20I see the testimonials over here in the right-hand side of the homepage, which is
02:24great, but if I go to the About page, there is no testimonials over there.
02:28That's exactly the behavior that I wanted.
Collapse this transcript
Creating a breadcrumb module
00:00A breadcrumb is the string of little links that show where you are in the site hierarchy.
00:06Just like Hansel and Gretel dropping breadcrumbs through the forest.
00:08The breadcrumbs on your web site are here so that you don't get lost.
00:12If you are looking at the homepage, you see this tiny little word over here.
00:16It says You are here: Home.
00:17Now if I go to the About page, this is You are here:
00:21Home > About and if I go to Our People page, You are here:
00:24Home > About and People.
00:26Of course, we can always go back a level by clicking on the link for About.
00:30This takes us back to the About page or clicking on the link for Home takes us back
00:34to the homepage, which is great.
00:36Breadcrumbs are really useful for sites with lots of levels and very deep navigation.
00:42By default Joomla created a breadcrumb module for us and installed it on the web
00:46site when we installed Joomla.
00:48So let's take a look at how this breadcrumb is configured in the backend of Joomla.
00:53So I am going to go ahead and go to Extensions > Module Manager and here in the list
00:59you will see a link to the breadcrumbs module.
01:01Go ahead and click that.
01:02At anytime you look at any of the modules pretty much no matter what you install
01:07for a module, the basic construction of the screen is set up the same way.
01:12On the left side under Details, you always have the same pieces of information,
01:17including a title, whether the title should show, its position, whether it's
01:20published, who can see it, the order in which it appears.
01:24New in Joomla 1.6 we now have the ability to start and finish publishing our
01:28modules, which is great news, because now we can say we want this module to
01:33appear only on the web site for a certain period of time or to start appearing
01:37at some point in time and then leave the web site again.
01:41That's new in 1.6 and it's a great feature.
01:44The Menu Assignment is also always down here at the bottom of the page.
01:48Currently, our breadcrumb module is assigned to all pages of the web site.
01:52That's generally helpful for any kind of navigation to appear in all pages.
01:57However, if you look at the homepage, this is really not terribly helpful.
02:02Nothing is clickable in this text and it just says You are here: Home.
02:06Of course, I am on the homepage of the web site.
02:08I don't really need a breadcrumb right here.
02:10So what I am going to do is I am going to use that great new feature here
02:14in Joomla 1.6 and change this to show this breadcrumb module on all pages
02:20except those selected.
02:22So I want the breadcrumb on every page of the web site, but I don't want it on the homepage.
02:27So I am going to Toggle Selection here to turn off everything and then
02:32check off the homepage.
02:33So now my breadcrumb will show on every page of the web site except for the homepage,
02:39which is terrific.
02:41Up here in the upper right side of the page there are all kinds of different
02:45options here and it's highly variable depending on what module you're looking at.
02:50This particular module comes with both Basic and Advanced Options.
02:54So under our Basic Options it says we have the option of showing the text "You are here."
03:01So right now that's turned on and we could leave that on if you want, if you
03:05like that feature or you can turn it off.
03:08I am going to go ahead and turn it off.
03:09Show Home indicates whether the word Home should appear in the breadcrumb path
03:15and I am going to go ahead and leave that Home, because I think the more ways
03:18that people can go back to the homepage, the better.
03:21We can also change what that text is for the homepage, whether you wanted to say
03:26Home or you want it to say Front Page or you want it to say something else entirely.
03:30But I think it's probably most intuitive for that text to stay with the word
03:34Home so I am going to go ahead and leave that there.
03:36Show Last means on a page like if I go to About and I go to Our Process whether
03:44Our Process portion of the breadcrumb here should show up to breadcrumb or
03:48whether the breadcrumb should simply say Home and About.
03:52I think it's better to go ahead and show that last entry so I am going to go
03:56ahead and leave that on.
03:57Finally, the Text Separator.
03:59So here in our breadcrumb, right now we have these little gray arrows in between.
04:04If we prefer, you can type in a character from your keyboard and that will
04:09separate the breadcrumb instead of that little gray arrow.
04:13There are some items here under our Advanced Options, which are really a better
04:16fit with the Joomla 1.6 Templates video.
04:20They have to do with alternative layouts for this particular breadcrumb and using
04:24module class suffixes.
04:26The Caching in particular has to do with how long Joomla should hold a processed
04:32format of the breadcrumb.
04:34Every time you hit the web site it has to regenerate the breadcrumb to send to
04:38the person requesting it.
04:39You can control caching of some of these items by turning this on and
04:44determining how long in seconds.
04:46That's 900 seconds something should be cached.
04:50Rather than Joomla regenerating the breadcrumbs every time somebody asks for it,
04:54it will serve up the copy that it generated once and then it is holding for 900
04:58seconds before it regenerates it.
05:00The advantage here is you reduce the amount of hits onto your server's processor
05:07in particular and how much processing time it takes, which is very important if
05:11you have a very large web site.
05:13But the downside is if you make any changes to your site navigation,
05:17your breadcrumbs might not update for a little while before you'll see that change on
05:20the front end of your web site.
05:22So I think you can probably stay away from everything under Advanced Options.
05:26Go ahead and make whatever changes you wish to the Basic Options and when you're
05:30done click Save & Close and we will refresh the front end into the web site and
05:35you'll see that now for my configuration the "You are here" thing is gone and it
05:39just says Home and About in our process.
05:41Now if I go back to the homepage, the breadcrumb doesn't appear at all.
05:45So I'm really happy with that particular configuration.
Collapse this transcript
Creating a random image module
00:00The random image module chooses an image at random from a predefined folder in
00:05Joomla's Media Manager.
00:06It then displays a different image each time the page is reloaded.
00:10This is not a fade-in/ fade-out kind of slideshow.
00:14Joomla does have the capability of doing that through third party extensions,
00:18but those kinds of extensions are not packaged with Joomla's core.
00:22First of all, before you can create the random image module, you need to
00:25create the images for it.
00:27Use your favorite photo editing software and then make sure each picture is
00:31the same dimensions for best results.
00:34Ideally it has exactly the same width and height but if you can't do that,
00:39at least make them all have the same width . Otherwise you may change the layout of
00:43the web site as fatter pictures get loaded verses some of the skinnier pictures you have.
00:48If you have different heights, remember that the content beneath the random
00:52image module will move up and down on the page as the page is refreshed.
00:57So you'll probably want to watch that as well and think carefully about the
01:01ordering of the modules within that particular position.
01:05Before we create our random image module, we have to upload our images to the Media Manager.
01:10So we are going to start by going to the Media Manager by clicking on the icon
01:15and we're going to create a new folder to put all of our random images in.
01:19That way we will have a select list of those random images.
01:23So I'm going to scroll down the screen here and for my folder I am going to type
01:27in the word random and Create Folder and now I am going to double-click on the
01:32folder to open it and then I'm going to click my Browse button and I am going to
01:39my Exercise Files in Chapter 7, in 07_ 05, and I have a series of pictures that
01:47I would like to upload.
01:48So I am going to have to click on each one individually and upload those.
01:52All right, so now I have got my five pictures here located within my random folder.
01:57The other thing that's very important is that you make sure all of your images
02:00are the same file type.
02:02So all of these images are JPEGs, they are all pictures, and so that works great.
02:07If you want to have GIFs, you can have all GIFs.
02:10If you want to have PNGs, you can have all PNGs.
02:13The thing you can't do is mix your GIFs and your JPEGs and your PNGs and have
02:17different file formats in the theme random image module.
02:20We want them all one type of image.
02:23Now I am going to go to Extensions > Module Manager and we will go ahead and
02:28create my new module by clicking on the New button and I am going to find Random
02:33Image in my list and I am going to go ahead and configure this to display on the
02:37left side of the web page.
02:39So I am going to give this a title, Random Image, but I really don't want that
02:45title to show because it's a picture and I don't really need a title for that.
02:50The Position is going to be position-7 which is that left column on my web page
02:56and it's published and so forth.
02:58I am going to have it display on all pages of my web site, so that's all set
03:02down here in the menu assignment.
03:05Now under Basic Options you need to specify first your Image Types, so that's
03:10where you put in whether they are JPEGs, GIFs or PNG. List one type there.
03:14You will need to list the path to the image folder, which in this case is images/random.
03:21If you want to have a link for these images you can enter that and the link
03:26means that anytime anyone clicks on any of the images, they will go exactly to the same page.
03:32So it's one link for all of those images.
03:36If you want a unique link for each image you should use the Banner Ad component,
03:41which will allow you to have unique link for each image.
03:44We also should enter some dimensions for the pictures and they are 200 pixels
03:49wide by 133 pixels tall.
03:52Of course if you're using a different pictures or whatever, you enter your own
03:57dimensions in that spot. And I am going to go ahead and click Save &Close.
04:01I'll refresh the web site and you'll see that we have our picture here
04:07showing up in the left column and if I go to the About page, I have my picture
04:13on top with a navigation underneath, followed by the login form.
04:16Now I would really like to get rid of that login form for the moment. We are
04:20eventually going to add a login to this web site but I'm not sure that I really
04:24want the login form displayed over there and certainly I don't need it displayed
04:28over there right now.
04:29I would also like to have the secondary navigation show above the Random Image,
04:35so that it's easy for people to access that navigation and they see it right away
04:39and since the Random Images is just a decoration for this web site, it
04:43should really appear under that navigation.
04:45So I will show you how to do that.
04:47Back in the backend of Joomla, if I go to my login form, you see here is located
04:53in position-7 and what I would like for that to do is you un-publish it.
04:59So, I am going to go ahead and click there and that has now unpublished that Login form.
05:06Next we wanted to rearrange the order of the subnavigation and the Random Image
05:12and basically, we want to reverse what order they are in.
05:15If you take a look at the ordering column, you will notice that there is no
05:18arrows and there is no little boxes-- Well we have little boxes for typing in the
05:22numbers, but there's no disk icon for saving and ordering.
05:25So in Joomla 1.6 by default, we sort these modules by their position, which we
05:32know because you see this little icon right here next to the Position header,
05:36here in the Module Manager.
05:38What I need to do is click on the Ordering column and when I do that we're now
05:43sorted by the order in which these modules are displaying and when I do that,
05:48I get my little arrows back and I get my disk icon up here on the top as well.
05:53So now I can rearrange the order of these particular modules.
05:56So I would like my subnavigation to show first, so I am going to hit my up arrow.
06:01So I have the subnavigation followed by the Random image.
06:05And when I refresh the front end of the web site, that's looking much better, so much less busy.
06:11We have our subnavigation followed by our picture and on the Home page we just
06:16have a photo over there on the left hand side with our content in the middle of
06:20the page and our testimonials over on the right side of the page and without
06:25that login box over there, that just looks a whole lot less cluttered and I'm
06:29much happier with the way things are looking.
Collapse this transcript
Creating a newsflash module on the home page and turning off the home page heading
00:00A great module to add to the Homepage of your web site is some of the latest
00:04news that's been published.
00:05The News Flash module is a good way to do this, as it will pull articles from a
00:10category and then display them on the web site.
00:13So let's start by creating that module by going to Extensions > Module Manager.
00:17We're going to make a new module by clicking the New button.
00:20And we're going to find the News Flash module in our list here.
00:24It's under Articles > News Flash.
00:25We'll go ahead and give this a title of something like Latest News and we'll go
00:32ahead and show that title.
00:33I am going to go ahead and display this in Position 7 again, but only on the
00:38homepage of the web site.
00:42So down here under the Menu Assignment I am going to go ahead and say Only
00:46on the selected pages.
00:48And I'll just put it on the homepage of the web site.
00:50So, on the homepage we'll have a list of the latest news in the left column.
00:55And then over here under our Basic Options we have many things pertaining to
01:00this particular module.
01:02First of all we have to pick what category we want.
01:05So I want that News category.
01:07That's where our news is living.
01:09We can show the images from those articles or not, show the titles or not.
01:13I am going to set the titles to show for Yes, because I need a series of let's
01:18say three articles on the homepage.
01:20And I want to show the titles, so people will know what's there.
01:24I could make those titles linkable as well.
01:27Note that I now have the option of what header level I want to show the
01:31titles of the article.
01:32This is a really great search engine feature in Joomla 1.6.
01:37It's also good for accessibility.
01:39So I pick Header 4 in this case to show those particular articles, or of course
01:45any of the other options here through Header 5.
01:48I think Header 4 is actually going to work just fine.
01:50I am going to go ahead and show the Read more link as well, because sometimes
01:54people react better to that Read more link.
01:56It's more obvious to them to read more about the article to click on Read more,
02:00than to click on the article title.
02:01I only want to show 3 articles on the web page.
02:04And what Order do I want them in? The Published Date, the Created Date,
02:09Ordering, or Random?
02:10So if I put them in by the Published Date, that's the date that they actually
02:14show up on the web site, whereas the Created Date is the date that they were
02:17put into the web site.
02:18So it's kind of big difference.
02:20I am going to go ahead and order those by the Published Date, which is just fine.
02:25Let's go ahead and save these settings and we'll refresh the front end of the web site.
02:30And here we have our Latest News.
02:32We have our article titles, which are linked, because when we roll over them we
02:36can go to the full article.
02:38And underneath we do have our Read more links.
02:40So when I click on Two Trees Olive Oil Builds New Production Facility, I go to
02:46the full article, which is terrific.
02:48And notice that I still have my sub navigation and my random image underneath.
02:55And here on the homepage my random image is showing up down at the bottom of the
02:58page which is lovely.
03:00But I might actually want the random image at the top of the page here, given
03:05the layout of this particular template, so I think I am going to reorder those.
03:08I am going to go ahead and hit Save & Close for my module.
03:14And then I am going to bump the Latest News up before the Random Image.
03:21Now I have the Latest News as the very top thing.
03:24So unfortunately there is a minor bug in Joomla 1.6, and sometimes this ordering
03:29doesn't work quite correctly.
03:30I still have my Latest News on top of my Random Image.
03:33So I am going to try again to move my Random Image up over my Latest News.
03:39Now we have the Random Image showing first, followed by the subnavigation and
03:42followed by the Latest News.
03:44That works just fine because of course the subnavigation doesn't show on the
03:48homepage and the Latest News doesn't show in any other page.
03:51Even though they are in something of an odd order perhaps, that works just fine,
03:56because subnavigation and Latest News never display together on the same page.
04:00So let's refresh the homepage and see how this is looking.
04:03So now I have a nice picture on the top here, which frames our content in the
04:08main content area very nicely.
04:10Our Testimonials are over on the right and the Latest News is appearing here
04:14underneath and you can either click on the title of the article, or the Read more
04:18 to go and read the full version of this article.
Collapse this transcript
8. Using Components
Using the content component
00:00Now that you know all about modules, it's time to learn about components.
00:05You might be surprised to know that you already have been working with components.
00:09Content is a kind of component and it shows up in that main part of the web page.
00:13There is only one component per page, while there may be many modules on the same page.
00:20Let's take a look at the front end of our web site.
00:22I'm going to go back to my homepage.
00:25We have so many modules on this web site right now. We have our horizontal
00:30navigation across the top, we have a random image module and the latest news
00:35on the left side of the page, we have our testimonials showing on the right
00:39side of the page, and we have our privacy policy showing down here at the
00:42bottom of our page.
00:45This font size item here is not a module.
00:47It's actually coded directly into the template for this particular web page.
00:52And the banner for this page is also under control of the template.
00:58Right here smack in the middle of the page, so-called main part of the web site,
01:01is where the component will display.
01:04And the name of this component is called COM Content, COM_Content.
01:10A measure difference between modules and components is that components require
01:15some configuration and then in order to display them, you must link them to the menu directly.
01:22They are never assigned a position on the page the way modules are assigned
01:27positions in order for them to display.
01:30Every component has a different configuration options and different ways for
01:35connecting that component to the menu, so you need to watch out for that.
01:39I'm going to show you a few components in later videos that ship with Joomla and
01:45you'll get a sense for how the components work and what to watch out for when
01:49you're working with a new component that you're not familiar with.
01:52Finally a component may also have a module associated with that.
01:57A great example of this is the Banner module, which I'm going to go through.
02:01The Banner component is where you configure these banner ads, and then the
02:06Banner module controls where the banner ads display on the web site.
02:10Don't let that trip you up.
02:12It's very common for components and modules to work together on a web site,
02:16but it's also common for a component to just be a component without any
02:20modules of supporting it.
Collapse this transcript
Using the contact component
00:00Contact forms on web sites are just about everywhere these days.
00:04In the age of Gmail and mobile phones, having an email address with a mail-to
00:09action, one of those links that you actually click and then Eudora or Outlook
00:15open up and you can send the email from within that program on your computer,
00:19That just doesn't work so well anymore because so many people have switched to
00:24some form of online email and they may just be using their web browser as the
00:29client for the email now, rather than a separate program.
00:32So, it's really nice to offer people a form, which will work no matter what
00:36technology you're using to access the Internet.
00:39Anyone can fill in a form whether they're on a phone or on a PC or Macintosh.
00:44Fortunately, Joomla has contact forms built right into it and it's a snap to
00:48create a contact form.
00:51So, in order to do this, the first thing we have to do is create a Contact
00:55category and then we will actually create our contact itself.
00:59And then we are going to link it to the menu.
01:01That's what we're going to cover.
01:02So, to get started, we are going to go to our Components menu and we are
01:07going to go to Contacts.
01:09Now, while I am here in the Components menu, let me point out something that's
01:12going to be different between my web site and yours.
01:14I've a component in place right now called Akeeba Backup and I've been using
01:20Akeeba Backup to back up this web site as I've been creating all of these videos
01:25to make the Exercise Files.
01:27You won't have the Akeeba Backup option in your particular Joomla 1.6
01:32installation, unless you went ahead and installed it on your own.
01:35Don't panic. I am going to show you later how to install Akeeba Backup and how
01:40to use it to make backups for your web site, which are just so important when
01:43you're working in a content management system like Joomla.
01:46So, to get back to the contact forms, I am going to go to Contacts and I am going
01:51to go to Contact > Categories and click that.
01:56And just like in our article categories, in our contact categories, we have one
02:02by default called Uncategorized.
02:04I can go ahead and create my new category, which I am going to call just
02:09Two Trees Olive Oil.
02:12I can nest my contact categories, the same way I can nest all of my categories
02:17in the Joomla articles.
02:20So, I can set a parent for that particular category, if I wish and I can put in
02:24things like a description and so forth if I wish.
02:27But I am going to leave everything else alone for the moment, and I am going to
02:30go ahead and say Save & Close.
02:31So, all we did was put in a title for that.
02:36Now, I need to go to either Components > Contacts > Contacts or I can go over
02:42here to the Contacts link right here in my subnavigation. Both options take
02:47you to the same place.
02:48And now I am going to make a new contact for my web site, which will become
02:52our Contact Us page.
02:54So, I am going to go ahead and click the New button and I am going to give this
02:58a name of Contact Us.
03:01And if you scroll on down underneath, we have the option of putting in some
03:06additional information that might go on this web page.
03:08For example, sometimes people post a link to directions to their facility or
03:15they might put in the hours in which their store is open.
03:18That type of thing can go right here in Other Information.
03:22On the right side of the screen, under Contact Details, this is where you
03:27actually go through and enter all of the information for your contact.
03:30This is pretty different than Joomla 1.5, in terms of where things are
03:35located on the screen.
03:37So, first of all, if we want it, we could upload an image to our Contact and we
03:41could do that right here within our contact manager, which is a wonderful thing.
03:46We can enter a position and we can enter an email address.
03:49So, since this is just the generic contact form for the company, I am not going
03:54to put in a picture or position, but I will put in the email address, which
03:58info@twotressoliveoil.com.
04:02Under the Address, we will go ahead and enter our address, which is 123 Market St.
04:08Our City is Ventura, the State is California, and our ZIP Code is 91234.
04:15Since, Two Trees Olive Oil is only doing business within the United States,
04:21I am going to leave the Country field blank, but you of course could fill that in if you wish.
04:24I am going to enter my phone number for the company, which is 123-456-7899.
04:33There is the option here to enter a cell phone number or fax number, so forth, if you wish.
04:40But I think that's pretty much all the information we need to contact customer services.
04:46Under our Display Options, we can choose which pieces of information we want to
04:50display on the web site, and I've only filled in certain pieces of information
04:55and those are the pieces of information I want to display.
04:58So, I'm not going to make any changes here, but you could go ahead and change
05:03things around here if you wish.
05:06For the contact form itself, we have the option of showing the contact form and
05:11sending a copy to the person who sent in the request to the company.
05:17I am going to go ahead and set that to Show.
05:19That way somebody has the option of getting copied on that email.
05:24There are some filtering options here.
05:26If you're getting a lot of spam through your form, you can ban certain email
05:30addresses or subjects or text within the message.
05:33Notice also that we have the option of including metadata on our contact form.
05:37That is new in Joomla 1.6.
05:39So, we can enter a meta description and meta keywords if we wish as well.
05:44I just realized that I failed to assign a category to our particular contact
05:49over here on the side.
05:50I've left that as uncategorized and I really meant to switch that to the Two
05:54Trees Olive Oil category.
05:55So, I am going to go ahead and do that.
05:58Click Save & Close and we have our new contact here.
06:01It's all we have been created.
06:03Now, what we're going to do is link this contact to our menu.
06:07So, to do that, we are going to go to Menus > Main Menu.
06:12And I am going to create a new menu item by clicking on the plus sign.
06:15For our menu item type, I will click the Select button and this time, I am
06:19interested in the Contacts portion of the screen, up here on the upper left corner.
06:24And I have some options. I can list all of the contact categories, in other
06:28words it would show me the Two Trees Olive Oil category.
06:31I could list all of the contacts within a specific category, so if I had several
06:37people who are within a certain department for example, my department could be
06:41the category and using this feature, I could list all of the people who were on
06:45staff within that department.
06:47I can also list a single contact, which is what I really want to do in
06:51this particular case.
06:52I just want to link to the contact that I just created.
06:56There's also an option to list your featured contacts.
06:59Just as we had had within our articles in Joomla, we can now pick featured
07:04contacts for our specific contacts.
07:06Flag them as Featured and then we could display them all on one web page if
07:10we wish to do that.
07:12So, I am going to go ahead and click on Single Contact.
07:15For the menu title, I am going to put in the word Contact.
07:19It's going to be published on the main menu and at the top level, so I don't to
07:23change any of those things.
07:24Then I am going to go ahead and select my contact from the list, which is Contact Us.
07:31You'll notice that we have a bunch of options here and they look remarkably
07:35familiar to the ones we have just looked at. Just as we were working within our
07:40articles and we had our global article options, we had our menu options and we
07:44had our specific contact options,
07:46things worked the same way within our contacts, so we have global options
07:52that are settable within the Contact Manager, we have menu options here that
07:56we can set within the menu and we also have individual contact overrides that
08:01we can set as well.
08:05The same is true for Mail Options.
08:07We saw those already over in the individual contact list.
08:10If you remember the Page Display Options, we saw this already within the
08:16articles for Joomla, and we have also our Metadata Options, which we also saw
08:22within our articles for Joomla.
08:24One thing that's new that I didn't talk about last time under articles, but is
08:30available now, is the Module Assignment for this particular menu item.
08:34So, we have the option right within our menu item of assigning our modules,
08:39which is really terrific.
08:41If I wanted to have specific modules up here on my web page, I can do it right
08:45here through this interface.
08:48Okay, I am going to go ahead and hit Save & Close and I am going to go back over
08:53to the front end of the web site and I am going to click Refresh.
08:56And our Contact link shows up here in our main navigation, just where we wanted it.
09:01When I click that, you'll see that we have our Contact Us information.
09:07We're located here in Ventura. We have a contact form where we can enter our
09:13name and email on the subject of this particular form, as well as all the
09:17message, and we can send a copy to ourselves.
09:20And a space for Other Information. That was the text editing back that we saw
09:26within the screen when we created the individual contact.
09:29So, any information like store hours or directions, that kind of thing, could
09:33show up here under Other Information.
09:37If you're curious about this accordion panel layout, this is something that's
09:41coded specifically into the Beez 2.0 template, and you can certainly incorporate
09:47this type of styling into a custom template or you could override this and you
09:52could have all of the information on one page, one thing after another.
09:55So, that's a great technology that's built into Joomla here to be able to add a
09:59contact form to the Joomla web site and it just works.
10:03You can fill it out.
10:04It will then email the results of the form to you.
10:07However, I should mention that if you're running your web site locally,
10:11your email may or may not work, depending on how your computer is
10:15configured, so watch out for that.
10:18If the contact form doesn't work and you get a message about email and
10:22something's not working, it's likely because you're running your copy of Joomla locally.
10:27Once you get your web site up and on to the Internet, your contact form
10:32should work just fine.
Collapse this transcript
Creating a contact list
00:00In our previous video we created a single contact and we linked it up to our
00:04menu for Customer Service.
00:06But as you know, in real companies there are frequently lots of people who
00:10work there and perhaps you'd like to have a choice as to who to contact for
00:14various situations.
00:16In this video we're going to add four contacts to the web site.
00:20Each contact will have their own contact information and they'll have a picture
00:24associated with their profile.
00:25So we need to go ahead and set all of that up.
00:28Let's go back to out Contact component by going to Components > Contacts > Contacts.
00:35We're going to go ahead and open up this generic contact and we're going to make
00:40it more specific just by editing it.
00:42So the name here instead of Contact Us will be Kurt James.
00:46We will erase the alias.
00:49We are still going to leave them in the category of Two Trees Olive Oil.
00:53Then over on the side here under Contact Details, we are going to alter the
00:58information just a little bit.
01:00I will go ahead and click the Select button and this is going to take me to my Media Manager.
01:05In the Contact folder, we don't have anything just yet, so I am going to go
01:10ahead and browse for my Exercise Files and I am going to go to Chapter 08,
01:17video number 3, and we have all the pictures for our contacts.
01:22I am going to go ahead and open each one, one by one and upload these into our Media Manager.
01:32And I am going to go ahead and pick out kjames.jpg.
01:35That's Kurt James right there and we will go ahead and say Insert.
01:39So that will be the image that we want to appear on the web page.
01:43His position is Customer Service and all the other information matches, so we
01:49don't need to edit anything else.
01:51So let's go ahead and click Save & New, because I am going to put in the other
01:55three contacts at this point in time as well.
01:57The next contact we need to add is Chris Green, who is the Sales Manager
02:01in Restaurant Sales.
02:02For the name we will put in Chris Green and of course our category will still be
02:07Two Trees Olive Oil.
02:09On the right side under Contact Details we will go ahead and select his image,
02:14from our Contact folder, cgreen.jpg.
02:20And for his position, Sales Manager, Restaurant Sales.
02:25His email is corporate@twotreesoliveoil.com.
02:33His address is still 123 Market St.
02:37It's still in Ventura, CA, 91234, and his phone number is 123-456-7888.
02:50That's going to go ahead and be all the information we have for Chris Green, so
02:54I am going to go ahead and click Save & New.
02:55And I am going to enter the information now for Tara Lougher and Jerry Martin,
03:02and I am going to catch you as soon as I am done with Jerry Martin. Okay.
03:07I have entered my last contact here, and all the information is in for all four
03:12people, so I am going to go ahead and click Save & Close.
03:15And now I am going to go back to my Menus > Main Menu, and I am just going to
03:20edit the existing contact link that we already created by clicking on this link.
03:26And then I am going to select a different menu item type.
03:29Rather than the Single Contact, I'm now going to List All Contacts in a Category.
03:35So we've got all of our contacts who are going to appear on the page. They are
03:40all from the Two Trees Olive Oil category, and they'll appear on the web page.
03:44We will leave the title the way it is.
03:46Contact is fine, the alias is fine, the menu location and the parent item, all good.
03:52So let's go ahead and pick our category, which is Two Trees Olive Oil, over here
03:57on the right side of the page.
03:59And I am going to click my Save link.
04:01I am coming back to the front end of my web site, and if I just refresh this, it might work.
04:09Sometimes these things will produce 404 error pages.
04:12For best results, if you're starting on the page that you were just making a
04:16major change to, like we've totally changed the kind of link that we've made
04:20from a Single Contact to a Contact Category, it's often best to go back say to
04:26the homepage first and then return to that page so that we are loading the
04:30correct information.
04:32So here we have our Two Trees Olive Oil contacts.
04:36Two Trees Olive Oil is showing at the top
04:38here as the title of that Contact category, and then we have each person
04:43listed individually with their position, their phone number, and what's called
04:47Suburb, State, and Country.
04:49We probably want to turn some of these things off.
04:52If I click on Kurt James, I will see a picture of him.
04:56He is in Customer Service, along with his address and his phone number and his
05:01specific contact form.
05:02So once I get here, things are okay, but I probably want to alter the way
05:08that this form works.
05:10So I am going to come back here and of course I could change this information
05:14here within my menu item, but this is one step removed from the global settings
05:20for the category and since I don't have any need for my contact list to ever
05:26look like this anywhere on the web site, I am going to go back to myglobal
05:30settings for contacts and see if I can alter this.
05:35So I am going to go ahead and click Save & Close to get out of my menu item.
05:38And I am going to go back to Components > Contacts to get to my main Contact Manager.
05:45And over here in the upper right corner is the Options button.
05:48I am going to go ahead and click that.
05:50This is where we can set the overarching information about our Contact Manager.
05:56So for example, by default we're hiding the Contact category, which is great.
06:02The Display format are sliders.
06:05That's this thing where if we take a look at Jerry Martin, we've got the things
06:11that we click on here and the form pops up in one of these accordion sliders.
06:16If you don't like that, we could change that format to either Tabs or just Plain.
06:22Tabs of course would be tabs with those pieces of information and Plain would be
06:26just one piece of information after the other.
06:29I am going to switch this to Plain so you can see what that looks like.
06:31We have all the information that's set to show, except for the email address. That makes sense.
06:36We don't want to show the email address because otherwise spammers could pick up on that.
06:42We could set a global image if we wished.
06:45In this case we have all separate images so I'm not going to do that.
06:49Over here, under Icons, we can change the icons that are showing on the web site right now.
06:55So these little icons for the address and the phone number are default icons.
07:01We could override those using this form here, by choosing different icons, which
07:06we could create on our own, or we could turn the icons into text.
07:12Let's go ahead and hit the Save button and see what that looks like.
07:15If I refresh Jerry's page here, all of the icons are now gone and the words
07:21Address and Phone show up.
07:23Also notice that Plain format has taken over, so it's all showing on one page
07:28without the accordion dropdown things.
07:32We have information here about configuring a category if we wish.
07:36But what we are really most interested in is the List Layouts.
07:40So once again, taking a look at the actual contact top-level page, where we have
07:46our category list layout here. We probably don't need this Display item showing
07:51up here in the upper corner, we probably don't need Country, State, or Suburb,
07:55and we probably just want the Name, the Position, and the Phone Number.
07:59So we'll probably just turn off the Table Headings.
08:02I think it's pretty obvious what the names and the titles and the phone numbers are.
08:07We do want to show the Position.
08:09We don't want to show Email.
08:10We do want to show Phone Number.
08:12we are hiding the Cell Phone and Fax.
08:14But we don't need to show City, State, or Country.
08:18So we will turn all of those off.
08:19Let's go ahead and click Save and refresh this page, and that's looking
08:25a little bit better.
08:26And you know, actually now that I look at it, I think I liked having those
08:31titles on the top, the headers for these columns, so I am going to go ahead
08:34and turn that back on.
08:36We are going to turn off the Display Select.
08:39That will get rid of that dropdown in the upper corner as well.
08:42We will go ahead and hit Save to save those changes and then I'll hit
08:48refresh one more time.
08:50Now we can see all of our names, their positions, and their phone numbers, and
08:54this is looking a lot better than it was.
08:58This is the global location under the Form tab where you can show or hide a
09:04contact form, where you have the option of sending the copy to the person who
09:09fills out the form, and all that Banned Email, Subject, and Text thing, which
09:13has to do with security.
09:15Under Integration, you still have the option of showing RSS feeds for your contacts.
09:20I think you can just leave these set to the default settings.
09:23And finally, Permissions has to do with ACL, access control levels.
09:27I will cover it in another video.
09:29So let's go ahead and hit Save & Close.
09:32So we've set our major settings for our contact list, and that page is looking a
09:38whole lot better than it was.
09:40And when we click through, we certainly have nice looking pages here, we don't
09:44have the goofy little icons, we actually have text showing us about the
09:48address and the phone, and we have the contact form and other information all on the same page.
09:54I like that better than the accordions sliders.
09:56Of course you can still fiddle around with the layout of this page using CSS.
10:01If you know CSS you can certainly jump into this template and make changes to
10:06the way this page ultimately looks as well.
Collapse this transcript
Using the banner component
00:01Banner ads are nearly as old as the web and they remain a popular way to make a
00:04little money on the side for your web site.
00:07You can use the banner ad component for displaying other rotating images for
00:12which you'd like people to click and then go to different places on your own web site
00:16if you want to use them internally, or of course you can load them up with
00:20advertising and when people click, they go to external web sites.
00:24Either way works great.
00:25What we're going to do is to post three banner ads on our web site and these
00:31are going to go link to some internal pages for the web site.
00:35Banner ads are located here under Components > Banners, and you will notice we
00:41have many options to work with here.
00:43We have the Banners themselves, their Categories, Clients, and Tracks.
00:48Tracks of course are what people are clicking on and where they're going.
00:51So I am going to go to the Categories first to get started.
00:56And I am going to go ahead and create a new category.
00:59I am going to call this Two Trees Olive Oil.
01:04No parent, nothing else I need to set here.
01:07By now you should be noticing that when we do have a Category Manager up here,
01:10how consistent the Category Manager is between articles and contacts and the
01:15banner ads and we'll also see it again in web links.
01:19You can do the same kinds of nested categories.
01:21The configuration screens are the same.
01:24It's a wonderful thing.
01:25So it makes Joomla just so much easier to use when you get the same thing every time.
01:30So we'll go ahead and click Save & Close and so that's now our category,
01:35Two Trees Olive Oil.
01:37We can also create a client for our banners, and that's a wonderful thing.
01:43Let's say you have a lot of external advertising. Your categories might actually
01:47wind up being something like the products portion of the web site, the services
01:51portion of the web site, that kind of thing, and then of course your clients are
01:55all of the people who are advertising with you.
01:58In our case, our category and our client are the same.
02:01They are both going to be Two Tress Olive Oil.
02:02So to create a new client, what I am going to do is click the New button.
02:07I am going to put in the client name, which is Two Tress Olive Oil.
02:13My contact name is Kurt James, who is our customer service person.
02:18And his email is info@twotreesoliveoil.com.
02:23These fields and client information here is generally less important when you're
02:27using these banners internally on the web site, but if you were actually doing
02:32external banner advertising, this information will be more important.
02:36We are going to set track our oppressions to Yes and track our clicks to Yes,
02:40because we're very interested in what people are doing with these banner ads on
02:43the web site and how effective they are.
02:45So we are going to go ahead and click Save & Close.
02:49Now that we have a category and we have a client, we are ready to set up our banner ads.
02:53So I am going to go ahead and switch to my Banners tab.
02:55Remember, the subnavigation that you see here is the same thing as going to the
03:00menu Components, going to Banners, and these items that show up on the fly-out,
03:05exactly the same thing.
03:07So I am going to go to Banners and I am going to create a new banner.
03:11The Name for this one is Lemon Olive Oil.
03:14So I have typed in the name, and technically it's Lemon Extra Virgin Olive Oil,
03:20but I'm keeping it short.
03:22My category is Two Tress Olive Oil.
03:23It will be an image.
03:26Custom is an option that you could put in if you wanted to put in a Flash banner
03:30ad or something like that. They're Published.
03:34My image, I will go ahead and upload.
03:36So I need to browse for my image, which is in Chapter 08, Exercise Files folder 4,
03:43and I am going to put in my banner ad for Lemon Olive Oil first. Go ahead and say Open.
03:51And helpfully this has gone ahead and dropped us into the banner ad folder directly.
03:56These are banner ads that come with Joomla by default.
03:59We are going to go ahead and add to that.
04:01So I am going to upload my lemon.
04:03While I am here in the uploading screen I am just going to go ahead and upload
04:06my basil and my garlic olive oil banner ads as well.
04:11Then I am going to select the lemon banner ad, which is the one I am going to
04:14use in this particular case.
04:15We will go ahead and say Insert.
04:17We can give it a width and a height and alt text if we want.
04:21Alt text is great because of course search engines read that as well as it's
04:25used by people with disabilities who are using accessibility software.
04:29So we will go ahead and say "Try our Tangy Lemon Extra Virgin Olive Oil, click here!"
04:39Then it's going to ask us for the Click URL.
04:43The URL where we should go when the banner ad is clicked.
04:48So I am going to switch over to the front end of the web site.
04:50I am going to go to Shop and I am going to go to the Olive Oil page.
04:55I am going to copy the URL here at the top of the screen, Edit > Copy, and I am
05:02going to go here and I am going to Ctrl+V or Command+V to paste that web
05:07address into place.
05:09I can give this a description if I want.
05:11I can also set Start and Finish Publishing dates,
05:14which is a wonderful thing.
05:16I can set how many impressions I want to show for the web site.
05:20I can assign my client, Two Tress Olive Oil.
05:23I can pick a Purchase Type.
05:25So these are basically going to be unlimited banner ads, and we can set our
05:30impressions and our clicks, if we want to track it all.
05:33We can even set metadata for our banner ads if we wish.
05:38So I am going to go ahead and say Save & New, and I am going to go ahead and
05:43configure the Basil Olive Oil ad and the Garlic Olive Oil ad right now, and I'll
05:49catch you as soon as I've entered all of that information.
05:54Okay. So I have gone ahead and entered my information for the Basil Olive Oil and the
05:58Garlic Olive Oil and I'm all set.
06:00So I am going to go ahead and say Save & Close.
06:03You can see that we have our three banner ads. They are all set up here and they
06:07are all ready to go.
06:09So now I need to display these on the web page.
06:12Remember I mentioned that banner ads are a combination of a component and a module.
06:17So we've set up our component with the individual banner ads. Now we need to set
06:22up the module which controls where these display on the web site.
06:26So I am going to go to Extensions > Module Manager and I am going to create a
06:31new module by clicking New and I am going to pick out Banners from my list.
06:36So the Banner module displays the active banners from the component.
06:39We will go ahead and give this a title of Two Trees Olive Oil banner ads.
06:45Of course I am not going to show that, so we will hide that.
06:50The position where I will put this is down near the bottom of the page.
06:54So somewhere, let's say on the next screen, maybe footer top.
06:59Over on the right side of the screen we have the option of where we would
07:05like the window to open.
07:06When people click the banner ad, does it open in a new window or does it open
07:09in the same window?
07:11If I was setting up some external banner ads, I would want them to open in a new window.
07:17They'd leave my web site and go somewhere else.
07:19But my banner ads are all internal to my web site, so I would actually like to
07:24change this to Open in parent window, in other words, open in the same window.
07:29The other choice you have here is to open in a popup.
07:32The Count is how many banners I'd like to display at a time. My answer is 1.
07:36I just want one ad.
07:38My client is Two Tress Olive Oil and my category is Two Tress Olive Oil.
07:42And then under Randomize, right now I have it to Sticky, Ordering. Because I have
07:47this by Ordering and I am showing one banner ad per page, it's going to show me
07:51the same banner ad over and over again.
07:53What I really want is the Randomize option.
07:56So let's go ahead and click Save & Close and I am going to refresh a few
08:00times, and you see that the banner ad changes from the Lemon to the Garlic.
08:09And if I refresh a few times more, maybe we will eventually see the Basil in here as well.
08:13When I click on these, it's going to go ahead and go to my Olive Oil page on the web site.
08:18So now I've got the Garlic at the bottom. If I click again, I actually set these
08:23up to all go to the same page on the web site.
08:24I didn't have to do that.
08:26I could have put these going to different pages.
08:29The very last thing I need to show you in the backend of Joomla, we are going to
08:34go back to the Components, back to Banners, and let's go to Tracks.
08:39This is tracking the impressions that I have had for the various banner ads.
08:43So you can see that the Lemon served up 20 times, the Garlic served up once, and
08:48somebody clicked on it, but it also served up 3 times when it wasn't clicked on.
08:53The Basil was served up once and it was immediately clicked on.
08:56This kind of information is incredibly important when you're working
09:00with selling banner ads.
09:02The people who buy the banner ad space on your web site want to know how
09:06effective their banner advertising is becoming, so being able to provide them
09:11this kind of information is very, very helpful.
09:14Note that there is an Export button up here, so that you could click this
09:18and you could download the tracking data as a CSV file or something where
09:23people could open this up in Excel and see exactly how all of their banner ads are doing.
09:28So this Banner Ad Manager is a tremendous improvement over the Joomla 1.5 Banner Manager.
09:35There is much more information about how well banner ads are performing, who is
09:39clicking on them, and that type of thing.
Collapse this transcript
Using the web links component
00:00In our site map our client called out a links page for the web site.
00:05We could create an article and type all of the links in to that single article
00:09or we could use the web links component that comes with Joomla 1.6.
00:13In your Exercise Files, you have a list of four links that we need to include on our web site.
00:21Truthfully, if I was building this site really for a client, I would probably
00:25just make an article and put those four links in it.
00:27The reason why? Because it's a very short list, they're probably not going
00:31to add to it, and so there's not a lot of reason to use the web links functionality.
00:36Web links component is a great thing to use if you have lots and lots and lots
00:41of links and they are in several different categories and you need a way for
00:45people to navigate through them easily.
00:47But because this is a training video and I want to show you as much
00:51functionality as possible, I am going to go ahead and show you how the Web
00:54links component works.
00:56In order to do that, we are going to go ahead and go to Component > Web Links
01:02and once again we have Categories that are available for us as well as the Links themselves.
01:07So we will go ahead and go in to Categories and a lot of this should start
01:11looking familiar to you by now.
01:13We have an Uncategorized category by default.
01:16We can create a new category and we'll call it Partners.
01:20No parent for that category and we don't need to set up anything else on this page.
01:24Go ahead and click Save & Close.
01:27Now we can go to Web Links.
01:29We can go ahead and create each individual link that we are going to show within
01:33that Partners category.
01:34So go ahead and click the New button and we will enter a title, which in this
01:40case is the Wikipedia article on olive oil.
01:45The URL is just copied right over here from our document.
01:49We are going to have it Published.
01:53We are going to put it in the Partners category and we have options here
01:57that you're very familiar with. Any description we want to put on here about
02:00that particular page
02:02we can add down here in the Description box, we can set start and finish
02:06publishing dates, and we can also set some options for the links in general.
02:12Right now it's settings to use our global settings, which I didn't show you
02:17in the Web Links Manager, but this would be the place we could override
02:21those global settings.
02:22Let's go ahead and click Save & Close for this particular link and we'll take a
02:26look at those options.
02:28So I am going to click on the Options.
02:30Right now all of our links are set open in a parent window.
02:35In other words, when they go to the Wikipedia article, they are going to open it
02:40up on top of the Two Trees Olive Oil web site.
02:42I would like that to open in new window.
02:45We are being very consistent about external links opening in new windows.
02:50So I am going to change that to open in a new window.
02:52We are also set to count how many clicks we are going to get each time people
02:58visit a link on the web site.
03:00That's nice to know, because it's just nice to know who is visiting those
03:04particular links and how helpful they are for the web site.
03:06So we are going to show that as well.
03:09We have the similar kinds of Category and Categories options than we had before
03:14and we've seen these before now in the Category Manager, we've seen then in the
03:18Article Manager, and we also have options here for our List Layouts.
03:23We will take a closer look at that momentarily.
03:26So let's go ahead and click Save & Close.
03:29I am going to go ahead and enter the additional three links here into my Web
03:33Links Manager and I'll catch you just as soon as I'm done.
03:39So I have just entered my last link here for my Web Links and I am going to go
03:43ahead and hit Save & Close and here are the four links that we want to appear on the web site.
03:48So now what I am going to do is just like any other component, now that I have
03:54created my links, now I need to have some way for those to show up on the menu.
03:59That means I need to create a new menu link.
04:00So I am going to go Menus > Main Menu, and I am going to click the New button to
04:06add a new menu item to our menu.
04:09The menu item type, I will click the Select button and you notice down here at
04:13the bottom left-hand corner, we have a thing for Weblinks.
04:16We can list all of the web link categories.
04:19So if we have several categories of links, we could list them all on page.
04:23We could list all of the web links within a specific category.
04:26That's the one I am going to pick or notice that we have an option to Submit a Web Link.
04:31If you're running a community web site in which people who are visiting your
04:34site might want to contribute, you could have web link submission form in which
04:39people suggest links to include in the resources portion of the web site.
04:43So the one I am going to pick is List Web Links in a Category.
04:49Then it's going to ask me for menu title, which will be links.
04:52On the Main Menu, on the Menu Item Root. It's going to be right on up there with
04:56everything else. And we are going to select our category, which is Partners, and
05:01I am going to go ahead and click Save & Close and when we get over here to the
05:05front end of our web site and I hit Refresh, our Links link shows up.
05:11Go ahead and click that and we have a list of our links here on the web site.
05:16Notice that we have an icon displaying next to these.
05:19That icon indicates that this is a link that goes off the web site.
05:23This column is actually showing hits, but we are missing the header at the top.
05:28What I am going to do is I am going to turn off the display numbers here. I am
05:31going to also turn off the hits, because there really is very little value in me
05:36telling people how often certain things have been visited.
05:40Particularly when they all say zero like this.
05:42It looks like nobody is visiting my web site and nobody is using any of my resources.
05:46I am also going to try to turn off these icons over here on the side.
05:51So in order to do all of that, we're going to go back to our Weblinks component
05:56and right here in our Web Links Manager, we are going to click on that Options
06:00button and we are going to revisit that List Layouts that I referred to earlier.
06:04We will hide our Display Select.
06:06We are hiding our Table Headings already.
06:09We can hide the Links description.
06:11I didn't actually use that, but to make things consistent in case somebody
06:15enters a link where they do use it, let's hide it.
06:17And we will also hide the Hits.
06:20So let's go ahead and hit Save and let's see if that takes care of things for us.
06:26Now we have a listing of our Links, each one of which has the globe next to it.
06:31So we haven't managed turn off the globe yet.
06:34Let's go back to the individual Weblink.
06:37Right now we have the option of selecting an icon.
06:39Let me try clicking this Clear button and see if that works.
06:43I suspect it won't, but let's try it.
06:45When I refresh this page, we still have the globe here.
06:50So what you could probably try doing if you want to get rid of the icon would
06:54be to create a transparent GIF for example and you could use that here,
06:59upload that as the image to appear next to each link, and then you wouldn't see
07:03that globe anymore.
07:04That would be one way of handling the situation.
07:07Go ahead and hit Save & Close.
07:10Now we've managed to come up with a great way of listing our links here on the web site.
07:16The Partners title, which is title of our category, if I want to have the word
07:21Links to show up at the top of the page instead, I can go ahead and do that.
07:26Here in my Options under Category right now the Category Title is set to Show.
07:31I could set that to Hide instead.
07:36That will get rid of that Partners thing at the top of the page.
07:39Now what I could do is go in to my individual menu item, under Main Menu, under
07:46Links, and then under the Page Display Options, I could put in Show Page Heading
07:54for Yes, and I can put in Links as my Page Heading.
08:00If I don't type in anything for Page Heading but I do turn it on, it also will
08:03take over the menu title and display that at the top of the page.
08:07So we will go ahead and say Save and I will refresh this page.
08:12Now I at least have the word Links at the top of the page,
08:15it's a little bit more consistent, followed by my links to all of these
08:18articles on the web site.
Collapse this transcript
9. Using Templates
Changing the look of the site using templates
00:00Templates define the way a web site looks.
00:03Joomla comes with several different templates, both for the front end of the web
00:08site and for the back end of the web site.
00:10There are many more templates available for free download or for a paid
00:14download, or of course you can always code your own template.
00:18We're going to take a quick peek at our Template Manager located under
00:22Extensions > Template Manager.
00:24You'll see that we have template styles listed here in the initial screen.
00:30Template styles are new to Joomla 1.6.
00:32We didn't have them in Joomla 1.5.
00:35In Joomla 1.5 we had just Templates, which are now called Template Masters in Joomla 1.6.
00:43As you see here listed on our page, there are five templates available for
00:48us for the web site.
00:50And they're all listed on the same screen with the administrator templates.
00:55So down here as you can see there's a location for Administrator.
01:00The Bluestork template and the Hathor template both ship as backend administrator
01:06templates for Joomla 1.6.
01:08We are currently using Bluestork, which you know because it's selected as the
01:13default template over here on the side of the page.
01:16We're not currently using Hathor, which is a fully accessible template in Joomla 1.6.
01:23We also have three templates for the front end of the web site.
01:26Right now, we're working with the Beez2 template and this is our default template.
01:32Once again we see that assigned to default for the front end of the web site.
01:36There's also the Beez5 template, which looks very similar but it utilizes HTML5,
01:44 which is terrific.
01:46You've got something incorporating the new HTML5 standard in Joomla.
01:50And we also have the Atomic template, which is designed to be a starting point
01:56for people who want to have a template already in place and then add to it, as
02:01opposed to building their own template from the ground up.
02:05In coming videos, I'll show you how to change these template styles and how to
02:09use the Template Manager to modify your HTML and your CSS.
02:13It's possible to have multiple styles assigned to your web site and we'll go
02:18through all of that.
02:19However, I will not be covering how to code your own Joomla template in the
02:23Joomla 1.6 Essential Training course.
02:26That's because coming up very shortly the Joomla 1.6: Creating and Editing Your
02:31Own Custom Templates will be available for you to watch if you're interested in
02:35creating your own custom templates from scratch using Joomla.
Collapse this transcript
Setting the default template style and assigning template styles
00:00New in Joomla 1.6 are template styles.
00:04Template styles are a great way to quickly and easily assign different looks to
00:08the web pages on your site, without having to deal with HTML or CSS.
00:14So, let's take a look at how these work.
00:16If I go to Extensions > Template Manager, by default we're at the Style screen immediately.
00:24You can see that we have two templates in use right now: the Beez2 template and
00:29the Bluestork template.
00:31And the Bluestork template is controlling the administrative side of the web site,
00:34while the Beez2 template is controlling the front end.
00:38I can change the entire look of my web site instantly by going and changing the
00:43look of the web site here to let's say Beez5, the Default-Fruit Shop.
00:49All I have to do is click on the Default icon here.
00:52And when I go back to my web site and I refresh, my entire web site has been
00:58completely redesigned and it now looks like a fruit shop.
01:02So, I can flip through pages on my web site and you'll see that they're all
01:05completely redesigned now for this new template, the Fruit Shop template.
01:10I can redesign again very easily by going back to the backend here of Joomla
01:15and reassigning Beez2 as my default template.
01:18And when I refresh the web site, it's back to the way it was looking before.
01:23I can also assign the Fruit Shop template to specific pages.
01:27So, if I went into the Fruit Shop link here and I checked off some of the pages,
01:33let's say I want the About section to have the Fruit Shop look,
01:36I could just check off a few pages here and say Save & Close
01:43and when I refresh the News page, we see the Beez2 template and when I go to the
01:49About page, we will see the Fruit Shop template.
01:52Obviously, this is probably a serious fashion no. You don't really want to make
01:57your site that radically different from one page to another.
02:00We have fruit on one page and Joomla on the other.
02:03However, some people do like to make different sections of the web site to have
02:07different color schemes or perhaps you want different banners on different pages,
02:12or different wording on different pages, something like that.
02:15If these things are tied into a template, a template style is your great, quick
02:20and easy way to switch the look of the web site between pages.
02:23But the truth of the matter is I really want all these pages under the Beez2.0 template.
02:28So, I am going to go back to the backend, back into my Fruit Shop, and I'm
02:33going to uncheck the pages that I just assigned to the Fruit Shop and say Save & Close.
02:40And when I refresh the page and go into my About section, I am back again at the
02:48way the site should look.
02:50Let's take a look at the Beez2 template style in a little bit more detail.
02:55If I click on this to go into the Style, over on the right side are these things
03:00called Advanced Options.
03:03These Advanced Options are created with template programming and every template
03:07will come with different Advanced Options.
03:10These Advanced Options here are unique to the Beez2 template.
03:14If you look at other templates, you'll find different Advanced Options.
03:18So the Beez2 template allows us to do some things.
03:20For example, it allows us to change our template color.
03:24Right now our template color is set to something called Personal.
03:28If I change it to Nature and say Save and then refresh my page, I have a
03:38different look for my web site.
03:39Now we're working with a teal green and my menus have moved around just a little bit.
03:44I like this design better because the banner on the top isn't so high that
03:48it doesn't push my contents so far down the page, and the teal I think also
03:52works for Two Trees.
03:53Now what we need to do is get rid of that Joomla logo up at the top and make it
03:57say Two Trees instead.
03:59So, I am going to go back into the Beez Style template and instead of the Site
04:03Title here, I am going to type in Two Trees Olive Oil.
04:11And for my Site Description, I'm going to say "The Best Olive Oil In The World."
04:19And I am going to clear the Logo, so that there is no logo appearing in the top
04:24of the document anymore.
04:25We don't want to see Joomla.
04:25So, I am going to go ahead and say Save again and when I refresh the page of my
04:31web site, now it actually says "Two Trees Olive Oil, The Best Olive Oil In The
04:36World," which is terrific.
04:38We now have a very attractive-looking text-based logo that tells us the name of
04:42the web site, and finally this site is starting to look a little bit more like
04:46a real web site.
Collapse this transcript
Creating new template styles
00:00The next thing I would like to show you with template is the Template Master.
00:04I just like to give you a brief introduction to it.
00:07This is where you can adjust the HTML and CSS directly.
00:11So let's take a look at that Template Manager by going to Extensions > Template
00:15Manager and by default this page opens up into our Templates Styles.
00:20If you click on the tab here for Templates, here are some of the master templates
00:25that are listed here and you can see nice large thumbnails showing each of the
00:30templates and detailed, and there's several of them listed here.
00:35Including the two administrator templates at the bottom and the 3 templates that
00:40ship with the web site on the top.
00:43If I click on the Preview link here I get a preview of the web site with TP
00:50equals one turned on and a specific template, so I can see all of my module
00:54positions here for the web site. Close that tab and if I click on the beez_20
01:00Details I'll go into a screen that looks like this.
01:05On the left side of the screen these are the Template Master Files that are listed.
01:09We can edit the main page template. Basically that's the major look of the web site.
01:15We can also edit the error page template. This is the page that displays when
01:20you get a 404 Page Not Found error or other type of error on the web site, and
01:26we can also edit a printer- friendly view template as well.
01:30These are all available to us here with this particular template master.
01:35On the right side of the screen we have a listing of all kinds of style sheets
01:39that are here. Fortunately they are named such that you can kind guess that what they are.
01:44Template RTL stands for the right to left template for Joomla.
01:49This is for people who work with languages that are read from right to left,
01:52instead of left to right.
01:54Template.css is probably the bulk of the CSS for this web site. print.css refers
02:00to printer friendly versions, position refers to the positioning and then we
02:05have the personal and the nature.
02:06Remember the dropdown in the templates style where we could switch between
02:10the Nature and the Personal color schemes, and that probably contains colors for those.
02:16Layout might contain some layout information. We have some IE style sheets, Opera
02:20and Mozilla and Konqueror style sheets.
02:23We also have some general styling and something for black.
02:27So you can guess the content for most of these just from the names and if we
02:31click on any of these in particular, let's just try template.css, we'll go into
02:36a window where we can work with the CSS right here.
02:41And one of the wonderful new features in Joomla 1.6 is that we've actually been
02:46given a color-coded editor. Hooray!
02:48So we can see what we're dealing it's much easier to read the code here than it
02:53was previously where every thing was all the same color.
02:56So I strongly, strongly, strongly recommend before you ever open up any of these files,
03:02you make a backup of your web site, even if that backup is just copying
03:06the existing CSS and pasting it into a text file that you have on the side, in
03:11case you really messed something up.
03:13You'll want to have that available, so that you can plug it back in and fix your
03:17site if you do something really bad.
03:21Let's take a look at the main page template and you'll see that this is also
03:25color-coded. The stuff at the top here is all PHP and then we get into a little
03:30bit HTML, which is color-coded, and things that are commented out and so forth.
03:36So once again, you're more than welcome to poke around to the HTML and the CSS
03:42for these templates that come with Joomla, but be very, very sure that you make
03:47a backup before you do too much.
03:50I'll be doing a course later on creating and editing custom Joomla 1.6
03:54templates, where I'll go into great detail that constructing your own Joomla
03:59template from scratch and editing in working with the HTML and CSS files within
04:03Joomla, at a later title.
Collapse this transcript
Adjusting template masters with the HTML and CSS editors
00:00You can create new template styles in Joomla based on template styles that
00:05are already existing.
00:07Let's take a look at how that works.
00:09If we go to Extensions > Template Manager and let's duplicate our Beez2
00:16template by putting a checkmark next to it and then clicking the Duplicate button,
00:21we've just made a copy of Beez2, and that means that we can now change
00:27some of the options associated with this template and assign it to different
00:31pages of the web site.
00:33So what I'm going to do is go into Beez2 - Default, number two, and I'm going
00:37to change the name of the style so that you know what this is, to Alternate
00:44Tagline and what I want to do is assign this just to the Shop pages of the web site,
00:51these three here.
00:52So when you go into the Shopping part of the web site, the tagline is going to
00:56read "Great Shopping Great Values."
01:00So I'm going to change that site description from the "Best Olive Oil in the
01:03World" to "Great Shopping Great Values," and I'll go ahead and click the Save
01:12button, and I'll refresh the front-end of the web site.
01:16As expected the homepage hasn't changed but when I go to the Shop page I now
01:22have a different tagline, "Great Shopping Great Values," just like this.
01:28And when I'm in other sections of the web site it says "The Best Olive Oil in the World."
01:33This is a great way to be able to make small customizations without having to
01:37know HTML or CSS, and then apply them to other pages in the web site.
01:42I know that we could take that tagline and accomplish the same thing by
01:46working with a custom HTML module and assigning the module to the pages where
01:51we want that to display.
01:53So think of this as just a simple example of one way we can customize the
01:58styling of this page.
01:59We could have said, for example, attach a style sheet to make the page the blue
02:05theme for a few of pages or the green theme for some of the other pages.
02:09That type of thing is a little bit more complicated and harder to implement than
02:13just a module would be.
02:15But these template styles make styling certain sections of the web site
02:20very easy for people without knowledge of HTML and CSS, like your clients, so
02:26this is one of the great new features in Joomla 1.6.
Collapse this transcript
Changing the admin template
00:00I would like to give a tremendous hat tip to my good friend Andrea Tarr who
00:05created the Hathor template in Joomla 1.6.
00:08Andy got the job of creating the Hathor template back in 2009 when she was part
00:13of the Google Summer of Code and as part of that project she was tasked with
00:17creating a fully accessible administrator template.
00:21You may be familiar with the concept of accessibility.
00:24This is the concept that people with various disabilities are able to still
00:28work with the web site that maybe they cannot use a mouse, maybe they can only
00:32navigate by keyboard, or they may be low vision or blind, or they may have some other disability.
00:39Andy created the Hathor template with all of the accessibility points in mind
00:43and I would like to show that template to you now.
00:46If you are building a site for the government in particular and especially the
00:49U.S. government or for colleges or universities where there are requirements for
00:54accessibility compliance such as Section 508 or WCAG sometimes called the WCAG,
01:01the Hathor template will go a long way to helping you meet those requirements
01:04for your client at least on the backend.
01:07Remember that your frontend template has nothing to do with the backend template.
01:12So your frontend template would also need to be coded with
01:15accessibility features in mind.
01:18Many of those accessibility features are built into the Beez templates.
01:22But if you download a commercially available template or a free template, those
01:26accessibility features may not be present.
01:29Personally, if I needed to code a template with accessibility in mind, I would
01:34probably do it from scratch.
01:36Let's take a look at the Hathor template.
01:39If we get to Extensions > Template Manager, we will go ahead and select Hathor
01:46from our list of templates right here and you'll see that the backend changes.
01:51That's because we are now looking at the Hathor design here in the backend of
01:54the Administrator template.
01:56So I am going to go to Site > Control Panel just so that you can see some of
02:01the differences here.
02:02If I go to Content > Article Manager, you'll also see that this looks a
02:07little bit different.
02:08One of the most notable differences is that the icons that were previously up
02:12here in the upper right corner are now down here just above the content and it's
02:18nice especially if you're working on a really big monitor to be able to jump to
02:22these icons quickly while you're working with the content down below.
02:27Note also that the secondary navigation now has a tab treatment, so we can click
02:32on the tabs here and go to our Category Manager or Featured Articles for the web
02:37site very quickly and easily.
02:39I am going to show you some of the other features in Hathor by going to the
02:42Extensions > Template Manager and if I click on the Hathor template style,
02:49you'll notice that we have some template options that come with this as well.
02:54First of all, we can show the site name in our header.
02:56Let's go ahead and turn that on to see what happens.
02:58I will click the Save button.
03:01Now it says Two Trees Olive Oil Administration instead of just Administration.
03:06We can also select a color theme and Hathor ships with four color themes.
03:10The one we are looking at now is called Standard.
03:12Andy's favorite is Blue and if we turn that on, you will see that's
03:17actually quite attractive.
03:19Nice gradient there and everything.
03:21There's also a High Contrast.
03:24This is an important feature for people who have particularly low vision and who
03:29may read better with a dark background and bright text.
03:32So this isn't really designed necessarily for people you have normal vision.
03:38You can pick any one of these themes and show them.
03:41You can also make the text bold if you wish.
03:45Some people do better reading their text bold than reading it in the normal format.
03:50Again, it adds a little bit of extra contrast so that you can see what you are doing.
03:53I am going to go ahead and turn off showing the site name and bold text now and
03:59I am going to go ahead and hit Save & Close and I am going to reset my default
04:03administrator template back to Bluestork, because that's what I've been using
04:07throughout this training video and I don't want anyone getting confused by
04:11suddenly switching over and using Hathor.
04:13But I would like to tell you about one final feature that has to do with
04:17administrator templates.
04:18In recent years a lot of people have gotten into creating their own Joomla
04:22administrator template.
04:23So if you look around on the web you may find other administrator templates
04:27that are available that you may wish to use instead of the default Bluestork template.
04:32Do keep in mind, however, that if you're using different administrator templates
04:36for different clients you may have a hard time talking to your client on the
04:40phone about how to get certain tasks done in Joomla.
04:43One of the first questions you will have to ask them is which administrator
04:47template they are running and that might not be a question that they know the answer to.
04:52So you might want to think about that carefully when you start thinking about
04:55alternative administrator templates.
04:57However, there are now templates that are available that run on iPads, templates
05:01that are designed for mobile use, and many, many different styles of templates
05:06for your PC as well.
05:08The other thing to remember is that because Bluestork is the backend
05:11administrator template by default, most books and videos you'll encounter will
05:16wind up using it as part of their training process, rather than some of the
05:20alternative administrator templates that are currently on the market.
05:23The last thing I want to show you is under Users in our User Manager, we haven't
05:29taken a close look yet at our User menu.
05:33But inside of our account here, which is probably the only one in your web site,
05:38the Super User account, if I click on this, an option that I have here within
05:44my profile specifically for me, and this is new in 1.6 and it's such a terrific
05:50feature, is the ability to assign an administrator template to individual people.
05:56So, if you have someone on your web development team who needs to use the Hathor
06:02template but the rest of the team feels more comfortable using Bluestork,
06:07you could assign the one person who needs the Hathor template, the Hathor template
06:12right here through their User Manager profile and everybody else could be
06:16running another administrator template.
06:19The other great part about that is you could always leave the Bluestork
06:22administrator template turned on for your clients, so that it would match video
06:27training and book training and so forth that your clients might be referring to,
06:31whereas you personally as the web developer, perhaps you prefer one of these
06:35alternative administrator templates for your own personal use.
06:40So that way you can control that all of your clients have one particular,
06:45the Bluestork template let's say, and then you personally are working with your own
06:50administrator template of choice.
06:52It's a great new feature in Joomla 1.6.
Collapse this transcript
Joomla! templates from third-party providers
00:00If you do a quick Google search for Joomla templates, you'll turn up a zillion results.
00:05The results fall in to two classification, paid or free. Which is better?
00:11You already know the answer. It depends!
00:15Free is a great price and there are some very good free templates available.
00:20However choose your provider carefully.
00:23Since anyone can post a free template, frequently anyone does.
00:28That means that some templates don't have many module positions, are limited in
00:33their ability to customize them, or they're not tested for all browsers.
00:38If you get a free template from a commercial template provider-- most offer some
00:42kind of free templates to generate traffic to their web sites--
00:46you'll wind up with the best quality.
00:49In my mind it's worth paying for a template. I want good quality, good support
00:55and a minimum of hair pulling while I try to get it to look the way I want.
00:59I have found that many paid templates are excellent, particularly those from
01:04RocketTheme at rockettheme.com, JoomlaShack at joomlashack.com and JoomlaArt at joomlaart.com.
01:16These are my favorites, but there are many other great providers out there.
01:20In the end, judge your template by its basic layout. Think about the location of
01:25the logo, the primary and secondary navigation, and how many columns it has
01:31versus how many you need.
01:33Think about what you need on the homepage. Just because the module has 20
01:37positions doesn't mean you need to fill all 20.
01:42Remember also that you can fold the cost of templates and extensions into the
01:46cost of doing business in creating the web site.
01:50Frequently, it's a lot cheaper to pay $50 for a template that's fully debugged
01:56then to download a free one and spend countless hours trying to get it to work
02:01in Internet Explorer 7 and Safari.
Collapse this transcript
10. ACL Essentials
Introduction to ACL
00:00Joomla 1.6 introduces some very important changes in regards to permissions.
00:07Access Control Levels or ACL is one of the major new features in Joomla. Now just
00:14because you can, doesn't mean you should.
00:18If you are building a simple web site, you may not need any of these permissions
00:22and features I'm about to show you.
00:24However, if you're in a situation in which a group of people need to see
00:29certain areas of the web site but not others, or if person A needs to edit only
00:33this area of the web site, person B needs to edit that area, then ACL maybe helpful to you.
00:40Because this is an Essential Training course I'm not going to cover all aspects of ACL.
00:45When you get into the backend and start determining who can edit which items,
00:50well it makes the difference between global article options, menu options, and
00:54article options look like a cakewalk.
00:58I'm going to give you an overview of how ACL fits together, and then we'll build
01:02a portion of the web site visible to different audiences once they've logged in.
01:07This is a diagram explaining the four aspects that work together to provide ACL
01:12on your Joomla 1.6 web site.
01:14First of all, in the upper-left there is the user.
01:18The user is the easiest thing to understand.
01:21Users are created in the User Manager where you can assign the groups to which
01:25they belong, the editor they use, the administrator template they have and
01:30other various options.
01:32Users belong to user groups.
01:35A user group is a group of users with certain permissions and comment.
01:39By default, the groups in Joomla 1.6 include Public, Registered, Author, Editor,
01:47Publisher, Manager, Administrator, and Super User.
01:52If you think those sound familiar, that's because they probably do. These groups
01:56have similar permissions and similar names to those in Joomla 1.5.
02:01However, you can change the permissions if you wish for these existing groups or
02:07you can delete these existing groups all together.
02:11You have to keep the Public group but every other group on the web site can be deleted.
02:16Groups may be assigned permissions for editing the backend of the web site and
02:21they maybe assigned permissions for viewing information on the front end of the web site.
02:26There are core permissions.
02:27These permissions allow the user group to complete certain actions, including
02:33logging into the front end or backend of the web site,
02:36creating, editing and deleting content, publishing, unpublishing and trashing
02:41content, editing your own content that you created, accessing the component
02:46configuration, and identifying which user groups are super-users.
02:53Permissions are assigned to groups, not to individual users.
02:58If a specific user needs their own special set of permissions, they need to be
03:03assigned to their own user group.
03:05Finally, access levels control what specific groups are allowed to view on the
03:10front end of the web site.
03:12In Joomla 1.5 these groups were Public, Registered, and Special.
03:17Those are still present and they're still configured in the same way.
03:21Public means anyone can view the content, Registered means that registered users
03:26and higher levels can view the content, and Special means that Authors, Editors,
03:31Publishers, Managers, Administrators, and Super Users can view the content.
03:36It's now possible to make a new access level, controlling exactly who gets to see which content.
03:43Access levels do not inherit permissions, unlike groups, which do
03:48inherit permissions.
03:50So if I make a piece of content available to Publishers only in a certain
03:56access level and I am logged in as a Super User, a Super User who is not part
04:01of the Publisher group, I can not see that particular piece of content even
04:07though I am a Super User.
04:09So remember that the group is hierarchical.
04:14If I'm an administrator and a manager has permission to do something, it's
04:18likely that I inherit that ability to do the same thing.
04:21However, access levels are not hierarchical.
04:26If you want managers and administrators to be able to see the same piece of
04:29content, you must specify it as such.
04:33I'll be going through user groups and access levels in detail in the next few
04:37videos and I can't emphasize this enough. Just because you can doesn't mean you should.
04:46You do not have to use ACL at all on your web site.
04:50You can leave all of the default settings alone and for smaller web sites you
04:54probably don't need to change a thing.
04:56You don't even need to get into this.
04:58ACL is a very large and complicated topic, so I am only going to cover who can
05:03see what on the web site.
05:05This covers most situations for most people who want to use ACL.
05:10In this chapter, we're going to create content for two different user groups on
05:15the front-end of the web site.
05:16We'll create a login area to show to our Two Trees Olive Oil employees.
05:21We'll also have that same login area for our Two Trees Olive Oil distributors,
05:27who can see completely different content than the employees see.
05:30They'll be able to do this via that same login on the web site.
05:34This is something that was not really possible in Joomla 1.5 and it's a valuable
05:39new feature in Joomla 1.6.
Collapse this transcript
Understanding default groups
00:00By default, permissions in Joomla 1.6 and the ACL system is set up exactly as
00:07it was in Joomla 1.5.
00:10By default, there are eight user groups that come with Joomla 1.6.
00:16You can see these user groups by going to Users > Groups.
00:21And this will show you a list of all existing user groups on the web site.
00:26These include Public, Manager, and Administrator.
00:31Note the nested way that these are displayed on the page, indicating that
00:35Administrator inherits permissions from the Manager.
00:38The Manager inherits permissions from the Public.
00:41We also have Registered users, Authors, Editors, and Publishers.
00:47Notice again that the Registered user is a child of Public.
00:51And that the Manager and Administrator are on their own branch of this.
00:56So Publisher is inheriting permissions from the Registered users, Authors, and Editors.
01:01Editor inherits permissions from the Authors and Registered.
01:04Finally, we have our own special group set aside by itself called Super Users.
01:10These are the super administrators for the web site.
01:13And they have their own special set of permissions and they are also a child of Public.
01:18You are welcome to use these default groups when working in Joomla 1.6.
01:24They're great for assigning different people to manage the web site and to make changes.
01:29However, if you need to customize ACL, I have found that these groups get very
01:34confusing very quickly.
01:36That's because these groups inherit permissions from other groups.
01:41The Zen of Python says that flat is better than nested. And I agree.
01:46If we need to customize the ACL, I do not work with the settings right out of the box.
01:51I am going to make my own groups, my own users, and my own access levels.
01:55And I am going to show you how to do that in the next few videos.
Collapse this transcript
Creating a new group
00:00A group is a group of users with certain permissions in common.
00:05There were user groups that come with Joomla but I recommend creating new user
00:09groups for the work we're about to do
00:11When constructing user groups, think about the types of tasks that a group of
00:16users will need to execute.
00:18In this case, for both our Employees group and for our Distributor group,
00:23they both need to log into the front end of the web site.
00:26Once they are logged in, they should be able to see different kinds of content.
00:31We'll also need to think about our users and whether they fit in the
00:34groups we've outlined.
00:36A Distributor group and an Employee group. Is there any possibility that
00:40Distributor is also an Employee or an Employee is also a Distributor?
00:46That's fairly unlikely with this type of grouping, but those kinds of overlaps
00:50should be considered.
00:52Our example is pretty simple intentionally, so we know we need to create two
00:57groups, one for the Employees and one for Distributors.
01:00So to create a new group, go to Users > Groups > Add New Group.
01:10We'll enter a title for our group and in this case, I'm going to enter
01:15Distributors user group, so it becomes clear that this is a user group
01:22we're talking about.
01:23The Group Parent will be Public. I'm going to go ahead and click Save & New
01:28because I have one more group to create, which is the Employee user group.
01:34Its parent is also the Public.
01:37Go ahead and click Save & Close and you'll see here in our structure for the
01:42web site that the Distributor user group and the Employee user group are now
01:47children of Public.
01:49All of the default user groups are listed underneath and we will not be using
01:54these on this particular web site.
01:55Now that we have our two groups created, we're ready to create and assign users
02:01to these two groups.
Collapse this transcript
Creating a user
00:00Now that we have user groups created we're ready to start creating some new users.
00:05For this example, I'll create one login for employees and I'll create one login
00:10for distributors, but you could obviously create multiple users if you wished.
00:16Creating a user is a very simple process.
00:19Ideally you will create a user for each person who will access the web site.
00:24There really is no need to share logins.
00:27That also means that you can delete logins when they're no longer required if
00:31everyone has their own.
00:33You don't have to worry about people who are no longer authorized to access the
00:36web site logging in with somebody else's login.
00:40So to create a new user we'll go to the User menu to the User Manager and
00:46we'll pick Add New User.
00:49And you'll see this form, which we can complete as follows.
00:53I'm going to create a login for my client Maria Vitalia, who happens to fall
00:58into the Employee group.
00:59So her Name is Maria Vitalia and her login name will be maria.
01:06I can enter a password for her and confirm that, or I can leave these blank and
01:11when I save this user an email is generated which will send this information out
01:16to Maria at the email address that I specify.
01:19However, when I'm working on my Windows computer with XAMP, likewise on the
01:24Macintosh computer with MAMP, the email function does not work.
01:29So this will only work if you're working on a web host.
01:33So I'm really need to go ahead and type in the password.
01:35So I'll go ahead and do that now.
01:40Ideally, you'll encourage your users to change their passwords. Because Maria
01:45will receive an email that will contain her username and password, you should
01:49encourage her to change that password once she logs into the web site.
01:53That also means we have to add a link so that she has the ability to change that password.
01:58Encourage her to have a very good, very strong password, particularly if she
02:03becomes a Super User, and as the CEO we might eventually wind up promoting her to super user.
02:09Strong passwords should contain at least eight characters and they should contain
02:13upper and lowercase letters, numbers and symbols, and those passwords should be
02:18stored in a secure location where they can't be tracked down and used.
02:22Please remember that a sticky note on the bottom of your keyboard does not count
02:27as a secure location.
02:29So I'll go ahead and enter her email address, mvitalia@twotreesoliveoil.com.
02:38I'm going to scroll down at this point and currently she is not assigned to any user groups.
02:45So I need to assign her to a few of these user groups.
02:49She of course is part of Public.
02:51She is also part of the Employee user group.
02:54I'm also going to assign her to the generic Registered user group.
02:58This is, in other words, anybody who logs into the front end of the web site will
03:03be able to see certain content and that's actually going to come in handy for us
03:07a little bit later down the road.
03:10Over on the right-hand side of the screen I can assign some settings that apply
03:14to her specifically.
03:15She is not able to log into the backend of the web site so there is no reason
03:19for me to set her Backend Template Style or Language.
03:23And this isn't a multilingual site anyway, but if we wanted to do so we could
03:28set a Frontend Language for the web site as well.
03:31We can assign her a specific editor.
03:33By default we're using TinyMCE.
03:36As you'll recall, that's our editor for entering our contents into the web site,
03:39but there are many third-party extensions that could be used instead as an editor.
03:44We could specify a different Help site than the default that's being used.
03:49By default the Help site's written in English and typically people will use a
03:52different Help site if they're working in a different language.
03:55We can also set her time zone, if it's different than the default for this web site.
04:00So I'm going to go ahead and hit Save & New and you'll notice that we get this
04:04error at the top of the page about "Could not instantiate mail function."
04:08That's the error I was telling you about.
04:11An email when we create our new user is normally sent out, but because we're
04:16running locally using XAMP or MAMP, that mail function can't run.
04:21It will work on any web site that's located on a web host.
04:24So I'm going to create a second user now.
04:27This is Robin Horton, and her login name is robin, and she has a password, and
04:35she has an email, robin@example.com.
04:41Robin is of course also part of the Public and she is part of the Distributors
04:46user group, and she is going to be a Registered user as well.
04:51So I'll go ahead and click Save & Close and this will return us to our User
04:57Manager where we can see that we now have three users for our web site.
05:01Maria is part of the Public, Registered, and the Employee user groups, whereas
05:06Robin is part of the Public, the Registered, and the Distributors user groups.
05:10Neither of them have ever logged in before, but they are able to log into the
05:15web site because their accounts are enabled and activated.
05:18The other account that's here is the one I've been using, which is the
05:22account for Super User.
05:24Now that we have our users and our user groups created, we're going to move on to
05:28assigning permissions to the user group in our next video.
Collapse this transcript
Assigning permissions to a user group
00:00At this point, we have created our user groups and we've assigned users to them.
00:05However, these users can't do anything yet because the groups have not been
00:10assigned any permissions.
00:12The permissions for these user groups, for the Employees and the Distributors,
00:17are exactly the same as the Public user group at this point.
00:20So we need to modify both of these user groups and assign them the permission to
00:25log into the front end of the web site.
00:28To assign these global permissions to our groups, we are going to go into our
00:32Global Configuration, which is available under the Site menu or through this
00:37icon here on the Control Panel.
00:40In the Global Configuration, go to the Permissions tab, which is the last piece
00:45of subnavigation here, and you will see a fairly complicated screen talking
00:52about the various permission settings for the web site.
00:56I'm looking at the Public right now, which is a little bit hard to understand
01:01because nothing is set in terms of permissions.
01:03So I'm going to go ahead and take a look at the Publisher user group, which is a
01:09little bit easier to understand.
01:11So the way that permissions are set is through these dropdowns, and there are
01:17three settings for each permission.
01:20Inherited, Allowed, or Denied.
01:23Inherited permission means that it's inherited through the chain of groups
01:29here on the web site.
01:30So for our Site Login for this Publisher it is allowed, and it's allowed because
01:36the Site Login permission was originally assigned to Registered users and it's
01:41been inherited through the Author and the Editor to the Publisher.
01:45The Admin Login and Super Admin and Access Component permissions are not allowed.
01:51Note that these permissions are also inherited via the dropdown here and that's
01:56because the Admin Login, Super Admin and Access Component permissions are not
02:03set in the Public group.
02:05Any permission that is not set by default means you can't do anything.
02:10Thus the Public group has none of its permissions set.
02:13So, Public users can't do anything except view pages that are set for the public
02:19on the frontend of the web site.
02:20Public users can't login to the front or the backend of the web site or create content.
02:25That kind of thing.
02:27Because those permissions are not set in Public and they weren't set in
02:30Registered or Author or Editor, when we get to the Publisher they're simply not allowed.
02:36When things are not allowed they can still potentially be allowed.
02:41So if for example, I wanted my Publishers to be able to log into this web site,
02:46I could change the Admin Login permission from Inherited to Allowed.
02:52When I do that and I'll click the Save button, notice over here that the Admin
02:58Login permission is now Allowed.
03:01meaning that in fact, I can log into the backend of the web site as a publisher.
03:06I am going to change that back to Inherited just for a moment.
03:11Now you may be thinking that if I don't want the publisher to perform certain
03:15functions such as logging in to the Administrator why don't I simply deny these things?
03:21Well, the issue is when things are denied, no matter who the parent group
03:26setting is, the group being edited, in this case this publisher, would not be
03:31able no matter what to ever be able to login to the web site.
03:35What's more any children of the publisher would also not be able to log in to the web site.
03:40So let me demonstrate that with the Editor.
03:43So for the Editor, just to show you how this inheritance works again, I am going
03:47to allow the Admin Login but I'm going to deny the Super Admin Login.
03:52What will see over here after I click Save is that the Admin Login is allowed,
03:58but the Super Admin is denied.
03:59Then we are going to see how that affects the publisher.
04:02So I will go ahead and click Save and just as I said, the Admin Login is indeed
04:08allowed, but the Super Admin permission is the Denied.
04:12Now when I go to my Publisher setting here, notice that my Admin Login is
04:17inherited from the editor and it's allowed.
04:21But my Super Admin permission is absolutely totally Not Allowed.
04:25It's locked because the Editor was not allowed to do it and so any children of
04:30the Editor, which includes the Publisher, are also not allowed nor can they be
04:35changed, unlike the Access Component or the Delete permission.
04:40I hope this makes this clear as mud as to how these permissions work.
04:44In general, things are denied unless they are explicitly allowed and you
04:49shouldn't really deny anything and if you do, then be aware that any children
04:54will also inherit that deny.
04:57Okay, so just to be safe I am going to go change these settings back here to
05:01Inherited and Inherited in my Editor because I don't really want them to stay that way.
05:07So now that I have changed the Editor, the Publisher should also reflect those
05:10changes, which it does.
05:12Now I'm going to go and actually assign my permissions here for the
05:15Distributor user group.
05:17I am going to click on that.
05:18Notice that has inherited everything from the Public where the Public indicates
05:23that nothing is set.
05:25So as I said by default that means it's not allowed. So there we go.
05:29What I need to do now for the Distributors user group is allow people to login
05:33to the frontend of the web site.
05:35That's called the Site Login permission.
05:38So I'm going to change this to Allowed.
05:41When I click the Save button, you can see now that our Distributors user group
05:46is indeed allowed to log in to the frontend of the web site, but they are not
05:49allowed to do anything else.
05:51We will repeat the same process for the Employee user group and you see that the
05:56Employee user group is a child of Public.
05:58They're not a child of the Distributors.
06:00So likewise, we will have to set this individually for the Employee user group.
06:05So the Site Login is also allowed.
06:08Now I am going to go ahead and hit Save & Close.
06:10I have assigned just the Site Login permission to the Employee user group and to
06:16the Distributors user group.
06:18So now we have our users, our core permissions, and our user groups set up.
06:23The next thing to configure is the access levels, which allow these groups to view
06:29special content on the frontend of the web site.
Collapse this transcript
Creating a new access level
00:00At this point we've created a user group.
00:03We've added users to that group and we've assigned permissions to the group.
00:07Now all we need to do is specify which content each group is able to see.
00:13An access level is what specific groups are allowed to view on the front end of the web site.
00:18In Joomla 1.5 these groups were Public, Registered, and Special.
00:24Public means that anyone can view the content whether they're logged in or not
00:28logged in, Registered users and higher can view the content, and Special means
00:33that Authors, Editors, Publishers, Managers, Administrators, and Super Users
00:39can view the content.
00:41Previously, it was not possible to deviate from these three access levels.
00:45But in Joomla 1.6 it's now possible to make a new access level controlling who
00:51gets to see which content.
00:52Permissions for access levels are not inherited.
00:56So if I make a piece of content available to the Publishers only and I am
01:01logged in as a Super Administrator who's not also in the Publisher group as
01:05well, I cannot see that piece of content.
01:09Even though I am a Super User, I cannot see that content.
01:13Of course, I can see it on the back end of the web site.
01:16I just can't see it on the front end.
01:18Therefore you must make sure you are very clear about which groups can see which content.
01:24Remember that access levels apply to the viewing content only, not to editing
01:29or creating content.
01:30So to create a new access level, go to Users > Access Levels > Add New Access Level.
01:38And these are the existing access levels currently.
01:42Right now there's one for looking at this screen.
01:45This is where we can add a new access level by entering a title for that
01:49access level and then we can choose which user groups will have access to view that content.
01:55So I am going to put in a Level Title of Distributor Access Level and to that I
02:04will assign the Distributors user group.
02:06I am going to go ahead and click Save & New.
02:08And I am going to add an Employee Access Level.
02:15And to that I'll assign the Employee user group.
02:18Note that I have not included Super Users in either of these.
02:22And this means that if I log in with my Super User login to the front end of the
02:27web site, I will not see the Distributors user group content or the Employees'
02:34content on this web site.
02:36Go ahead and click Save & Close and we now return to the Access Levels Manager.
02:42And you'll see that we have now five access levels for this web site including
02:47Public, Registered, and Special, the default settings,
02:50and we also have a Distributor and an Employee access level.
Collapse this transcript
Configuring content for ACL
00:00We have user groups, users, core permission assigned to our user groups, and
00:05we have access levels.
00:07So we have a whole system in place to see content on our web site, but guess what?
00:11We don't have any content to show our employees or distributors yet.
00:14So that's going to be our next step is to create some content for these two user
00:18groups on the web site.
00:20So we're still having to work under the CAM, categories, articles, and menus.
00:25So I am going to go through and create all the categories.
00:27We will have a category for distributors and category for employees.
00:30Then I am going to go ahead and create two articles.
00:33Obviously, you could have many, many more articles than just two.
00:37But one article will be for the distributors, one article for the employees, and
00:42then I'm going to link these to a special user menu.
00:45The user menu won't show up on the web site unless you're logged in.
00:49So that's what I am going to do in this next video.
00:51So first of all we need to start by creating our categories.
00:54So we are going to go into our Category Manager and I am going to click the New
00:58button to make a new category.
01:00The title for this category will be Distributor Category.
01:05I am adding these words like category or access level or user group to the end
01:09of things, because I'm calling everything Distributor or Employee except for the actual users.
01:15The reason why is I want you to be very clear how all the information is
01:19connecting here in the backend of the web site.
01:21So this will be the Distributor Category.
01:24It will have no parent and it's published, but the access here, it refers to the
01:29access level and you can only assign one access level to a category.
01:34Only can assign one access level to a piece of content.
01:38So the access level for the Distributor category will be the Distributor Access Level.
01:43See how those fit together?
01:44I am going to go ahead and click Save & New and I am going to create the
01:48Employee Category and it will also have no parent and it will be Published, but
01:56it's access level will be the Employee Access Level.
02:01See how that fits together.
02:02So, go ahead and click Save & Close and we will see here in our Category Manager
02:06that we now have two new categories.
02:08The Distributor Category and the Employee Category.
02:11And whereas all of our previous content has been for the public, these are for
02:15specific groups of users.
02:17Now that we've got that taken care of, we are on to articles.
02:20So here in the subnavigation I am going to switch to Articles and I am going to
02:23click my New button and the title for this will be For Our Distributors.
02:30The category will be the Distributor Category.
02:34Now because our Distributor Category is assigned the access level of the
02:39Distributor Access Level, technically speaking if I'm working on this article,
02:45I can leave the access level set to Public.
02:48The category's access level will override my article's access level.
02:54So in other words, if the category is set to be viewed only by the
02:57distributors, this article,
02:59no matter if I pick the Public category or not, it will be visible only to the distributors.
03:05So I am going to anyway set this to the Distributor Access Level, because I
03:10think that it can be confusing to see our articles say Public when in fact they
03:15are accessible by only the Distributors.
03:18So while I don't have to set the access level for my articles, I'm going to set
03:23them anyway, because I think it will be clearer and easier to understand how the
03:29content in my web site is configured after the fact, particularly when I come
03:33back six months later or a year later and I don't remember what I did today.
03:37Down in the article text in your Exercise Files you have an article here for our distributors.
03:43So I am going to go ahead and Edit > Copy and then in my Article Text box I am
03:50going to Ctrl+V or Command +V to paste in the text.
03:53I am going to go ahead and take this Distributor Specials just for fun and
03:57change it to a Heading 2 and for the rest of our content we will go ahead and
04:02leave that set to be a paragraph. All right!
04:06So that is the super-secret Distributors special information.
04:10So we will go ahead and click on Save & New.
04:13Now I am going to have another article here.
04:15This will be For Our Employees.
04:20The category for this of course is the Employee Category and although I don't
04:24have to set it, I am still going to set it anyway,
04:26the Employee Access Level.
04:28Scrolling down to the spot for the article text, I have an employee's article
04:33here from your Exercise Files.
04:36I will go ahead and Edit > Copy.
04:39Then I will go ahead and Ctrl+V or Command+V to paste this into my editing box
04:46here and I'm going to go ahead and do a quick little bit of editing here to make
04:51this just a little bit more readable.
04:54I've now finished editing all of the text here and my article is ready to go for the employees.
05:00So I'm going to go ahead and Save & Close this article.
05:04So we have our categories, we have our articles, next come our menus.
05:07But what I would like to do is create a separate user menu.
05:11It won't even show up on the web site unless you're logged in.
05:15In order to do this, we are going to create a new menu for the web site and
05:18then we will add menu items to it and then we will take a look at the module
05:21for that menu and make sure that that displays only if people are logged into the web site.
05:26So under Menus, we will go to the Menu Manager and we are going add a new menu.
05:33The title for this menu will be the User Menu and this menu type will be
05:38usermenu, all one word all lowercase.
05:40We will go ahead and say Save & Close.
05:43So now we have three menus for our web site:
05:46our Main Menu, our footer menu, and our User Menu, and note that there's no
05:50modules currently linked from the User Menu to the web site.
05:53So, we will have to remember to do that as soon as we create our links.
05:56I am going to click on the name User Menu to go into that and of course we have
06:01no menu items for this menu just yet.
06:04So I am going to create a new menu item by clicking on New.
06:07For my menu item type, I am going to click the Select button.
06:11Now I am going to go to Single Article, because I only have a single article for
06:16each one of these areas of the web site.
06:18You could of course pick a category blog or a category list or whatever you want.
06:22For the title I am going to say Employee Information.
06:26Its access level of course will be the Employee Access Level.
06:31It is located on the User Menu, not on the Main Menu, not on the footer menu,
06:36and I will need to select my article.
06:38So I am going to go ahead and select my category, which is the Employee Category
06:43and pick For Our Employees and then I am going to go ahead and say Save & New
06:47and I am going to select my second menu item.
06:51Once again a Single Article.
06:53The menu title will be Distributor Specials, since that's what they are getting. It's Published.
07:01The access for this is the Distributor Access Level only.
07:04It's on the User Menu and my article is in the Distributor Category. For Our Distributors.
07:11Now once again because my category is set to the Distributor Access Level and my
07:17article is set to the Distributor Access Level, technically speaking, I could
07:21leave my menu item set to Public.
07:24I am also going to set up my Menu module to only display for Registered users.
07:29Now because my menu item is set specifically to one Access level or another,
07:35if I'm logged in as an Employee I'll only see a link for accessing the
07:39employee information.
07:41If I set my access to say Registered user and I was logged in as a
07:47Distributor, I would see a link to the distributor information and to the
07:52employee information.
07:54But when I clicked on the link for the employee information, I would get that
07:58"You are not authorized to view this resource" error message.
08:02So to keep the user experience consistent, to keep yourself from getting
08:06confused, I think it's important to continue to assign that access level to the
08:11individual menu items, to the articles, and to the categories.
08:14We will go ahead and click Save & Close.
08:18So now you see we have two menu items here on our menu for users who are logged
08:24into the web site, but we don't have any way of displaying this menu yet.
08:27So to do that, the last thing we need to do is go to Extensions > Module Manager
08:33and I am going to make a new module, which of course is a Menu module.
08:37The title will be User Menu, and I am going to hide the title once again.
08:42For the Position, I'll go ahead and display it over in position-7.
08:45So it's over on the left side of the page.
08:48Now I have a real problem, right?
08:49I need this particular module to show up for both the Distributors and for the Employees.
08:56Otherwise, I have to make two modules, because I can only assign one
08:59access level per item.
09:01Fortunately, when we created the access levels, the user groups we assigned to
09:07those access levels included either the Distributor or the Employee and we
09:11assigned the Registered user level.
09:14Registered users are in common now between the Distributors and the Employees.
09:19So if I set this to Registered, my module should display for both
09:24Distributors and for Employees.
09:27The menu where it's going to display is the User menu and we will go ahead and
09:31display the entire menu.
09:33So I am going to go ahead and hit Save & Close.
09:36So that is present here on the web site.
09:38If I go to the front page and I refresh, I have just one problem.
09:44I have all of this great content that's now hidden behind a login, but I have no
09:48way to login to my web site.
09:50The next thing I need to do is add a link to the login page.
Collapse this transcript
Creating a login link
00:00Our Employees and our Distributors need a login box so they can access their
00:05special content on the front end of the web site.
00:07We currently don't have any way for anyone to login from the front end of the web site.
00:12There are two ways to get a login box on the web site.
00:15The first is through a Login module, which we covered in an earlier video, and
00:20it was created for us by default and we simply unpublished it because it was
00:25kind of cluttering up that left column throughout our web site.
00:28The other thing that we can do is create a link to a login page, which could be
00:33configured on the menu.
00:34Both login boxes work the same way and have the same functionality.
00:38It's really just a question of whether you want to link on the menu or whether
00:41you want a big login box on the page.
00:44I would prefer to have a link on the menu, because it will be less clutter and
00:49it's just for a limited group of people.
00:51So, I would like to add a login link to our main menu.
00:55So to do that, I am going to go to Menus > Main Menu > Add New Menu Item.
01:00And for my Menu Item Type, there is a whole section of items under Users
01:05Manager, which gives us the option of including a login form, editing user
01:10profiles, registering for the web site, and sending reminders for usernames or
01:15password resets. Lots of handy little tools in there.
01:18The one of course we are interested in now is a login form.
01:22So, I am going to go ahead and click that and for my Menu Title, I will set it to Login.
01:27The Menu Location will be the Main Menu and we are going to go ahead and leave
01:31it at the Menu Item Root.
01:33Now, for our access level, we want to leave the Access to Public.
01:37Remember that the whole purpose of the login box is to get logged into the web site.
01:40So, in Joomla's eyes, everyone who arrives on the web site is Public, until they
01:45have logged in and then they become some other kind of user.
01:48So, we would definitely want to leave this link left to the Public access level.
01:52Over on the right hand side, we have some options we can configure here.
01:57We have a box on the right side for Login Description Text.
02:01So, I am going to go ahead and enter some text here to orient people why there
02:06is a login on the web site in the first place.
02:08So, I am going to say "This login page serves Two Trees Olive Oil employees and distributors.
02:20Please register for an account to see our latest specials."
02:29We could change some of these other options as well, but that's the only one I
02:32am going to go ahead and change.
02:34And I am going to go ahead and click Save & Close.
02:37When I refresh the front end of the web site, our Login link will show up here
02:42in the top navigation, which is great!
02:44When I click it, I have the ability to login to the web site.
02:48Right now, this is set to log me in with my super administrator username and password.
02:53I am going to go ahead and login and once I have logged in I am going to return
02:57to the homepage of the web site.
02:59And notice that there's absolutely no menu available anywhere here on the web site.
03:06Why?
03:07Because the super administrator is not also a registered user.
03:10I am going to go back to my Login screen and log out and now I'm going to
03:14try logging in with Maria's login, which if you want to try this, I set it
03:20up as Maria 123456.
03:21We'll go ahead and login with that.
03:25Notice over here now on the left side of the screen is a link for
03:28Employee Information.
03:30It's also available to us on the homepage, our link to Employee Information, and
03:35other pages of the web site as well.
03:37When I click on Employee Information, I get my super secret employee page that
03:42tells me all of the information about the employee bulletin board and what's
03:46happening here within Two Trees Olive Oil.
03:49When I go back to the Login link and log out again, this time I am going to
03:53login as robin with a password of 123456, Robin is the distributor.
03:59We will go ahead and login here.
04:01And now you can see that we have a link on the site here for our
04:04Distributor Specials.
04:06I can go ahead and click this link for the Distributor Specials and here we go,
04:11all the information is here.
04:13Note that Maria, our employee, was not able to see the distributor information.
04:18Robin, our distributor, is not able to see the employee information.
04:22And me, as super administrator, I can't see either because I'm not part of
04:28those access levels.
04:29So, we are doing great here.
04:31We would have just a couple more tweaks to make to this web site and we're going
04:35to be all set with a really high quality great system for people to login and
04:41see unique content on our web site.
Collapse this transcript
Allowing self-registration and allowing users to modify their details
00:01For some web sites you will want to encourage registration from the front end of the web site.
00:05If your site has to do with social networking, a blog with comments, the ability
00:09to submit calendar events, or just submitting web links,
00:12these are examples where you would want to make registration easy and accessible.
00:16Sometimes you won't want to have registration available at all.
00:20If there's no interactivity on the site for anyone but the site administrators,
00:24you could turn off registration altogether.
00:27To get to these options, go to the User Manager and select Options.
00:33And these are the same kind of options that we've been seeing throughout Joomla,
00:36always available up here in the upper right corner.
00:39First of all, we went to Allow User Registration
00:42by saying that Yes, people can register for the web site.
00:46By default when people do register for the web site, they are part of the
00:50Registered user group, and what I'm expecting to have happen is we're going to
00:56add distributors more quickly than we're going to add employees to our web site.
01:00So what I'd like to do is I'd like to allow new distributors to come in and
01:05register for the web site.
01:06It could be a way of them expressing interest in distributing a product or
01:11they might have just signed up to be distributors and now they're getting their login.
01:14Either way, by allowing them to register themselves, that's a great thing
01:18because then I don't have to go through as the webmaster and go create
01:22individual accounts for all these new distributors.
01:24I'll still need to create individual accounts for employees, but that's okay
01:29because we're not adding employees that quickly.
01:32So for my New User Registration Group, I'm going to change the default group to
01:36Distributors User Group.
01:38Guests to the web site will definitely be Public, so that's terrific.
01:43We don't want to change that.
01:44In fact, I can't imagine a situation where you would ever want to change that.
01:48So leave that one alone.
01:50For New User Account Activation, this is new in Joomla 1.6.
01:55We now have three options.
01:57None means that when a user fills out the registration form, they get an email
02:02and they can login without ever confirming their email address.
02:06Self means they get an email that has a link in it, which confirms that their
02:12email address is legitimate, and once they click that link then they can
02:16login to the web site.
02:17And those two options were both available in Joomla 1.5, and they are great from
02:22the point of view, particularly the Self-registration, that you're at least
02:26verifying email addresses.
02:27But you still wound up getting a lot of bogus registrations for some sites.
02:32The new option here in Joomla 1.6 is the Admin option.
02:36Users can register for the web site and then the admin receives an email,
02:41in this case the Super User, gets an email to review that registration and they
02:46can decide whether to allow that account to be activated or not.
02:51And that's exactly what we want to do.
02:53We don't want just anyone coming to this web site and being able to sign up as a
02:56distributor and see our specials.
02:58What we want to do is allow our new distributors to sign up for the web site and
03:02get our specials, and then all I have to do as the webmaster is approve that
03:06it's okay for them to access the web site.
03:10I don't have to create a username and a password and all the rest of that stuff.
03:14So this is a great timesaver for we webmasters.
03:17So I'm going to go ahead and set that to Admin.
03:20The Frontend User Parameters allow users to change their language, editors, and
03:25help screens, all that kind of stuff that's available for each user, and it
03:29allows them to change that.
03:30If you say Hide, then users are not able to change those kinds of things.
03:35I'm going to go ahead and leave this set to Show and I'm going to click Save & Close.
03:40Now, I'm going to switch over to the front end of my web site and I'm going to
03:43go to the Login page, and here on the Login page there is no way for anyone to
03:49register for this web site.
03:50Normally you see some links underneath where if you've forgotten a username or a
03:54password or you can register for the web site, but that appears not to be an
03:58option here in the Login page for itself in Joomla 1.6.
04:03Those options are available in the module.
04:05So what I'm going to do now is add some links on the side of this page for
04:10people who are visiting the web site who might want to create an account.
04:13To do that, I'm going to go into the backend of Joomla, to Menus > Main Menu
04:19> Add a New Menu Item, and the type of menu item I'm going to add is the Registration Form.
04:25The title will be Distributors, Register Here.
04:32And it's going to be publicly accessible because we want everyone to be able to
04:36register for the web site.
04:38It's going to go on the Main Menu, and what I'm going to do is set it up as a
04:42child of our Login link.
04:44So it will show up as subnavigation on the Login page.
04:47I'm going to go ahead and hit Save & Close.
04:50Now when I refresh my Login page, you'll see our link for Distributors to Register Here.
04:56When they click on that, they get a form where they can enter their name, their
04:59username, password, confirm that password and enter their email address twice as well.
05:05So this is great.
05:06Now distributors are able to register on the web site.
05:09The last little thing I want to add, the last touch for this web site, is the
05:14ability for employees and distributors to change information easily that's
05:18associated with their account, like their username or their password or
05:22something like that.
05:23It's very easy to include those menu links for the users so they can change
05:27their password and other information.
05:29So to do this, I'm going to go back to my Menu Manager, but I'm going to take
05:34a look at my User menu, because changing your username and password are things
05:39that only the users will be doing, not the general public, and I'm going to
05:43say Add New Menu Item.
05:45The Menu Item Type, in this case, is going to be Edit User Profile.
05:50In fact, I can add two links here.
05:52One will be to show the user profile itself and the other one will be to edit it.
05:56So I'm going to go ahead and actually Show User Profile first and the Menu
06:01Title here will be My Profile.
06:04I'm going to leave it Published and I'm going to set this to Registered
06:08users, because once again, I want both employees and distributors to be able
06:12to see this content.
06:14I'll leave it under the Menu Item Root here on my User Menu, and that's pretty
06:19much all I need to configure.
06:20I'm going to go ahead and hit Save & New and I'm going to add another link.
06:25This time I'm going to add the Edit User Profile option, and I'm going to make
06:30the menu title say Edit My Profile.
06:33The access level will be again for Registered users.
06:36It will be on the User Menu.
06:38The Root level is just fine, and I'm going to go ahead and say Save & Close.
06:42I'll hop over to the front end of the web site and I'm going to log in as maria,
06:47123456, and once I have logged in as maria, as soon as I log in I actually have a
06:55little bit of profile information here and some information about my basic
06:58settings with a link to edit the profile.
07:01But if I ever visit around other pages of the web site I lose that ability.
07:06By clicking on the My Profile link I can see that information again.
07:10I also have a link here to edit the profile, which is duplicated over here in my menu.
07:15So now I could go through and change my name, my username, my password, and
07:19I could also set up these options for my editor, my time zone, and my
07:23front-end language if I wish.
07:25By adding these little touches to the web site and thinking like somebody who is
07:29going to login to this web site on a regular basis, you're adding a lot of
07:32usability and value to your web site.
07:36It was very, very straightforward to add information about my profile or the
07:40ability to edit it, and it's definitely something you should do because it will
07:44just make your users a little happier.
07:46And when people need to change their emails or their usernames or their
07:50passwords, they'll bother you with a lot less phone calls and that is the
07:54biggest value of all.
Collapse this transcript
11. Extending Joomla! 1.6
Evaluating extensions in the Joomla! Extensions Directory
00:01As of this recording, there are over 6,808 extensions available for Joomla.
00:07Most of these are available for Joomla 1.5, but almost 400 of these and growing
00:12are available for Joomla 1.6.
00:15With all of these thousands of extensions available how can you possibly choose
00:19the right one for you?
00:22I'm going to show you some pointers for things to look for when
00:25evaluating extensions.
00:27But first of all, I need to show you how to find the Joomla 1.6 extensions here
00:32on the Joomla Extensions Directory.
00:35We are currently looking at extensions.joomla.org.
00:37The Joomla Extensions Directory, often called the JED.
00:44I'm on the homepage here and up in the right side of the page there is a link
00:49to Advanced Search.
00:51If you click on this and then in the search you, of course, can type in
00:56various search parameters, but most importantly if you simply check off the box
01:01for Joomla 1.6 Native and click the Search button you'll come up with a list of
01:05the existing Joomla 1.6 extensions on the JED currently.
01:10That's mostly true.
01:12I've had some developers tell me that for whatever reason their extensions are
01:15not included in that list, but it's a very good starting point for finding
01:19Joomla 1.6 extensions.
01:21Note also that there are other versions of Joomla that are listed here
01:25including Joomla 1.0.
01:26Joomla 1.0 is not supported as of July 2009.
01:33We also have two versions of Joomla 1.5: Joomla 1.5 Legacy and Joomla 1.5 Native.
01:40Legacy indicates a backwards compatibility system with Joomla 1.0.
01:44As of this recording there's really very little reason to be using Legacy extensions.
01:49Joomla 1.5 is been out from three years and extension developers had plenty of
01:54time to make their extensions compatible with Joomla 1.5.
01:58There is no legacy mode in Joomla 1.6.
02:01So the only way Joomla 1.6 extensions can run is in Native mode.
02:06So there is only one option here.
02:08You of course could pick various categories or names.
02:11You could pick various types of extensions such as a component or module or a
02:15plugin or you can type in keywords, but mostly we're just going to click off
02:20that 1.6 box and say Search.
02:24This will return a list of almost 400 extensions as of this moment that are
02:29using Joomla 1.6 Native.
02:32I'm going to show you one of my favorite extensions of all time and use it as an
02:37example of how to identify a really great extension within the JED, and
02:43extension is called Akeeba Backup.
02:46You have heard me mention it a few times now.
02:47I've used Akeeba Backup for making your Exercise Files as part of this video.
02:53The easiest way to find Akeeba Backup is to scroll down to the Directory menu
02:59here in the JED and this is sort of down the left column a little ways.
03:05One of the options here is the Editors' Picks.
03:08If you click on that, the Editors' Picks are extensions that the editors of the
03:14Joomla Extensions Directory who review the submissions of extensions to the
03:18directory have determined are some of the really truly great extensions
03:24available for Joomla.
03:26My feeling about Akeeba Backup is that there's absolutely no reason that
03:30everyone doesn't just install it on their web site and use it all the time.
03:33The JED editors have chosen only eight extensions out of those 6,800 extensions
03:40available to be picked as Editors' Picks.
03:44So you can take a look at all of these.
03:47Unfortunately, not many of them are 1.6 compatible yet, but Akeeba Backup is.
03:54So I'm going to go ahead and click on the link and this will take us into Akeeba
03:59Backup listing for the JED.
04:01There are number of things that I would like you to notice about this
04:04particular listing.
04:05First of all, of course, we have the name of the extension at the top of the page.
04:10We have the note that it's in Editors' Pick. It's popular.
04:13It's been viewed over 150 times a day.
04:15The C, M, and P indicate that there are portions of this extensions that are
04:22both component, module, and plug-in.
04:25Then we have a little box of information here that tells us some information
04:28about Akeeba Backup.
04:30First of all, it tells us that the most recent version is Version 3.2 Beta 4.
04:35Last update on January 12, 2011.
04:38That was about two weeks ago as of this recording.
04:42The Akeeba Backup extension is updated quite regularly.
04:45That's a good indication that the developer is engaged and involved and cares
04:50about his extension and is actively updating it.
04:53If you see a version that's three years old, that is an indication that somebody
04:58may not be as engaged or involved.
05:00They might have put together the extension as a college project for example and
05:04haven't looked back at it in three years.
05:06There could potentially be security issues with it.
05:09It's very hard to say.
05:10So I like to see that extensions are updated regularly.
05:14Fortunately, when you work with Joomla 1.6 since it was just released on January
05:1810th in 2011, it's likely that all of these extensions will be up-to-date simply
05:24by virtue that be extensions had to be updated for Joomla 1.6 anyway.
05:28It will tell you a little bit about the license under which this extension
05:32is distributed and the date that it was originally added to the Extensions Directory.
05:38So Akeeba Backup was added on the 5th of June, 2007, which dictates that in terms
05:43of Joomla's lifetime this has been on the Extensions Directory for a very long time.
05:48It's a very well-established extension.
05:50Now take a look at the rating and that number of votes.
05:55What I like here is that this extension has four-and-a-half stars with 934 votes.
06:01With that many votes it's a great indicator that there are a lot of people who
06:05really love this extension and think it's very, very important.
06:09Note that it's had almost 752,000 views here on the JED, and this gives you some
06:16of the background information for Akeeba Backup.
06:19You can read a brief description underneath about what this extension is,
06:23how it works, some of the highlights, and as you scroll down there will be some
06:27screenshots of what the extension looks like and then you are down into the reviews.
06:33When you get into the reviews, what I would like to see here is that people are
06:36actively writing reviews.
06:38So I see that the most recent review was written on January 22, which was just a
06:43few days ago, and the vast majority of people here as I scroll down through the
06:48comments are giving Akeeba Backup five stars.
06:52So, the fact that it has four-and-a-half stars probably is from earlier in its lifetime.
06:59Right now it's a very mature extension, a lot of people really like it.
07:03You can read their testimonials here and see what they have said about the
07:08extension and of course you can also submit your own review using this button here.
07:13In fact, the extension developers really appreciate it when you do review their extensions.
07:18It helps them improve them or give them feedback for how well things are working.
07:24If you do see any negative reviews, which I haven't seen any here for Akeeba Backup,
07:29but if you do see negative reviews listed, you want to look for the fact
07:34that the developer has responded to that negative review.
07:37Again, it's an indication of the level of technical support you might
07:40receive for the extension and how engaged and involved that developer is
07:45with the extension.
07:46I have happened to meet the author of this extension, Nicholas, who is
07:51based over in Greece.
07:52He is a terrific guy.
07:54He really cares about Akeeba Backup and I think that this is going be a great
07:58extension for you to add to your web site.
08:00In the next couple of videos I'm going to show you how to install Akeeba Backup
08:04and how to configure it and to back up your web site, which is going to be very
08:08helpful to you as you continue to work on your Joomla site.
Collapse this transcript
Installing Akeeba Backup and creating a backup
00:01If I have not emphasized this enough yet, you can never be too rich or have too many backups.
00:07Backups are something you never think about until you desperately need one
00:11and you don't have it.
00:12It's a lesson every Joomla developer will learn eventually.
00:15Sooner or later, your web host will make backups, if you've picked a good host, and
00:21you back up your laptop files all the time, right?
00:26Well, here's another way you can make backups in Joomla. We have this extension
00:30called Akeeba Backup.
00:31We have been using Akeeba Backup for creating the JPA backup files you've been
00:35using in the Exercise Files.
00:37But right now, I want to show you exactly how you can make Akeeba work on your
00:41web site, so you can install your own backups at any point in the process.
00:46So I'm here at the Akeeba Backup web site, www.akeebabackup.com.
00:52And I am going to download the free Akeeba Backup core extension.
00:57So to do that I am going go to Download > Official Releases, and under the
01:03Official Releases there is the Akeeba Backup utility.
01:06We will go ahead and click for releases in this category, and you'll see that as
01:12of this recording, these are the options that are available to us.
01:17There's a stable version and two betas.
01:20Now by the time you take a look at this, Nicholas is a very active developer
01:25and it's likely that your versions are not going to match up with what you see here in the video.
01:30What I want you to install is the most recent stable version of Akeeba Backup.
01:35The process for installing it will be the same, but I don't want you to go back
01:39and install old software.
01:41That's a good way to introduce security holes and other issues into your web site.
01:46So we are going to go ahead, go to 3.1.5 (Stable) and we are going to view the
01:52files and there are two things here.
01:56One is the Akeeba Backup Quick Start Guide.
01:59I can't recommend enough how wonderful his documentation is. If you ever have
02:03any questions about how Akeeba Backup works, you should definitely take a
02:06look at his documentation here. And underneath of that is the actual Akeeba Backup Core.
02:14So go ahead and click that Download now button, and we are going to save this file down.
02:20Don't unzip it.
02:21Any time you download extensions or templates in Joomla, they come in a zipped
02:27format and it may be the .zip format or it may be .tar or .tar.bz.
02:33All of these are zipped file formats and you don't need to unzip them before you
02:38install them on the web site.
02:39Joomla expects to get a zipped file when you install things.
02:43So now I am going to jump back into the backend of my Joomla web site and to
02:48install Akeeba Backup, I'm going to go to Extensions > Extensions Manager and
02:53right here we have the option of installing in three different ways.
02:58We can install from a URL, if we have a URL for where our extension lives.
03:03We can install from a directory somewhere on our computer, or we can upload a package file.
03:08And 99 times out of a hundred, upload the package file is to go.
03:13What they mean by a package file is that zip file that you have just unloaded.
03:16It's a package of a bunch of things.
03:18So I am going to go ahead and click on the Browse button and I am going to go to
03:23my Downloads folder, which is where I downloaded Akeeba Backup.
03:27Here is the file that I downloaded, Akeeba 3.1.5-core, and I will click the Open
03:33button and then I'll click Upload and Install.
03:37If all goes well, you should see message at the top of the screen that says
03:41installing the component was successful and occasionally you'll see a message
03:45underneath that will talk about what was installed here and sometimes how to get
03:49help and that type of thing.
03:51Akeeba Backup is a component.
03:54So it's located under our Components menu and now you should have a link
03:58here for Akeeba Backup.
03:59Go on to that link to Akeeba Backup and in this case, we've got a Control
04:04Panel available to us and there are many different options for configuring
04:10Akeeba but in my experience, at this point in its software development cycle,
04:16I can use it directly as is, right out- of-the-box and I don't have to make any
04:20changes to it at all.
04:22To make a backup, you simply need to click the Backup Now button.
04:25It will take you to a page in which you can make some notes about what you're
04:30backing up or why you're backing it up.
04:33That can be very helpful. For example, you could make a note here saying I'm
04:37backing up my web site before I install some component or another.
04:41Occasionally, when you install some of these Joomla extensions, you may break
04:46something on your web site and having a backup where you can rollback to the
04:51state before is an extremely important and helpful thing.
04:55I usually put a short description up here at the top, so I'm going to say
05:00practice backup is going to be my name, and then over here on the side is a
05:06button for Backup Now.
05:07So I will go ahead and click that and Akeeba Backup tends to work very quickly.
05:13So you see here that it is just going to go through a few steps and what Akeeba
05:17Backup is doing is it's backing up all of the files that are located in your
05:23Joomla installation and it's also including a copy of your database.
05:29All of this is compressed together in something called a JPA file.
05:34This is part of the reason Akeeba Backup is so great, because it does include all
05:384,000 odd Joomla files plus the database.
05:43If you just backup the files for your web site, you're missing all of the data
05:47behind your site and if you just backup your database, you're missing all of
05:52the files including templates, any images you've installed, and you could be
05:57missing other information on the site as well.
05:58Once the backup is completely done, you have the option of administering your backup files.
06:05Click this button and you'll see all of the backups that you have made for your web site so far.
06:10So at this point, I have a single backup.
06:12It's called the practice backup and I can go ahead and download this now to my computer.
06:18This seems a little odd to do considering that I'm running my copy of XAMPP locally.
06:24So downloading just really means transferring the file from one directory to
06:28another, but if you are on a web host, a download would actually be something
06:32you would want to do to download the file from your web host.
06:35All you have to do is click on the link over here.
06:38It will give you a message saying that downloading backup files through your
06:41browser can result under certain circumstances to corrupt or partial downloads
06:46and subsequent restoration failure.
06:48And I will tell you that in the hundreds of sites that I have used Akeeba Backup,
06:53I have only once had a file that was corrupted when I downloaded it,
06:58and what I had to do with going to the site through FTP and download the backup that way.
07:03Once I did that, it restored correctly, but almost always this works correctly
07:07through your browser window.
07:09Go ahead and say OK.
07:10It will ask us where you want to save the file and it will go ahead and
07:14download that backup file to wherever you have specified.
07:18In this case, it's going to my Downloads folder.
07:20At this point in time, if you've been following along and you have XAMPP
07:24installed on your computer or MAMP and you're running your copy of Joomla
07:27locally, you now have your web site and your backup file both located on
07:32the same hard drive.
07:34If for some reason your hard drive fails-- and by the way hard drives have
07:38a 100% failure rate.
07:40It's only a question of when they will fail.
07:42You will lose your site and all of your backups at the same time.
07:45I strongly recommend that at this point, you copy that backup file to some other drive,
07:51whether that's a thumb drive or whether you've got a big backup drive
07:55that you used to back up your computer, or you copy it to a CD or a DVD.
07:59Then even more ideally and even in a more paranoid fashion-- by the way, paranoia
08:05is a positive trait in IT.
08:07You'll separate the location of this backup from your computer.
08:10In other words, take it to your safety deposit box, give it to a friend at
08:14their house, and so forth.
08:15That way if your house burns down, you have another backup in another
08:18location if you need it.
08:20I know it sounds like overkill and it sound like paranoia, but top IT companies
08:25have been making backups and storing them offsite for years.
08:28You will be wise to follow their lead. Otherwise one day you're going to learn a
08:32hard lesson from the school of hard knocks.
Collapse this transcript
Installing and using Simple Image Gallery
00:01One of the common things that people add to web sites these days is an image
00:04gallery, and if you go to the Joomla Extensions directory and do a search,
00:09you'll turn up dozens of different kinds of image galleries, and they range
00:13from the incredibly full-featured, lots and lots of things they do, to the very simple.
00:19And I tend to prefer the very simple.
00:21Things that are simple from a client to configure and do the job that I
00:25need done without a lot of extra bells and whistles that I have to explain to my client.
00:30I am currently looking at the Joomla Works web site, which is at
00:33www.joomlaworks.gr, and this is a great developer who has put out a number of
00:41really great quality extensions for Joomla.
00:43I am going to scroll on down the page here past some of his big promotions and
00:49I am going to go down to the bottom of the page where he has some free downloads.
00:53I worked with all of the extensions that are here on this page and I have been
00:56very satisfied with all of them.
00:58One of my favorite image galleries is one of the simplest ones out there.
01:01This is called Simple Image Gallery and it is right here on the web page.
01:06Note that it is compatible for both Joomla 1.5 and 1.6, which is not yet true
01:11for the other extensions on this page.
01:13As you saw earlier at the top of the page, he is working on to bringing these into
01:17compatibility for Joomla 1.6.
01:18So I am really going to go ahead and download the Simple Image Gallery by
01:23clicking on this link and we're going to go ahead and download this and save this.
01:28In my case I am saving it to my Downloads folder. And leave it all zipped up.
01:32Once again it downloads as a ZIP file.
01:34Note also that the Simple Image Gallery is a plug-in.
01:37That's a very different kind of extension then what we've been working with before.
01:41So we have some new considerations to think about when working with plug-ins on our web site.
01:44I am going to switchover to my backend of Joomla and I am going to go ahead
01:50and install the Simple Image Gallery, which we do by going to Extensions > Extension Manager.
01:55I am going to click Browse to browse for this extension. Here it is.
01:59I am going to say Open and I am going to say Upload & Install.
02:03I get a confirmation message that I've installed a particular plug-in.
02:08Now the next thing to do is to go to the Plug-In Manager.
02:11By going to Extensions > Plug-In Manager and we can look down to the list of
02:16extensions until we find the Simple Image Gallery.
02:19which is right here.
02:20Typically when a plug-in installs, it installs and it's turned off by default.
02:27So almost always when you install a plug-in, you are going to have to go to the
02:30Plug-In Manager and turn it on.
02:32Now plug-ins are a very different kind of extension.
02:36So far we have taken an in- depth look at components and if we want
02:40a component to show on the web site, we make a link to it through our Menu Manager.
02:44When you click on the link, you see the component.
02:46Our modules display on the web site via a position.
02:50So you assign the modules a position and provided the position is present on a
02:55given page of the web site and the module is assigned to that page,
02:58the module displays.
03:00Plug-ins tend to be more of the behind the scenes type of programs.
03:05For example, your editor in Joomla is a plug-in.
03:09That's the TinyMCE where we've been entering content into Joomla. There are
03:14third-party variations on that, some of which are quite good.
03:18They serve as a replacements for TinyMCE and they are plug-ins.
03:21You don't have to do anything necessarily; they just sort of work.
03:25For Simple Image Gallery the way this works is it's a plug-in.
03:29It will automatically does some processing of the images for you and it displays
03:35them on the web page.
03:36All automatically behind the scenes, but in order for it to work correctly we
03:41will have to insert a little code, which the plug-in gives us, into an article
03:46and where that code appears Joomla will do some processing and make the Image
03:51Gallery show in that spot on the page.
03:53So to make all this magic happen, I am going to go ahead and click on the Simple
03:57Image Gallery link here to get into my Editing screen.
04:01The first thing I need to do over here on the left side of the screen is enable it
04:04and you see that well, of course we could limit access to this particular
04:08plug-in in terms of who can see it.
04:10We just went through that in a lot of detail in the last chapter.
04:14Over here on the right side of the screen, we can set some Basic Options.
04:18So the Root folder for image galleries is the place that the plug-in looks to
04:24find folders that might contain images that you want to display on the web site.
04:29By default, this is set to images/ stories, which is a Joomla 1.5 image path.
04:35For Joomla 1.6, we are just going to leave this set to images.
04:39Then we are asked for a thumbnail width and height.
04:41I am going to go ahead and just pick 75 pixels.
04:45That seems like a nice little square. It gives you a little peak at something.
04:49You can change the image quality.
04:51I am going to leave mine to 80.
04:53Right now, it's set to resize
04:56all of the thumbnails based on these above dimensions and do the work for you.
04:59I'm all in favor of this thing doing the work for me so that I don't have to.
05:03So I am going to leave that Enabled.
05:06And then finally there are some Navigation & caption messages.
05:10This will put a little message on top of the thumbnail where it says this says
05:13click for a larger view. Because my thumbnail is so small at 75 pixels,
05:19I think I am going to turn that off, because otherwise all you are going to see
05:21is the instructions.
05:23So this is all set up and now as you scroll down the screen a little bit, the
05:28developers put in some nice notes here on exactly how Simple Image Gallery
05:33works and I would encourage you to go ahead and read through how this works.
05:37The piece of code that we're going to need is this right here.
05:40Just this little bit of code.
05:42{gallery}myphotos{/gallery}.
05:48The word myphotos refers to a folder that lives somewhere in the images directory.
05:54So what Simple Image Gallery will do is to take all of the images that are
05:58located within that folder, turn them into thumbnails, and then display them on your page.
06:04So I am going to go ahead and say Edit > Copy to copy that little bit of code.
06:10And then I am going to scroll over the top of the page and say Save & Close.
06:14Now I'm going to go to an article where I'd like to have this image gallery display.
06:19So I think I am going to go ahead and display this on the Home page of the web site.
06:23So I am going to go to Content > Article Manager. I am scrolling down and find
06:27my homepage article.
06:29There it is, and down here in my article, I am going to go ahead and add the code
06:35that I just copied, and it doesn't need to be bold.
06:39So this is telling Simple Image Gallery, the little curly brackets with the
06:43word gallery or /gallery call Simple Image Gallery, and now we need to tell it
06:48what folder to look in.
06:49Well, I have got some nice photos available already in the random folder.
06:53Those were the images that I am using for the random image module.
06:57You of course could create another folder and upload a bunch of pictures to it if you wish.
07:01So I am going to go ahead and say Save & Close, and now when I go back and
07:06refresh the homepage, just like that I get a nice little image gallery showing
07:11up underneath, and when I click any of the pictures, I get a full version of it
07:17in this light box that shows up on the page.
07:20I can roll my mouse over it and click Next.
07:23I can click Previous, so I can now navigate through the image gallery as I wish.
07:28If I add more pictures to the image gallery, let's say I upload another five or six pictures,
07:34just automatically Simple Image Gallery will pick up those pictures, make
07:38thumbnails, and show them here on the web page.
07:40It is really wonderful little extension for doing that.
07:43Now while I'm sitting here looking at this homepage, I just realize that the
07:49word Home is still appearing at the top of this page and I really need to get
07:52rid of that because? yeah, we are on the homepage.
07:56So let's get rid of that.
07:57I am going to go back to my menu item for the homepage, which is under Menus > Main Menu.
08:02Then click on my Home link and down here under Page Display Options, I am going
08:09to say No to Show Page Heading.
08:13For the Home article for whatever reason, Show Page Heading is set to Yes, and
08:18so it takes the menu title and displays it at the top of the page.
08:22By setting this to No, that should be all we need to do to get rid of that word
08:26Home at the top of the page.
08:28When I refresh, that is indeed gone, and now my homepage really is starting to
08:33look like a homepage.
Collapse this transcript
Upgrading extensions
00:01One last very important thing I need to talk about is upgrading your web site and
00:06upgrading your extensions.
00:08When you install Joomla, no matter what version you're using, as open source
00:13software in particular, you need to stand on top of all updates that come
00:17out for the software.
00:19Typically, Joomla itself is updated every 6-8 weeks, a new update is released.
00:25For example, 1.6.0 to 1.6.1. And it's very important you stay on top of those
00:32updates, because frequently they are security patches.
00:35If you don't stay on top of your security releases, you'll get out of date very
00:39quickly and you therefore leave yourselves open to hackers visiting your web
00:44site and doing very bad things.
00:47So you need to be sure that you upgrade the Joomla itself to make sure that
00:52your site stays secure.
00:53Often overlooked though is the need to stay up-to-date with all of the
00:58extensions for your web site as well.
01:01As you download an extension and you plug it in and you configure it, you think
01:05you're done, but extensions can also develop security holes as well over time,
01:10or perhaps the developer wants to fix certain bugs.
01:13And so your extensions are also coming out with updates and it's import to stay
01:18on top of those as well. Otherwise you will get site hacked.
01:22So in Joomla 1.5 it was very hard to stay on top of these updates.
01:26There were some third-party extensions that you could install to help you do the
01:30updates in Joomla 1.5 for the core of Joomla. Most extensions though required
01:35you to uninstall the extension and then reinstall the new extension and you are
01:39worried about losing your data when you did that and it just wasn't necessarily
01:43the best system in the world.
01:45One of the nice new features of Joomla 1.6 is a built-in updating system and I'm
01:51going to show you how that works now.
01:53First of all, as always you need to make sure that you stay on top of what
01:57version of Joomla that you're running.
01:59It is noted down here at the bottom of the screen, the current version of the
02:04Joomla core software that you're running.
02:06In my case I'm running 1.6.0.
02:09Something that can easily get confused, because Joomla 1.6 had 15 betas all of
02:15which are labeled as Joomla version 1.6.0, is exactly which 1.6.0 you're running,
02:21so let me show you that little thing real quick.
02:24Under Site, there is a System Information item and in the System Information,
02:31it will tell you exactly the version of the database that you're running,
02:36the version of PHP that you're running, and the version of Joomla that you are running.
02:40So my Joomla version is listed as 1.6.0 stable that was released on January 10th.
02:47Make sure that your version of Joomla doesn't read some version of the beta
02:50software, particularly if you run across a client who might be running a web
02:53site that says it is running 1.6.0. By going into the System Information this
02:59the only way you'll be able to determine which 1.6.0 you were running.
03:02All right, now though we've done that let's take a look at how these updates are
03:06going to happen in Joomla.
03:08If you go to Extensions > Extension Manager we already use the Install tab here
03:13for installing software on your web site.
03:16However, there is an option here now to update items as well.
03:20If you see nothing listed and it say there's no updates, you can click the Find
03:25Updates button up here in the upper right-hand corner and Joomla will access the
03:30Internet and pull down any updates that need to happen.
03:33So one of things that need to be updated is Akeeba Core, that's our Akeeba Backup,
03:39and it's noting that the current version is actually 3.2 beta4.
03:43We downloaded 3.1.5, the stable version, and so it's telling us that we can
03:50update right from here.
03:51So if I want to update Akeeba, I can go ahead and check this off and click the
03:56Update button and the update will go ahead and download from the Internet and run,
04:00and notice that now when I go to my Akeeba Backup it'll tell me that I'm
04:07here I'm running 3.2 beta4 and it's ready to back up the web site.
04:10So, one of these great new features in 1.6 is the very easy way of upgrading
04:16your extensions and upgrading Core Joomla. As Core Joomla comes out with new
04:21update you're going to find them there right in your Extensions Directory.
04:26So I encourage you to keep those web sites up-to-date, keep your security up,
04:32keep the hackers out.
04:33It's just a few clicks these days.
04:35It's so easy to do, you have no excuses anymore for not keeping your web site up-to-date.
Collapse this transcript
12. Launching Your Site and Beyond
Launching your site
00:01Our web site is all finished.
00:03All that's left for us is to launch it on a web host.
00:05So what we need to do now is transfer our Joomla site from our local copy
00:09running right there in front of you on MAMP or XAMPP and transfer it to
00:13some kind of web host.
00:15If you haven't done so already make a backup of your web site using Akeeba
00:21Backup and remember that's under the Components > Akeeba Backup.
00:25We installed it in Chapter 11.
00:26You can go back and refer to those videos if you need to go through the process
00:30of how to install it and how to make a backup.
00:32You will create a JPA file, which you will need to download.
00:36If you are doing that and in other words you're creating your own personal
00:40backup right now today to upload to your web host, then you'll also need to
00:46download something called Kickstart and Kickstart is available here at Download
00:52under the Official Releases. And if you scroll down to you Akeeba Kickstart,
00:58view the releases in this category, look for the most recent stable version
01:04that will work with your version of Akeeba that you downloaded and installed for your web site.
01:11If you are going to use the Exercise Files, you do not need to download Akeeba Kickstart.
01:17We are going to take the JPA that's located in the Exercise Files folder and the
01:23Kickstart that's also located in the Exercise Files folder and we are going to
01:27use those two together.
01:29The reason why I am making this difference in Akeeba Backup writes their version
01:33of Kickstart to match to a version of the backup utility.
01:37So the Kickstart and the Backup work together.
01:40If you download a version of Kickstart sometime in the future and you're
01:45trying to use it with the JPA file that was created sometime in the past, this may not work.
01:51So if you are using the Exercise Files, you use the kickstart.php that's there
01:55along with the JPA file and if you're creating your own backups and you're
02:00moving your own site to the web server, use the JPA you just created and the
02:05kickstart.php that you're about to download from here.
02:08Once you download this from the Akeeba Backup web site you'll download a zip file.
02:13Unlike most of Joomla zip files,
02:15you will actually open it and inside you'll find kickstart.php.
02:19That's the file that you need.
02:21kickstart.php also ships with a bunch of language files so that you can run in
02:27Kickstart in a variety of languages.
02:29By default the language is English.
02:32So if you just put kickstart.php and the JPA file together and you're living
02:37here in the United States or Great Britain and you want to build a web site in
02:40English, you are all set.
02:43Then what you are going to need is your web hosting account and we have a web
02:47hosting account established here at Bluehost and we've logged into the control
02:52panel for Bluehost and all that information was provided to us when we
02:56registered for a Bluehosting account.
02:58They sent us an email that had our login information and how to access the control panel.
03:02So you're going have to refer to all that information.
03:05Every web host is different in terms of the email, where you go, what the
03:09addresses are, how you access your control panel.
03:12So follow those instructions to get to something that may or may not look
03:16like this quite frankly.
03:18Bluehost is using something called cPanel, which is an open source control panel.
03:22It's used by a wide variety of web hosts and you may see something pretty
03:27similar to this in the backend of your web site.
03:31But you may also have a different kind of control panel and you'll have to hunt
03:35around for similar options for what I'm going to present here.
03:38So what I am going to first is I am going to scroll down to the Files portion
03:43of the control panel.
03:45Here under Files there's a File Manager.
03:48Let's go ahead and click on that.
03:51Inside of my Bluehost account I am going to go into the
03:54twotreesoliveoil_biz folder.
03:57In some web hosting accounts you will go straight to www folder or
04:01something called htdocs.
04:03It all just depends on how your web host is configured.
04:07This is the way it works for Bluehost.
04:09So I am going to double-click on twotreesoliveoil_biz and these are some default files
04:15that come with the folder when we first configure it.
04:19The first thing I am going to do is get rid of those files by holding down my
04:23Shift key and selecting them all and then I am going to click Delete.
04:27They ask me if I'm sure.
04:29I am going to say yes.
04:30So I have got nothing left here in this folder.
04:32So now I am going to go ahead and upload.
04:35In this case, I'm working with the Exercise Files so I'm going to go into my
04:40Exercise Files folder, go into Chapter 12, go into 12_01, and I am going to
04:47choose my JPA file, which is going to be set to upload, and I am going to
04:52upload kickstart.php.
04:55Both of these are going to upload into the root of my twotreesoliveoil.biz web site.
05:02So that upload is now complete.
05:04I am going to close this window and if I hit reload, you will see that I have
05:09two files here now on my web page.
05:11I am going to open another tab and I am going to go www.twotreesoliveoil.biz and
05:20you will see that we have two files. The same two files that we saw in the File
05:24Manager are now showing up here on the web site.
05:26I am going to click on kickstart.php.
05:30When I do that the Kickstart program runs and it starts with a disclaimer here
05:35about things you need to know about the way Kickstart works.
05:38Please go ahead and read through that.
05:40I'm going to click to continue.
05:41I am going to leave everything set up to its default settings and then I am
05:45going to click the big green Start button down here in the bottom.
05:48This is going to run the extraction process.
05:52Before we run the installer, one of the things that I'm going to need for my web site
05:57is a new database along with a database user and a password.
06:01So I'm going to jump back into my control panel and I am going to scroll down to
06:06the Databases portion of the control panel.
06:08Now Bluehost is running several kinds of databases.
06:12The one that Joomla is running is MySQL.
06:15So you can ignore all the other ones and I am going to go into the MySQL
06:20Database Wizard by clicking on the link.
06:23This is going to ask me for some information so that it can create a database
06:28and a database user and then make the two of these things talk to each other.
06:32It's a really nice utility.
06:33So first of all it's going to ask me to create a database and the name of that
06:37database is now hansela1_joomla16.
06:43Then I am going to go to the next step and I am going to create a database user.
06:48It's going to ask me for a username.
06:50I am going to enter dbuser2 for my username and then I am going to enter a password.
06:55I will enter that password again and I'll go ahead and click the Create User button.
07:00I am going to assign all privileges to that database user so that Joomla
07:05will run correctly.
07:06Now I am going to scroll down and I am going to say Next Step and it will tell
07:13me that congratulations,
07:14we now have a database called hansela1 _joomla16 and we have a database user
07:20called hansela_dbuser2, which is great.
07:23That's the information we're going to need so I hope that as you're following
07:27along on your own web host you wrote some of this information down.
07:30You're going to need it to restore your web site on your own web host.
07:35So I am going to go back to my Kickstart tab and I am going to click on Run the Installer.
07:41This is going to ahead and run my Akeeba Backup installer.
07:44So it's going to give me some information here and we are running all of the
07:47right versions of things.
07:48So we will say Next.
07:52It's going to ask me about some information to restore the database.
07:56So the Database type is indeed MySQL. The Database server hostname is
08:00localhost typically.
08:03Your host may be different.
08:04You may have to check with them.
08:05The User name is hansela1_dbuser2 and you will need to enter that password again.
08:15The Database name in hansela1_joomla1.6.
08:16We will go ahead and hit the Next button.
08:24This will think for a minute and then it'll tell us that it has dumped all of
08:27the information into our new database, which is great. Say OK.
08:33In this next screen it's going to ask us for some information that it's bringing
08:37over from the old web site including a site name, the site e-mail address, and
08:41the site sender name.
08:42I'll go ahead and leave the Live site URL blank.
08:45I am going tell it to use the directories under my new site root.
08:49Now if you're familiar with using Akeeba Backup you're probably used to just
08:54going on to the next screen and being done with this, but for Joomla 1.6 you may
08:58need to take a look at the Super Administrator settings.
09:02You could enter a username and password, but you definitely need to enter an
09:06e-mail address, which is webmaster@ twotreesoliveoil.com. Go ahead and click the
09:12next button and it will tell you that your configuration has been all written.
09:18The last thing we need to do is click this link to remove the
09:21installation directory.
09:22So that's been deleted. Hooray!
09:27And it's going to redirect us to the front end of the web site.
09:31We can go ahead and get rid of our Kickstart window.
09:34We can get rid of our File Manager window and we can get rid of our control panel.
09:39So here we are on the front end of our web site.
09:42You can take a quick flip through things and see that it's exactly the same site
09:46we just had running on our local machine.
09:49Now it's launched and it's available to the world if they go to
09:52twotreesoliveoil.biz.
Collapse this transcript
Training the client on front-end editing
00:00The web site is live and you've got your check. What more is there?
00:05Well, did you train your client to make their own changes to the web site?
00:09It's really not that hard to do and it will save your time later, because
00:14wouldn't you rather be building new web sites than changing spellings of things
00:18and adding sentences to web sites? I sure you would.
00:21You can set your clients to make changes to the front-end of the web site only,
00:25which is really terrific, because it's a very friendly environment to edit from
00:29the front-end of a web site.
00:31Front-end editing is somewhat limited. Depending on your client,
00:35that could be a really good thing though.
00:36So I'm going to show you how front-end editing works now.
00:39I'm going to go to my Login page and then I'm going to go ahead and enter my
00:44Super User name and password, which is Jen, 123456.
00:47I'm going to go ahead and log in, and when I go to just let's say the About page,
00:54you'll notice that a little icon shows up in the upper right-hand corner of the
01:00web site, a little pencil icon.
01:02The only reason why I'm seeing that pencil icon is because I'm logged into the
01:06web site and I have permission to edit these articles.
01:10So if I click the pencil icon, an editor will come up in the window and you can
01:16see here that I can change the title of my article and I have all of the
01:22features for editing this particular article that I had on the backend of the
01:25web site in terms of the TinyMCE buttons that I can click.
01:29And I also have those buttons at the bottom of the screen here, all the same
01:33ones that I had, including being able to upload images and insert them into
01:37articles, the Read More, the Pagebreak, and the Toggle Editor items.
01:42Under here I have the ability to change the category in which things are published.
01:47I can publish or unpublish articles, set their Featured state, set when they
01:51start and finish publishing, set their language, and put in meta
01:55description, and meta keywords.
01:57So editing right here in the front-end of the web site is great for your client.
02:01They login, they surf to the page they want to edit, they click the little
02:05pencil, they make their changes and then they click Save or Cancel.
02:09The downside to editing on the front-end is that almost always there's no way to
02:15create a new article on the web site,
02:17there is no way to link new articles to a menu, and there is no way that you can
02:24assign modules to pages from the front-end of the web site.
02:27So the front-end editing is most helpful for clients who just want to
02:31change existing articles and that's pretty much the limits of what this
02:36front-end editing can do.
02:38The only people who will have access when they log in to the web site and have
02:42the little pencils in the upper right- hand corner by default in the default
02:47Joomla 1.6 configuration are editors, publishers, managers, administrators, and super users.
02:54Of course all of that can be overridden in the ACL functionality that's new
03:00in Joomla 1.6, but those are the default groups that may have front-end
03:03editing permissions.
03:06If you need to make new articles and link them to menus, you're going to need to
03:10give your client back-end editing privileges.
03:13If you make the client at the administrator level for example, they'll be
03:16able to get in and create new articles and link them to menus without any
03:20trouble and you should be able to do that at the manager level as well.
03:24Take time to show the client how the web site works, either through in person
03:28training or through written documentation, or both.
03:31This will save you phone calls later and your client will feel empowered to make
03:36their own changes to the web site.
03:37Remember, of course, that you can charge for training in addition to your regular
03:42fee for building the web site.
03:44Your client is just going to love their new Joomla web site now that they feel
03:48that they are in control and they can make their own changes to the web site
03:51without involving you every time.
Collapse this transcript
The importance of backups and coordinating backups with your web host
00:00One of the big differences between static web sites and CMS web sites is that
00:05the maintenance and day-to-day changes primarily happen on a web server.
00:09What that means if something very bad happens, you don't automatically have a backup.
00:16In static HTML land, such as a Dreamweaver site, you could have a copy of the
00:21site on your local computer, which you then copy up to the Web server.
00:25However, with the CMS, whole changes are made directly on the server and they may
00:30be made by you and they may be made by your client.
00:34This means you have no local backup unless you make one.
00:38Your web host should be making daily backups at an absolute minimum and
00:42preferably at least a daily and a weekly backup.
00:46These backups should contain your entire Joomla site, files and database, and
00:52hopefully it also contains other account settings like email accounts.
00:57Those backups may be stored on the server, so you'll need to periodically make
01:01an offsite backup as well.
01:03Akeeba Backup is great for making backups whenever you wish.
01:07You can also configure it to run periodically and write the backup to offsite storage.
01:12That's beyond the scope of this course but it's explained in detail on the
01:16Akeeba Backup web site.
01:18Don't assume your host makes backups. All hosts do in fact make backups but
01:25more often than not those backups are not necessarily available to web hosting clients.
01:32They use these backups in case something bad happens to the server, but there's
01:36no guarantee that those backups are made and they may not be available to you at all.
01:43Be sure you have the backup talk with your web host.
01:46Ask how long it would take to restore a site from backup if something bad did
01:50happen, so you get a sense of down time.
01:54Make sure any backups are available to you as well.
01:57Find out how many backups they're making and how often they're making them.
02:01Don't hesitate to move eeb hosts if the answers aren't adequate for you.
02:06It's hard leaving a host you may have loved for many years, but you need to
02:10protect your web site with good backups and great service.
02:14And remember the more Joomla sites, you build the more you have to lose if
02:18something bad happens to your web server.
02:21Do a little homework now and you'll save yourself a ton of heartache later.
Collapse this transcript
Additional Joomla! resources and opportunities to participate
00:01If you've enjoyed this video, and I hope you have, you might think about getting
00:05involved with the Joomla project.
00:07Joomla gives you everything for free in order to build these web sites for your clients.
00:11So you could also give back to Joomla. Otherwise your business isn't going to do
00:16very well without Joomla being around.
00:19How can you get back to Joomla when you're a new person and you're just starting out?
00:24Actually, there is many ways that are great and will be very helpful to Joomla.
00:28I am back on the Joomla discussion forums at forum.joomla.org.
00:33Anyone can create account here on the forums and answer questions.
00:38You'll discover now that you watch these videos in Joomla 1.6 that you can
00:43contribute right away to the Joomla 1.6 discussion forums where people are
00:48asking questions about Joomla configuration.
00:51My good friend, Ken Crowder, has often said that when he got started with
00:55Joomla, his goal was to answer at least two questions for every question he asked.
01:00That's how he got very good at Joomla.
01:02I recommend you do the same thing.
01:05If answering questions isn't your style, you can always contribute to some of
01:08the Joomla official documentation right here at docs.joomla.org.
01:13You don't need to join the documentation working group to help improve the documentation.
01:18Just register here on the Wiki and get started.
01:22Fix any errors that you find or take a look in the cookie jar and consider
01:26helping out with one of the many projects for documentation.
01:29The Joomla Bug Squad has just come through a very active period and putting
01:35together Joomla 1.6, but they're continuing to squash bugs in Joomla 1.6 and
01:41they're starting to think about Joomla 1.7 as well.
01:45"I don't know PHP," you might say.
01:47Well, neither do I, but you can still report any bugs that you find into Joomla 1.6.
01:53You can also test any patches that other programmers create to make sure that they work.
01:58You can also confirm that certain bugs exist.
02:01All of these things are very helpful to putting out the next version of Joomla.
02:06If you speak languages other than English, you might consider joining
02:09the translation teams.
02:11Joomla's translation teams make a point of translating the backend of Joomla
02:15into languages from around the world.
02:17Right now, Joomla supports more than 50 languages.
02:20They've been translated by people everywhere.
02:23If you're interested in meeting fellow Joomla users, take a look around in your
02:27area for a Joomla user group.
02:30If you don't find one, you can always start your own.
02:33The directions are right here on the Joomla web site.
02:35There is a user group FAQ right on down here on the side of the page. Follow those
02:42instructions and you too can form a Joomla user group in your area and start
02:46meeting great Joomla developers that are right near you.
02:50I really recommend the user groups.
02:52It's terrific networking and great people to work with.
02:54Some of the nicest people you'll ever meet work with Joomla.
02:58Recently, Joomla just started its first social networking web site
03:02at people.joomla.org.
03:05There are many groups of people here working together, thinking about Joomla
03:081.7, 2.0, the future of Joomla, discussing issues and extensions in Joomla.
03:15They're organizing Joomla Day conferences and events and there's other various
03:20Joomla enthusiast types of activities happening here all the time.
03:24Create an account and start meeting Joomla people from all over the world.
03:27Joomla is also on Facebook at facebook.com/joomla.
03:33You can become a fan along with the 33,144 other people who are fans.
03:40If you're not a Facebook person, you can always follow a bunch of Joomla people on Twitter.
03:44There is all kinds of Joomla people that are out there tweeting each day, including me.
03:49If you'd like to follow me, I'm jen4web.
03:56Joomla is a very warm and welcoming community.
03:58Remember that Joomla software is designed and executed by its community.
04:03It's not supported by large corporations.
04:06It doesn't have any venture capital funding behind it.
04:09It's completely community driven and the people who love Joomla are the people
04:13who must contribute to it.
04:15So if you love Joomla as much as I do, I encourage you to get involved in
04:19some way or another and I've given you some great ways to get involved with
04:22Joomla right here.
Collapse this transcript
13. What's New in Joomla! and in Joomla! 1.7?
The new release cycle and versioning scheme
00:00You may be wondering what's happening with Joomla these days.
00:04We waited three years for the release of Joomla
00:061.6, but in just six months, Joomla 1.7 was released.
00:12You may have heard talk about a Joomla 1.8 or sometimes a Joomla 2.5, and even Joomla
00:183.0 is being discussed.
00:20What's up with Joomla's release cycle and all of these new Joomla versions?
00:24What does this mean for you, your web sites, and your business?
00:29Shortly before the release of Joomla
00:301.6, a new release cycle was announced by Joomla's Production Leadership Team, or PLT.
00:36Previously, Joomla's new releases were driven by a list of features.
00:40The PLT would establish that list and when the list of features was completed,
00:45software would be released.
00:46That meant there was a three-year gap between Joomla 1.5 and Joomla
00:501.6, which was not good in the world of fast-moving technology.
00:55So in late 2010, the PLT announced that they would move to a release cycle
01:00releasing a new version of Joomla every six months.
01:03What features were ready would be included in that new release.
01:06If features weren't ready, they would be incorporated into the next Joomla release.
01:12A six-month release cycle for a web product is quite challenging.
01:16The PLT did recognize this, because most people don't want to do a major change
01:21to their web site every six months.
01:24As a result, they grouped three of the six- month releases into a larger release cycle.
01:29The first two releases of the cycle are short-term releases.
01:32A short-term release is good for only seven months before it reaches the end of life.
01:38End of life is the point where the software is no longer supported, meaning
01:42there are no more security fixes available for it.
01:45The third release of the release cycle is a long-term release, which is then
01:50supported for 18 months.
01:52The start of the release cycle begins with the .0 release.
01:56This is where the new administrator template is released, along with any changes
02:00to functionality that might break extensions.
02:03This is a short-term, or seven-month, release.
02:06The .1 release comes out six months later.
02:09It is anticipated that there will mostly be bug fixes in the .1 release, but
02:14minor changes to functionality are also typically included.
02:19This is also a short- term, or seven-month, release.
02:22The final release in the cycle is a .5 release, which is good for at least 18 months.
02:28This should be a very stable release, fixing more bugs from the first two
02:32releases and again introducing minor changes to functionality.
02:36For example, the next release cycle will be the Joomla 3.X cycle. Joomla
02:423.0 will start the cycle when it's released in July of 2012.
02:46Joomla 3.1 will be released in January 2013 and Joomla
02:513.5 will be released in July 2013.
02:53Joomla 3.5 will reach its end of life in January 2015.
03:00Within a release cycle, the administrator interface should remain mostly the same.
03:05You may see minor additions to functionality, but you won't see a new
03:09administrator template, and you should not encounter extensions breaking
03:13completely between versions.
03:15However, there's the oddball extension that might change the way it does things,
03:20or you may need to update extensions to work with your next version of Joomla.
03:25So it behooves you to test your site once you upgrade and find those little glitches.
03:30Upgrading between versions of Joomla
03:32within a release cycle should be simple one-click updates.
03:37So what's the status of the current release cycle?
03:40The current release cycle began in January 2011 with the release of Joomla 1.6.
03:44Joomla 1.7 was released in July 2011.
03:49After some debate in the community, it was decided that the third release in
03:53this cycle will be called Joomla
03:542.5, and it will be released in January 2012. Joomla
03:582.5 will be good for a full 18 months, or through July of 2013 at a bare minimum.
04:06This does mean that it looks like Joomla
04:09can't count for the moment--1.6, 1.7, 2.5-- but the break happened to get Joomla
04:15under its new naming convention.
04:18And after years of having one version of Joomla
04:20not compatible with the next, there were many concerns in the community about
04:24how this new release cycle would work.
04:26Fortunately as promised, the one-click upgrade between Joomla
04:301.6 and 1.7 came to pass, and it looks like the leadership of Joomla
04:35is committed to easy upgrades going forward.
04:37I'll show you how to upgrade your Joomla 1.6 sites to Joomla 1.7 in the next video.
Collapse this transcript
Upgrading your site from 1.6 to 1.7
00:00We're looking at the back end of our Two Trees Olive Oil web site, which is
00:05currently running Joomla 1.6.0.
00:08And how do we know that?
00:09If you look down at the very bottom of the screen, you'll notice that there is a
00:12version number there. And it's 1.6.0.
00:16You can also find the version number to confirm that you're actually running
00:201.6.0 and not one of the many betas that came before Joomla
00:241.6, which also say they're Joomla
00:271.6.0, by going here to Site and then going to the System Information item under Site.
00:34And this will tell you all of the information about what version of PHP you're
00:39running, the version of the database, as well as your version of Joomla. Joomla
00:421.6 is no longer supported as of the time of this recording, which is November of 2011.
00:48Joomla 1.6 hasn't been supported actually since August of 2011; it reached its end of life.
00:55It's very important to stay on top of your Joomla
00:58updates and putting this site, the Two Trees Olive Oil site, as it is out on
01:02the Internet now is probably somewhat unsecure, because there have been security updates to Joomla
01:08since that point in time.
01:10So it's very important to upgrade our Joomla web site to the latest version.
01:14Fortunately, moving from Joomla
01:161.6 to 1.7 is a breeze, and it makes me so happy to be able to see that
01:22incorporated into the back end of Joomla.
01:25So to upgrade your site to Joomla
01:271.7, what you're going to need to do is go to Extensions > Extension Manager.
01:33And we've been through some of the things here in the Extension Manager in
01:36previous videos, but the one thing we probably haven't covered to this point is the Update tab.
01:41And if you click on the Update tab, you'll see that this is where any kinds of
01:46updates that are coded correctly will be incorporated into Joomla.
01:49And by coded correctly I mean that any of your third-party extensions can also
01:55be upgraded through this Extension Manager Update, provided that that
01:59third-party developer coded their extension correctly so that this interface
02:04can be used with it.
02:06So in order to upgrade your version of Joomla, the first thing that you should
02:09do is ignore whatever is on the screen.
02:11I know that's a little bit confusing, but right now it's telling me I can update to Joomla 1.6.0.
02:15I'm already running Joomla 1.6.0. So what we first need to do is hit this button up here in the upper right.
02:22This is Purge Cache.
02:24This will make Joomla forget about any of the updates that are currently available.
02:27Then we're going to click on the button next to Purge Cache, which is the
02:30Find Updates button.
02:32Go ahead and click that, and Joomla
02:33will think a minute, and it will pull in any updates that are required for
02:37your particular Joomla web site, provided, again, that they've been coded correctly.
02:42Now, my good friend Nicholas from Akeeba Backup has of course coded his
02:46extension correctly,
02:47so the first thing we see here on our list is an upgrade to Akeeba Backup.
02:52If I put a check mark next to that and then say Update, our copy of Akeeba
02:58Backup will get upgraded here.
03:00And you'll see that we get a message here saying that we've successfully
03:03upgraded our web site to the latest version of Akeeba Backup, which is wonderful.
03:08The next thing that you should do is make a backup of your web site using
03:12Akeeba Backup, just in case anything happens to go wrong while you're upgrading
03:17your web site to Joomla 1.7.3.
03:20I'm going to go ahead and skip that step for the moment so I can keep showing
03:23you the next step in upgrading your Joomla web site.
03:25So I'm going to back to my Update tab here, and you'll see that I have Joomla
03:30listed here in my Update manager, and it's version 1.7.3.
03:35So put a check mark next to it again and click on the Update button one more time.
03:40And you're going to wait a minute because what's happening is Joomla, your web
03:44site that's here in front of you, is talking to the Joomla
03:46web server to get the most recent version of Joomla,
03:49and it has to download those updates and install them.
03:53The next thing you're going to see is this completely blank screen.
03:57I know the user experience is rather awful, but unfortunately, this is what you
04:01get--a totally blank screen.
04:03The key is not to panic.
04:05Go ahead and erase the URL back to the administrator so it says
04:09localhost/administrator, or on a Macintosh, it would be
04:14localhost:8888/administrator.
04:18Your back end is just fine;
04:19you'll see that it's here.
04:21And if you take a look at the bottom of the screen, you'll notice that you're
04:23running version 1.7.0.
04:26So we've made some progress.
04:29What happened between Joomla 1.6 and 1.7 is that there were two major changes.
04:34One of them, of course, was just the bug fixes and all the various updates that happened.
04:39The other piece was a database change.
04:42So upgrading from 1.6 to 1.7 isn't truly "one-click."
04:47We actually have to go through the process twice.
04:49It puts the database change in place, and then we can put the next phase of the
04:54update on top of that.
04:56So I'm going to go back to Extensions > Extension Manager, and you'll see here it says Warning:
05:02The update is not complete.
05:04It's only partially complete.
05:05Do a second update to complete the process.
05:08So now if I go to the Update tab, it warns me again that the update is still not complete.
05:13And you can see that I have my update to Joomla
05:161.7.3, which is the most current version of Joomla today.
05:20So I'm going to go ahead and check that box and then click my Update button one more time.
05:26And this will move me from Joomla
05:281.7.0 to 1.7.3, which is the most recent version of Joomla
05:33at the time of this recording.
05:36Now we might not have had to do so many steps if we had kept our Joomla
05:391.6 site up to date.
05:41As there are updates released for Joomla
05:441.6 or 1.7, you should be updating your site all the way along, and you follow
05:49this exact same procedure.
05:51Go into Extensions > Extension Manager, click on the Update tab, click on the
05:57Purge Cache button, and then click on the Find Updates button, and then click on
06:00the Update button once you've selected your updates from the list.
06:03Yeah, I know. One click? More like five or six, but I'll take it because it's so
06:07much easier than what we used to have to do in Joomla 1.5.
06:11So as you see here, the web site has been upgraded, and there are no more
06:16updates that are available.
06:18You can confirm you're running the correct version of Joomla
06:20by looking at the bottom of the screen at version 1.7.3.
06:25Now we should take a look at the front end of the web site just to make sure
06:29nothing has changed over the course of making our updates.
06:32So I'm going to flip over to the Two Trees Olive Oil tab, and I'm going to
06:37refresh this web site to take a look at the homepage here.
06:41And it looks like things are working great on the front end of our web site.
06:45If I click on some of the images here in my simple image gallery, they are still
06:51loading and the large versions, and that's great.
06:56My About Us page is looking very good. And you should just keep on flipping
07:01through the tabs that are on the top of the day, look at the links that are on
07:04the side, and so forth.
07:06As you flip through the site here, you're going to come to the Links page, and
07:10one of the things that did change between Joomla
07:121.6 and 1.7 is this Links page.
07:15You'll notice that it says Web Link in front of all of these particular links
07:19that we have for this web site,
07:21so that is something that we will need to fix.
07:23So if I go back to my back end of Joomla
07:26and I go to Components > Weblinks, then I'm going to go to my Options tab up
07:32here in the upper right.
07:34And you should be on the Weblink tab, which is the very first one on the list.
07:40You'll notice that the settings for the Weblink, they're set to open in a new
07:43window by default, which is great.
07:46These are counting their clicks, how many times they've been clicked on, and that
07:50will be reported here in the Web Link Manager, which is fine.
07:53I'm going to go ahead and leave that on.
07:54The third item is should it show text, an icon, or a web link only?
08:00And what I really want to show is just a web link.
08:03But right now what's happening is it's set the Icon and Select Icon has nothing selected,
08:09so it's showing the words Web Link.
08:11I'm going to switch this over to the Web Link Only and say Save & Close.
08:16And now when I refresh the web site, I have just my links here.
08:22Notice however we could have put in an icon if we wanted, we could have chosen a
08:25nice icon, we could have picked one of the olive bullets and deposited those all
08:30in place, or we could just leave the listing very simple, the way it is here.
08:34So that's how you go about upgrading your Joomla
08:381.6 site to Joomla 1.7.
08:41I hope you all go ahead and do that right now for anybody who is still running a Joomla 1.6 site.
08:45It's really important to get the move to Joomla 1.7.
08:49And when Joomla 2.5 comes out, the process for moving from 1.7 to 2.5 should be exactly the same
08:56as what I've covered here, or something very close to it.
08:58So keep an eye out for updates.
Collapse this transcript
Changing page breaks to tabs or sliders in article formatting
00:00You are probably wondering at this point what the major differences are between Joomla
00:031.6 and 1.7, and actually they are very much the same kind of product,
00:09particularly from a site builder perspective.
00:11If you are a site builder and you're just working with Joomla, plugging in
00:15extensions and templates and getting things to work--in other words, you are
00:19not doing programming-- you will find that Joomla
00:221.7 is pretty much exactly the same as Joomla 1.6.
00:24They are about 98% the same.
00:27There're a handful of new features. A few little buttons and things have changed
00:31in places between versions, but other than that there are very little
00:35differences between the two versions.
00:38The big change between Joomla
00:391.6 and 1.7 is the concept of a framework or platform, which has always
00:45been part of Joomla,
00:46and is now separated from the CMS, and they are being run as two separate projects.
00:52So the Joomla CMS is running and depends on the framework, whereas the Joomla
00:57framework is more or less its own project.
00:59They're definitely connected at the hip.
01:02They want to make sure that they stay in sync as they move forward so that the Joomla
01:05CMS can keep using the framework and the framework can continue to support the
01:09CMS, but they are running on their own development areas with their own teams of
01:15developers, many of whom do overlap.
01:18So just be aware of that, that there is this new concept of a framework or a
01:21platform that's out there, if you hear it mentioned, and you should just know
01:25that it typically has to do with programming and geekery.
01:29So for 1.7 site builders like you and me, we are the ones who are building
01:34web sites with the Joomla
01:35CMS and to us there is very little difference between Joomla 1.6 and 1.7.
01:40I just wanted to cover a few of the great new features that you will see in Joomla
01:431.7, and the first one I am going to cover is my all-time favorite, a huge
01:48hat tip to my good friend Brian Teeman, who put together a presentation
01:53called Hidden Joomla
01:54Secrets, and in that presentation he pointed out this feature that I had no idea
01:59it existed and I am so excited to have found it.
02:02So this one has to do with page breaks inside of Joomla.
02:06If we go over to our About section of the web site and we go to History &
02:10Timeline, this is the way that we had the page configured to start with.
02:14When we first recorded this video with Joomla
02:171.6, we had a page called History and Timeline,
02:21there was navigation over here on the side, and I could flip between years and
02:25see information about what was happening with the history and timeline of Two
02:29Trees Olive Oil, which is great.
02:31It's a very nice thing.
02:32It's kind of ugly looking, and it's kind of old technology, but it works just fine.
02:36Well, there are some ways that we can modify the way this page looks now in Joomla
02:401.7, which is really fun.
02:43So if I flip back to the back end of Joomla
02:45and I go to Extensions > Plug-in Manager, and I am going to scroll on down to
02:49Content-Pagebreak, and I am going to click that.
02:54Over on the right side of the screen, we actually have some options for
02:57Content-Pagebreak at this point.
03:00Now these options are going to apply to every page on the web site that is
03:05running page breaks within Joomla.
03:07You can't have one set of page break pages have one set of formatting and
03:11another set of page break pages have a different set of formatting.
03:14They are all going to have the same formatting because of this plug-in.
03:17Now you might be able to find a third- party extension that will do that for you,
03:21but not here within core Joomla.
03:24So if you take a look at our Basic Options here, the first thing that it says is
03:28the Article Index Heading is currently set to Hide.
03:32If I set that to Show and say Save and refresh the front end of my web site,
03:37you will see that it now says Article Index over top of our dates here over on the right side.
03:43And Article Index was always just sort of a hokey sort of title.
03:47I would like to change it to something else.
03:49I can type in my own custom article index heading here, maybe perhaps Through
03:55the Years, and say Save, and refresh the front end of the web site.
04:02So now instead of Article Index, it says Through the Years.
04:06But maybe you want to get rid of this box on the side altogether, and that
04:09is also possible now.
04:11The Table of Contents option here is currently set to Show;
04:15if we set that the Hide and we say Save, and I refresh this page, the box on
04:21the side goes away and now we just have a series of pages with the navigation on the bottom.
04:27That's not really an improvement I think.
04:29I think it's better to have that index over on the side, but it gets better.
04:34The part that really excites me is this dropdown here down at the bottom that
04:38says Presentation Style.
04:39So right now we are presenting this by pages, a series of pages that we can
04:43flip through and read more information, but we also have two additional options: Sliders and Tabs.
04:50So let's try the Sliders option, and let's save that, and when you refresh the
04:55front end of your web site, you will find that we now have our dates here in a
05:00series of sliders. And I can click on them and these will pop up with the
05:05information, which is really quite fabulous when you look at it.
05:09Don't worry about this one at the top that says 1903.
05:11I will show you how to fix that in just a minute.
05:14The other option here was Tabs.
05:17So if you switch to Tabs and go ahead and say Save and refresh this page, now
05:23we will have a series of tabs going across the top, and we can click on each one
05:26of the tabs to see the latest information, which is also extremely cool.
05:31I think I am going to keep this set to Tabs.
05:33For me this works for this site, because the tab names are short--
05:38there is only a few of them--and we're just going to have one row of them, even
05:41if we add some more tabs about the more recent past and we also need to add 1903
05:46to these tabs going across the top.
05:48The sliders are better--the vertically oriented sliders are better--
05:53if you have lots of content or long titles, or you have the potential of adding
05:57more stuff over time.
05:59So those sliders are great for frequently asked questions.
06:03Think about having a question as the title of the slider and the answer showing
06:07up underneath as people click through things, or a list of steps in a procedure
06:11is another way to present that type of thing. Or here, we are going to do a
06:15historical timeline.
06:17So let's fix this problem with 1903.
06:19I am going to go back here in the back end of Joomla
06:22and say Save & Close, and then I am going to go to Content > Article Manager and
06:28I'm going to go to my About category and find my History & Timeline article.
06:34Click on that and scroll in down here.
06:38So what's going on is we have a series of these pages, and 1903 is showing up
06:45here as sort of a preamble to the history and timeline.
06:48What we need to do in order to make it in a tab is we will actually need to put
06:52a page break right before 1903.
06:53So go ahead and put your cursor right before the 1 in 1903 and then hit the Page Break button.
07:00Give it a title of 1903 and an alias of 1903 and say Insert Page Break.
07:07Then scroll back up to the top and say Save.
07:11Now when I refresh my page you'll see that 1903 shows up here as part of the tabs.
07:17Obviously you can also go through and take 1903 out of the content.
07:21So this would present a little bit better than instead of saying 1903 in the tab
07:25and 1903 in the content.
07:26You also have the opportunity to put in a bit of preamble text on the top of
07:32this article between the words history and timeline and the tabs underneath.
07:36So to do that, go to the back end of Joomla
07:39again, and I am going to go to this article.
07:43The easiest way to get before this page break is to use the Toggle Editor
07:48button and just before where it says, hr title 1903, alt 1903, go ahead and
07:56type in <p>&nbsp;</p>. What we have just done is we coded a blank paragraph.
08:10We are just going to type in that little bit of code there and then hit the
08:13Toggle Editor button again, and now you'll have room to type above that, and we
08:17can say, "Our history is long on great taste, quality, and commitment to customer
08:31satisfaction," or whatever sort of preamble you would like to put in there.
08:39And I have an extra space there at the start of that sentence.
08:42Go ahead and hit the Save button and now when you refresh this page, you'll see
08:49that we have a little sentence on the top and we have our tabs underneath.
08:52The sentences always staying in place, and the tabs change as you click through them.
08:58So using the sliders or the tabs could definitely add some usability to your web site.
09:03It can also add a little bit of sizzle, better presentation for some of
09:06these long articles.
09:08So this is a really great feature in Joomla
09:091.7, and I hope you will all get a chance to give it a try.
Collapse this transcript
Introducing the offline access permission
00:00One of the new permissions in Joomla 1.7 is the Offline Access Permission.
00:06I talk a lot about the Offline Access Core Permission in Joomla 1.7:
00:11Access Control Lists In Depth, which is available in the lynda.com
00:16Online Training Library.
00:19The Offline Access Permission was just introduced in Joomla
00:211.7, and it has to do with who can log into the front end of your web site when
00:26the site is offline.
00:28So first of all, how do we take the site offline?
00:31Right now if I take a look at the front end of my web site and I just hit
00:34Refresh, I am looking at the homepage of my web site.
00:37It's publicly available; anyone can see it.
00:39But if my web site was under construction, or if I wanted to make an intranet, I
00:46might not want this homepage to show to everyone.
00:50So what you can do is go into your Global Configuration and this option has been in Joomla forever.
00:56You can take your site offline under the Site tab here. The Site Offline
01:00permission is set to Yes instead of No.
01:04Go ahead and hit the Save button, and when we refresh the homepage, you'll get a
01:10page that looks like this, and it indicates that the site is currently offline for
01:14maintenance, which may or may not really be true.
01:17But anyway, you've taken the site offline and you have to enter a user name and
01:20password in order to get in.
01:21Now, we have two users created for this web site already other than the
01:26administrator, and Maria Vitalia is the CEO for the company.
01:31And if Two Trees Olive Oil is undergoing a site redesign, Maria probably would
01:35like to know what's going on, and she would like to log in every once in a while
01:39and check and see what's happening with the site redesign.
01:43So in order to do that, Maria would enter her username and password.
01:47Username is maria and her password is 123456.
01:52And if we hit Log in, Maria can't log in to the web site.
01:55The reason Maria can't log in to the web site is because she doesn't have
02:00permission to log in to the web site. Up until Joomla
02:011.7 the only people who could log in through this Site Offline screen would be
02:08super administrators.
02:10But we can now control who has the permission to login to the front end of Joomla
02:14via the Site Offline permission.
02:17So let's try to give Maria permission to log in to this web site.
02:22I'm going to flip to the back end of Joomla, right here in the Global
02:24Configuration, and I am going to switch over to the Permissions tab.
02:27In the Permissions tab, I am going to go to the Employee User Group, and right
02:33now the Employee User Group is allowed to log in to the front end of the web
02:36site, and that's all we've allowed them to do, which is great.
02:40That works wonderfully well for the little behind-the-scenes login feature that
02:44we set up earlier in this video.
02:47Under the Offline Access permission, I'm going to change this from Inherited, or
02:52Not Allowed, to Allowed.
02:55By changing this permission, I will then allow anyone who is a member of the
02:58Employee User Group to log in to the web site when it's in this offline mode.
03:03I am going to go ahead and hit Save & Close, and when I flip to the front end of
03:09the web site and now try to log in as Maria, Password of 123456, and I click Log
03:15in, I am in fact allowed to log in to the front end of the web site.
03:21So the Offline Access permission is very handy.
03:24You can give it out to your clients so that they can log in.
03:27Notice Maria doesn't have any of the little editing pencils showing up anywhere
03:31here or the front end of the web site, so she can't edit any of the text.
03:34She just sees the site as it currently is in its state of production, which is a
03:39great use for offline access.
03:40If you would like to build your web site out on the Internet but hide it from
03:44search engines while the building process is underway, the Offline Access can
03:50also be used as a way of setting up intranet, and I cover that in Joomla 1.7:
03:56Access Control Lists In Depth.
Collapse this transcript
Expanded user profiles for site registration
00:00I'm here on the front end of our Two Trees Olive Oil web site, and I'm going to
00:05take a look at the area that's here behind the login.
00:08If I go over to the Login link and click, we have our Login screen where anybody
00:12can log in to the web site who has an account, and then over here on the right
00:17side of the screen, there's this link for Distributors, Register Here!
00:20Also, at the bottom, it says Don't have an account.
00:22If I click that, I'll get the screen where I can register for this web site,
00:26fill in my name, my username, a password, and an email address, and that's all I get to fill in.
00:31This is great if you're running a web site where not a lot of information is
00:35required, but if you're a distributor of the Two Trees Olive Oil product line,
00:39it's likely that Two Trees Olive Oil would like to know a little bit more about
00:43you than what's listed here.
00:46Up until this point, the only way to get that additional information would be
00:49through a third-party extension.
00:50A lot of people like to use Community Builder, and incorporate Community
00:54Builder with Joomla in order to put in those extra fields for user registration, which is great.
01:01But wouldn't it be great if it could be done within the core of Joomla?
01:05And fortunately, in Joomla 1.7, this additional feature is in place.
01:10So to do that, we're going to go over to the back end of Joomla
01:13and then going to go once again to Extensions > Plug-in Manager.
01:18And if your plug-ins are set to display over 20 to a page down here at the
01:22bottom of the screen, this plug-in will be on page 2.
01:25So hit the Next button, and again, scroll all the way to the bottom and you'll
01:29find an option here called User-Profile.
01:32Go ahead and enable that by clicking on the red blob.
01:35It'll turn it into a green check mark. And then click on User-Profile.
01:41You'll see over here on the right side of this plug-in, we have the options for
01:46including some additional User Profile fields for both the registration side of
01:51things and for the administrator side of things.
01:55Remember that a new user could be created on the front end of the web site
01:58via the Registration link or the back end of the web site via the site administrator.
02:03Also, when users need to go in and edit their own information, you can give them
02:07access to these extra fields in the second part of this plug-in where it says
02:11User Profile fields for the edit form.
02:13They can make changes if things are enabled here.
02:16By default, all of these are set to Optional, meaning that all of these fields
02:20are going to show up now on the User Registration form, and all of these will
02:24show up as optional items.
02:26So if I go back to the front end of the web site and just hit Refresh, you'll
02:31see that we have some required fields on the top for registration and
02:35underneath, all of this optional stuff, in terms of addresses, and zip codes and
02:40even a favorite book--probably not terribly relevant to Two Trees Olive Oil.
02:46So some of these things you might want to disable.
02:48For example, I'd like to require that they put in Address 1, but Address 2 will be optional.
02:54I'll require that they put in the city.
02:56I'll require that they put in a region and I'll require that they put in a ZIP Code.
03:00I'll leave a Country in place, but it'll be optional, because Two Trees Olive
03:04Oil is largely just distributing within the United States right now.
03:08We'll require them to put in a phone number, we'll leave the Web site optional,
03:12and then I'm going to turn off, completely, Favorite Book, About Me, Terms of
03:18Service, and Date of Birth, because I don't care about any of those things in the
03:22context of this web site.
03:24So you see how I've set all of those to Disabled.
03:27I'm going to set the second set of settings to exactly the same as the first.
03:32Go ahead and hit the Save button on the top of the screen, and now when you go to
03:35the front end of the web site and refresh, you'll see that our User Profile is
03:40in place and we've requested certain pieces of information.
03:43Some of these are required, as indicated by the red star.
03:46Now, this is a wonderful thing from the front end of the web site, because
03:51everybody who registers for the web site will now have to fill in all of
03:54this additional information to become a Two Trees Olive Oil distributor, which is great.
04:00One thing to keep in mind however--I'm going to go ahead and hit Save & Close
04:03here--is when you work with your users on the back end of this web site. If I
04:08happen to open up my User Manager and I happen to open up Maria Vitalia, and I
04:12can change her password or assign her to different user groups and so forth, and
04:16as I try to leave, I'm going to hit Save & Close.
04:20I'm not able to leave the screen, no matter how many times I click Save & Close.
04:24And it's a little bit confusing because it's not obvious why this isn't working.
04:29Well, it actually is right here under User Profile.
04:32When you click that, you'll see that now that we've added these user profiles,
04:37if you ever come into the User Manager and need to make changes, you're going
04:41to have to fill in this additional information in order to leave the screen
04:45because you've made the information required.
04:47So go on ahead and fill in Maria's information.
04:50So you have to fill in at least the required fields.
04:53If you want to fill in the other fields as well, you're more than welcome to,
04:56and go ahead and hit Save & Close.
04:58And now Maria's information is there in the back end of Joomla.
05:02Now unfortunately, there isn't any report that I can run that will export all of
05:07that information for me automatically.
05:09It is, however, saved in the database inside of the MySQL database for Joomla.
05:15So if you know an engineer who could give you a report, they could generate a
05:19list of all of your users with their addresses and phone numbers and favorite
05:24books and all the rest of it, coming out of Joomla,
05:26but there's no interface yet inside of Joomla
05:29that would generate that user report list for you.
05:32Maybe it'll come in a future version of Joomla.
05:34Let's keep our fingers crossed on that.
Collapse this transcript
New loadposition parameters
00:00In Joomla 1.6: Creating and Editing Custom Templates, I showed you a technique of including
00:06modules inside of an article using something called load position.
00:11Load position has been around Joomla
00:12for quite a long time, and it's the way that we can create our own special
00:17module position inside of an article and then display a module, or several
00:20modules there in that position.
00:22There have been some changes to load position and the way it works in Joomla
00:251.7, and I'd like to show you how that works.
00:28I'm going to add the banner ads that are currently occurring at the bottom of the Joomla
00:32web site right now,
00:35down here on the bottom that are for various kinds of olive oil, and I'm going
00:39to put those inside the body of my Shop page.
00:42So I'd like those banner ads to occur right here underneath the text for the Shop page.
00:48So in the back end of Joomla
00:49I'm going to start by going to my Article Manager and I'm going to go to my Shop page.
00:54This screen here in my Article Manager is filtered via the Select Category
00:59dropdown here, and I've chosen Shop from the list.
01:02These are all of the articles located within the Shop category, and I'm going
01:06to the Shop article.
01:08Down at the bottom of the Shop article, I'm going to add some code, and the way
01:12that this is done is we're going to put in a curly bracket, the word
01:16loadposition--all one word-- space, and then the position name.
01:21And I'm going to call this a position of shop.
01:23And the reason why I'm calling it shop because I'm on a Shopping page, shop will
01:27be something that's easy to remember, and the position of shop doesn't occur
01:31anywhere else within the template of the site.
01:34If I called this position something like position five, which is something
01:38that's already in use on the web site, then my module would show up in the
01:42position five on the template, as well as position five inside of my article,
01:47and I wouldn't want that to happen.
01:48So a unique name for that module is what we need here inside of the loadposition code.
01:54I'm going to go ahead and hit Save & Close.
01:57Then I'm going to go to Extensions > Module Manager. And all I'm going to do is,
02:02the banner ads down here at the bottom, I'm just going to duplicate this module
02:07and have it display now inside of the shop position on the Shop page.
02:11So I'm going to put a check mark next to the TTOO banner ads, and I'm going to
02:16hit the Duplicate button, and you'll see that we now have a copy of that module.
02:21I'm going to go ahead and click on the name, and I'll go ahead and call this
02:26TTOO banner ads - Shop page so I know where this is going.
02:31I'm going to give this a new position of shop. All you have to do is type that
02:36in the Module Position.
02:37And we'll change the Status to Published.
02:39All of the other parameters that are here for my banner ads, I'm going to go
02:44ahead and just leave them exactly as they are for the moment.
02:47Go ahead and hit the Save button.
02:49And when I Refresh the Shop page, you'll see that our banner ad is now occurring
02:54inside of the article.
02:56And in theory, as we continue to Refresh the page, a randomly chosen banner ad
03:01should reload every time into the page.
03:05So that's working great!
03:06What I'd like to do now is put a header on top of this particular banner ad,
03:12something about trying the new products that are coming out from Two Trees Olive
03:16Oil, and I'd like to have that text to show up on top of the banner ad.
03:22Currently, you'd probably think the way to do that is simply to show the title
03:27here inside of the Modular Manager, and I give this a title like "Have you tried
03:34our latest olive oil flavors?"
03:42And I'm showing the Title, so now that should show up on the page.
03:45When I say Save and I refresh inside of the browser here, notice that the header
03:50does not display for this module.
03:53And the reason why is anytime we have a module displaying inside of an article,
03:57it always displays in the type of display called raw.
04:01And what raw means is that there is no wrapping divs around that module, and the
04:06title of the module doesn't display; whether it's set to Show or set to Hide,
04:10the title simply doesn't display.
04:13So what's new about this in Joomla
04:141.7 is we can now get our modules to display with that header, and we can
04:20also get the formatting.
04:22Remember the types of module formatting include XHTML, which will wrap a single
04:26div around the module, and Rounded, which will wrap four divs around the module.
04:32The theory behind that being previous to CSS 3 what we do is create a
04:36rounded-corner image for each of the four corners and assign one to each one of the divs.
04:42So I'm going to modify my loadposition code now.
04:46Now that I've turned on the header here in the module, I'm just going to go
04:49ahead and say Save & Close.
04:51And I'm going to go back to my Content, back to my Article Manager, back to the
04:55Shop page, and I'm going to add some code here after loadposition.
05:00So, it's going to say loadposition shop followed by a comma, no space, and
05:05then the word xhtml.
05:07And what this will do is wrap a single div around my module, and by specifying a
05:14module chrome--in other words XHTML or Rounded--this will also display the
05:20headline for my particular module.
05:22So I'm going to go ahead and say Save, and now when I refresh the Shop page, now
05:28we actually get the title for our module displaying here as well.
05:32Having the ability to include the type of module chrome inside of our module is
05:37an incredibly helpful trick that's here in Joomla 1.7.
05:40I've also showed this same trick in Joomla 1.7:
05:45Access Control Lists In Depth, where I have a series of modules on a web page
05:50and then depending on who has access to see those modules, the correct module
05:55position will load with its header, and that works very well for a landing page
06:00for a login for example.
Collapse this transcript
Reexamining the redirect component
00:00One of the coolest new features in Joomla
00:021.6 and 1.7 is the Redirect component, and unfortunately, when I recorded this
00:08title for the first time, the Redirect component was still fairly buggy and I
00:11wasn't able to show it to you.
00:13But it's working great now in Joomla
00:141.7, and it's one of the features that just makes my life so much easier, and I
00:20am learning a ton about my web site through the Redirect component.
00:24So I'd like to show you a little bit how that works.
00:27So I am looking at the front end of the web site here, and as you know, we
00:31can surf around the web site. We can click on links and this goes to pages and so forth.
00:37If I had a broken link in my web site, or if I had entered a URL that is not
00:42valid--so for example, let's take the word news here in my URL,
00:46localhost/index.php/news, for Macs it would be localhost:8888/index.php/news.
00:55Change the word news to the word say dog and hit Enter to go to that page, and
01:01what you will get is a 404 page, which is really not terribly surprising.
01:05The reason you get a 404 error page is because the page called dog doesn't
01:09exist on this web site.
01:11Previously, well, you got a 404 page, what can you do?
01:15Well, we can style this 404 page in a custom manner, but in the end it's
01:19still just a 404 page.
01:21Now with the Redirect component what happens is, in the back end of Joomla,
01:25under Components, under Redirect, the Redirect component is actively logging
01:31what pages we've tried to access and have not been able to get to.
01:36And in fact, the dog address that I just typed in is one of those pages. And you
01:41see here in the Redirect Manager--and depending on what you've been doing, you
01:44may have more links than this, depending on if you've typed in bad URLs while
01:48you've been developing your web site.
01:50So the one that I just typed in was dog, and you'll see that it's here.
01:54They're calling it an Expired URL, meaning that it's a URL that has expired and
01:59that it doesn't exist anymore.
02:01If I click on it, I'll go into a screen where I can edit this a bit further.
02:06So my original URL is the one that says dog.
02:09If I copy this using Ctrl+C or Command+C and paste this into my Destination, Ctrl+V
02:15or Command+V, and change dog to say news,
02:20this would mean that anytime somebody types in the dog URL, they're actually
02:24redirected to the news page.
02:26And over on the right I can enable that.
02:30Notice too that there is a blank here for a comment.
02:33I can put in a comment about what this was about.
02:36Go ahead and say Save & Close, and now when I go to the same address on the top
02:42of the page here, localhost/index.php/dog and I refresh it, this actually
02:48refreshes me and redirects me to the news page.
02:51So that's pretty cool!
02:53Where the real power of the Redirect component though is when you redesign your web site.
02:57Just recently my company, 4Web, redesigned our web site.
03:00We moved from Joomla 1.5 to Joomla
03:021.7 right around the end of September, and we put up the site.
03:06And after the first day with the new 4Web web site up and in place, I had a whole
03:13page of redirects, because of course our URLs changed between the old 1.5
03:18site and the new 1.7 site.
03:20The Redirect component tracked all of those URLs.
03:23And what was interesting to me was to see what pages people were visiting,
03:27because remember, some people are going to visit pages that are from a search
03:30engine, some people are going to visit some pages that were bookmarked, and in fact,
03:36I also had some pages that didn't exist on my site and have never existed on my site.
03:41For example, people were looking for my WordPress admin page so that they could
03:46probably hack my web site.
03:48Obviously my site is Joomla and not WordPress, so they didn't find the WordPress admin page.
03:52They also tried to find phpMyAdmin and a whole bunch of other things.
03:56So the Redirect component, in my case, informed me not only about which pages
04:01people had been visiting on my old site and were very interested to see on the
04:05new site, so I could redirect those,
04:07it also told me about how hackers are working in terms of finding pages that
04:13never existed on my site, and redirecting them to, say, the homepage or something else.
04:18So that is one use of the Redirect component.
04:21Another use of the Redirect component is for marketing campaigns.
04:25On a web site that you might be building, you may have a very, very long URL for
04:29a page and a marketing campaign that you'd like to shorten so that it could be
04:33published, say in a news magazine or in an advertisement.
04:37And when you have a short unique URL, you can track how many people have visited that URL.
04:42So that might be something that you want to do.
04:44You could actually create a special URL here.
04:48Let's say we're going click the New button here in the Redirect Manager. And
04:53for our Source URL, let's put in localhost/index.php/special, as in we're
05:01running a store special.
05:03And let's say that that redirects to the Shop page. And I've just clicked on
05:08the Shop page here in the navigation, I'm copying the URL for the Shop page,
05:13and I'm going to paste it in the blank for the destination URL, and make sure
05:17that that's enabled.
05:18And we can leave a note here in the Comment, say, "Marketing, November 2011 ad
05:26campaign," so that we remember exactly why we created this particular URL.
05:33Go ahead and hit Save & Close, and now when I go to the front end of the web
05:36site--let me go back to the homepage so you can see what's happening. And I
05:39enter this URL of localhost/index.php/ special, a URL that exists nowhere on the site.
05:48It will redirect me to the Shop page, where hopefully there's some kind of
05:52special that I'm actually running.
05:54You can use Google Analytics from there to track exactly who has put in that
05:58special URL and use Joomla
06:00to make sure that that URL is redirecting to another page.
06:03So the Redirect component is incredibly useful and incredibly powerful.
06:07A lot of people have used other third- party extensions for this before, such as
06:11JoomSEF or sh404SEF, and there are some other extensions as well.
06:18And you can certainly continue to use those third-party extensions, but for me
06:22personally, I've always been a fan of using Joomla's core products wherever
06:26possible, because they are supported, and they will be migrated to versions and
06:30they don't hold me up. When Joomla
06:312.5 comes out, it will come out with all the extensions ready to go. When Joomla
06:353.0 comes out with all of its extensions, it will be ready to go, and I won't
06:39have to wait on a third-party developer to come out with their solution to the product.
06:44So I personally prefer to use what's in core wherever possible and use
06:48third-party extensions to supplement where needed.
06:51If you prefer to use one of those other solutions like sh404SEF, you're
06:55certainly welcome to do so, but the Redirect component is probably a
06:59stripped-down version of those kinds of things, and it's available there to you in the core.
07:03Quick and easy to use. I recommend it.
Collapse this transcript
Background images in custom HTML modules
00:00Well, another new change in Joomla
00:021.7 is some additional functionality that's been assigned to the custom HTML module.
00:07And over here on the homepage, over in the right column, our Testimonials is a
00:11custom HTML module. And what I'd like to do is use this new functionality in the
00:17custom HTML module to enhance this right column.
00:20What I can do now is assign a background image to a custom HTML module, and I am
00:26going to show you how to do that. So in the back end of Joomla, if you go to Extensions > Module Manager, and we're
00:32going to go to the Testimonials Module, which is here in position 6,
00:36and you'll notice the new thing that's available to us here inside of the
00:41custom HTML module is over on the right side of the page, where we have Select
00:46a Background-Image. And if you mouse over that, the tooltip will tell you that
00:50it will insert the background image as an inline style for the wrapping div element.
00:55For those of you who know what that means, in terms of CSS, you're probably not
00:59going to be terribly happy.
01:00But for those of you who don't know CSS and just want to stick a background
01:03image inside of your module, you will be happy people.
01:06So I'm going to go ahead and hit my Select button and I'm going to browse now to
01:11my Desktop. Down here at the bottom, I am going to click my Browse button again
01:15for the Upload files, and I am going to go to my exercise files.
01:19I am going to go to Chapter 13, to video number 08 here, and you'll see that
01:24I've taken the olive image and faded it out a bit. Go ahead and say Open, and
01:28Upload, and we'll put the olives image inside of the Media Manager here.
01:33I will select this from the list and say Insert.
01:37And so what this is going to do is put the image of the faded olives behind my Testimonials.
01:42I am going to go ahead and hit the Save button on the top and then refresh the
01:47homepage of the web site, and you'll see over here in my right column that I now
01:51have a background image.
01:52To answer questions that people have about this particular background
01:55image, the code for it is an inline style inside of the div that goes around the module.
02:01It does tile the image in both the X and the Y directions, and as you see here,
02:07there is no styling with it in terms of, say, moving the text in so that there's a
02:11little bit of padding between the edge of the image and the start of the text.
02:17So if you are a CSS guru, you probably aren't going to want to use this
02:22particular feature here inside of the custom HTML module.
02:27You won't have any need to use this interface to include a background image for your modules.
02:33If you want a background image, you'll probably just write one in your CSS.
02:36But for those of you who don't know CSS, this could be a handy way to quickly
02:41put in a background image.
02:42Just know that if there are additional adjustments that you want to make--and
02:47what I would do here would be to move this text in a little bit, so that it's
02:51not smashed up against the edges here, and maybe some other tweaking I would
02:55want to do with this--
02:56unfortunately, you're not going to be able to do that through the interface that
03:00you have in the custom HTML module.
03:02So it is what it is.
03:03It may be very helpful to some of you. And this is new in Joomla
03:071.7, the ability to add background images to custom HTML modules.
Collapse this transcript
Changes to search in a menu item
00:00One of the things we never added to this web site when we were building it the
00:04first time is we never added a search page to the site.
00:07And the truth of the matter is for a site of this size, we probably don't need a search at all.
00:11It's probably just too small.
00:13But if you wanted to add a search, you certainly could.
00:15It is core to Joomla, the ability to add a search.
00:20So I wanted to show you a couple of changes that are made to search, because
00:23when I tried using search in Joomla
00:241.7, I got very confused by the interface, and Brian Teeman once again had to
00:30come to my rescue and straighten me out as to what was going on.
00:33So if you flip over to your back end of Joomla,
00:36let's say we want to add a search links to that top navigation.
00:39So we're going to go to menus and we're going to go to Main Menu > Add a New Menu
00:43item. And the menu item type we're going to want to add is a search page.
00:48So right here under Search, the only option is something called List Search Results.
00:53First of all, that name is pretty misleading, because it sounds like it's done
00:57a search for you already and it's delivering certain results for you, like you
01:01don't have a box that you can type stuff in and get a search page as you would expect.
01:06Rest assured that this is the correct option, even if the wording is a little bit awkward.
01:10So go to List Search Results, and we'll give this a title of search, and if I
01:16just say Save at this point, and go to the front-end of Joomla
01:19and refresh, you'll see that we get a search link that shows up here in the top navigation.
01:24When I click on that, I do in fact get a blank screen with the search that's
01:30here and I can type in whatever word I want to type in, like olive oil, that
01:35better return some results, and then this was going to return all of the
01:40results for the web site that contain the word olive oil. There we go!
01:45So what's new in Joomla
01:461.7 is what's over on the right side of the screen, and here's where I really got confused.
01:51So on the right side of the screen, there is an option here that's
01:54called Required Settings,
01:56even though these settings are actually not required. And because there's no star
02:01here that you know that they're not required, but if you read the words
02:04required setting, it sure looks like it's a required setting, and that's where I
02:08got really thrown off.
02:09So even though it's called Required Settings, they're not required.
02:12This is looking for a search term, and if I put in a search term here, what
02:17will happen is when I click my link called search, it's going to already do a search for me.
02:23So let's say my search term is shop, and I say Save, what this will do is when I
02:29am going to go to my homepage and then back to search, note that it's already
02:35put the word shop into the search results, and it's pulled up the results for
02:39all of the pages that mentioned the word shop, whether that's a shop the
02:42category, shop the article, or shop as a word in a sentence.
02:48Brian Teeman and others have suggested that this could be used for a tagging solution.
02:54In other words, you can set up a series of keywords in some of your articles and
02:58then use search to pull up matches to the pages that contain those specific
03:02keywords, and that might work at some level or another.
03:07It certainly is close to tagging as you're ever going to get inside of core Joomla.
03:11But if you really want tagging, there are a lot better third-party solutions
03:15that are out there for that.
03:16K2 is one of the best, and it's ready for Joomla 1.7 at this point.
03:21You can also look at some of the other CCK or Content Construction Kit solutions
03:25like ZOO, is another one that would offer tagging.
03:28So there are other ways to accomplish this.
03:31To me, this method of using search is awkward.
03:34It hasn't really quite been thought through yet.
03:36It probably need some updates to its wording, and I'm hoping we'll see all of that in Joomla 2.5.
03:41But for now, rest assured that this is all available to you. If you wanted to
03:46give search or try, don't get thrown off by the awkward interface that's here
03:51that's present on the back end, and hopefully that will get fixed in Joomla 2.5.
Collapse this transcript
Conclusion
Goodbye
00:00Congratulations!
00:02You've built a great looking web site using Joomla 1.6.
00:06It must be good to know that you've got the basics of Joomla now under your belt
00:10and you're ready to build your next web site.
00:12If you have enjoyed this title, you might enjoy other titles that I've recorded.
00:17If you'd like to learn more about planning your web site before you start
00:20building, be sure to watch my Web Site Strategy and Planning video.
00:25Coming soon I'll also be recording a video called Joomla 1.6: Creating and
00:31Editing Custom Templates, which we'll talk about how to build your own custom
00:36template using HTML and CSS.
00:39And finally, if you need to know how to prepare a design for your web site or
00:44create graphics for your web site, be sure to watch Preparing CMS Web Graphics
00:49and Layouts Using Open-Source Tools, which features GIMP as a Photoshop
00:54substitute and Composer as a Dreamweaver substitute.
Collapse this transcript


Suggested courses to watch next:

CMS Fundamentals (3h 11m)
James Williamson


Web Site Strategy and Planning (1h 37m)
Jen Kramer


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,069 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked