Introductory: Learning Joomla! using Sample Data

All you need for this lesson is available in each Joomla! download

Written by Mark Dexter

Introductory: Learning Joomla! using Sample Data
Installation
Explore
First Change
Some Jargon Explained
Adding an Article
Registration and Login
More Cool Modules
Conclusion
Show All

Adding an Article

If you have an active, dynamic website, you will be adding new content frequently. Let's see how we might add a new article to the front page of the sample website. Press "Close" on the Module: [Edit] screen to return to the Module Manager. Select Content / Article Manager. The Article Manager screen will display as shown below:

First, notice that this screen is in many ways similar to the other "Manager" screens we have seen. For example, in the upper right is another set of filters that allows you to display only selected articles in the list. We're going to add a new article. To do that, press the "New" button in the toolbar.The Article: [New] screen will display as shown below:

Type in "My New Article" for the title, click "Yes" for "Front Page". In the Section drop-down list box, select "Uncategorized". This will automatically set the Category also to "Uncategorized". We'll talk about sections and categories a little later on. Type in some text for the article, and you're screen should appear as shown below:

Press the "Save" button in the upper right toolbar to return to the Article Manager. Now, go to the front end of the site and navigate to the Home page (which happens to be also a front page layout). Our new article should be the first article on the page, and the other articles will all be moved down one, as shown below:

Also, the article that used to appear last on the page (called "Only one edit window! ...) now appears as a link at the bottom of the page, under "More Articles...". We also get a set of navigation buttons ("Start", "Prev", and so on). These are shown below:

The front page and other blog and list layouts in Joomla! include functionality that makes it easy to put lots of content on pages with easy navigation. Also, as we saw, we can fine tune a lot of the functionality using the built-in parameters. Let's return to the back end and remove our new article. Find the "Front Page" column in the Article Manager for the new "My First Page" article. The green check indicates that this article is published to the Front Page. Click on the check icon and it will change to a red "X". This indicates that the article is not published to the front page.

In the front end, navigate to the Home page again (or refresh your browser) to see the change. The new article disappears and the other articles move up. Scroll to the bottom of the page and notice that the "Next" and other navigation buttons are gone, since they are no longer needed. If you think about it, you can see that Joomla! is doing a lot of cool stuff behind the scenes to make it very easy to manage the front-page articles.

Sections and Categories

Sections and categories can be very confusing to new Joomla! users. The first point to understand is that sections contain categories and categories contain articles. In other words, categories and under sections. The second point to understand is that they are optional. You can build a complete site without using sections or categories. So, why use them? There are two main reasons.

The first reason to use sections and categories is to able to use blog and list layouts. We just saw how the front page is a very handy way of presenting a dynamic group of articles. What if we want to have something like a front page, but limited to articles on one subject? Or what if we want to have more than one such page, like one for articles on dogs, another for cats? Sections and categories allow us to do just that.

To see this, let's go back to the Article Manager in the back end and click on "My First Article" to open it for editing. Recall that earlier we saw that the main menu item called "The News" used a "Category / Blog" layout for the category called "Latest" in the section called "News". Let's assign our new article to this section and category using the drop-down list boxes, as shown below:

Now, press the "Save" button and let's go back to the front end. What do you think should change? Navigate to the "The News" menu item in the main menu and, as you no doubt expected, our new article is the first one on the page. Note that blog layouts default to the newest article first, but the parameters allow you to choose a number of ways to order the articles, including ordering them manually any way you like.

What if you don't intend to use blog or list layouts to show articles on similar subjects? Should you still use sections or categories? If you will have a large number of articles, the answer might still be yes. If you go back to the Article Manager screen in the back end, you can see that there are filters for both Section and Category. Click on the "Select Category" filter and select "Latest" in the drop-down list box, as shown below:

Notice that now you only see the six articles (including our new article) that are assigned to this category. So sections and categories can be handy to help you keep your articles organized. Plus, using them gives you the possibility of using blog or list layouts in the future.


86 Votes

30 Comments

Feed
  1. Cudos to all 3pds and their great work for making Joomla the most flexible and outstanding web front end ever!
  2. Thanks Sam for writing the blog. I second with you, that the 3rd party developers needs a raise for their hard work and their contributions. Without them, Joomla! wouldn't be what it is today.

    I also want to mention that we have had a remarkable development in JED. We started with 334 extension in March 2006. For one year ago we had reached 2299 extensions and yesterday we passed for the first time 4000 extensions.
  3. I, too, want to echo ssnobben and Lorenzo by thanking all of the third party developers for their terrific contributions and to all the JED editors who keep the JED so well organized.
  4. That sounds great. Which extension was the 4000th?
  5. Excellent work, however I wonder what the extra influx of extensions would be from duplicates where they have been updated from 1.0 series and released for 1.5?

    Take these away from the statistics and I would like to see the complete trend of genuinely new extensions to the directory. It would be more accurate.

    Regards,

    Joel
  6. 4000 reasons to go out and tell your friends that Joomla rocks.
  7. That is very good, but I wonder how much of this extensions are really extensions, and how much are module, and how much are plugins :)
  8. That's a hell of a lot of extensions.

    Nick
  9. How do you upload an image to a Joomla Template?
  10. How do i insert page breaks properly?
  11. Thank you for the tutorial. I was getting pretty lost until I found this. It was a great primer, and now I feel like I'm ready to explore Joomla! with greater confidence.
  12. How can I set up an online form, that can be submitted and emailed.?
  13. That is very good
    i want install a templete help me :\
  14. Joomla is "Content Building System" first and finally a "Content Management System" !!
  15. How can do I create a Scholarship online form for students to submit for scholarship?
  16. I'm trying to make a joomla website, but am struggling.8-)
  17. I need help how to install template.help needed pls
  18. This tutorial is extremely helpful. I have been studying the Joomla system and trying it for two weeks. This is best explanation of how it works that I have seen. Thanks!
  19. THis is by far the best tutorial I have found after searching around and I'm a real beginner when it comes to using Joomla!

    My only reservation is that I have followed the Quick Start Guide to the word... and it told me not to install the Sample site. Now I'm stuck in gaining the best experience form this tutorial!
  20. grazie!
  21. Thanks!:-)
  22. Hi there,

    How do I add a new position in the middle center of the page just below My First Article? Currenlty, the only spot there is "banner" and whatever I put there shows on every single other page. I downloaded JoomGallery and would like the gallery thumbnails to appear below My First Article and only appear on the homepage and no other pages. Please help!

    Thanks,!
  23. Great tutorial! Together with some other ebooks i think i will master joomla once and forever!
  24. Thanks for all sharing ..
    Your site is very useful for the beginning learner.
    but now, I have trouble in joomla. I have error code 212..and so on ... I so very poor mind for this :'(::\
  25. hi,,
    its a best solution and very easy to understand

    thanks,:-)
  26. Hi, thanks for this tut, it was just what I was looking for on the default data content management. I must say that Joomla is a bit overwhelming at first but it looks very powerful so I'm persevering because I think it will be a great tool to add the list - and the type of site requests I'm getting are leaning more to this type of application.

    Any recommendation on reading material for transferring data from Joomla 1.0 to Joomla 1.5 or one Joomla install to another.

    Thanks once again :-)
  27. Hi,

    In the Select Type filter i am getting only mod_mainmenu in the dropdown .. I am not getting anyother options as shown in the image .... Am i missing something here ????
  28. Hello Everyone! :-)

    I'm new to Joomla! (1.5.14) 8-)

    I'm reading many Joomla! literature before actually installing it to my pc and using Joomla! ;-)

    I hope "Learning Joomla! Using Sample Data" will help me ;-)
  29. error: doesn´t show box to select article in order to delete. HELP! php version?
  30. It is a very useful resource. It has made many many things clear. Thanks a lot Mark Dexter. Thanks to all Joomla members.

    Regards,
    Kambar Farooq
    A Beginner

Add Comment


    • >:o
    • :-[
    • :'(
    • :-(
    • :-D
    • :-*
    • :-)
    • :P
    • :\
    • 8-)
    • ;-)