Creating the home page, or at least a first version of it has been left untill last, mostly as it's what I have the least idea about and really needed some inspiration. An article with an image seems like a good start, and adding some dynamic content like a latest articles list fills the page out nicely. And I can always add more later of course.

At least now I've had some time to see how Joomla works and can be used, and I also have over a dozen articles in various states of completeness so I can see how things may look.

Home Article

The top half of the Home page is a normal article created through Content > Articles > New in the usual manner. I chose a very unimaginative Title and Alias and set the Category to Layout to keep it out the way of everything else.

The text is created just like any other article. But a page of text is not a great look for any site, so a quick trawl though my photo archives and I found a nice enough photo which I could embed into the article text itself if I wanted to through the CMS Content > Media option in the Content editor.

Images and Links

Instead of embedding the image into the article itself, it's attached using the Images and Links tab of the article, under the Full Article Image section. Click onto the Select button and the Change Image box will open. Navigate to images/layout and either Upload the image or just drag it to the file display.

Adding article image

Tick the image and click Select to return to the Images and Links screen. Add in the Image Description that will appear as alt-text on some browsers if you hover over it on the home page, and I also added a Caption that will appear underneath the photo.

Full Article Image completed

As an aside I took a little walk along the esplanade using Google Maps and I found the same spot I took this photo. The fountains seem to have gone though.

Options

As the home page is special I also need to customise some of the layout options to stop some of the meta data being displayed. These are a deviation from my customised defaults (see Content: Layout Configuration)

Option Default Value New Value
Title Use Global (Show) Hide
Author Use Global (Show) Hide
Publish Date Use Global (Show) Hide

 

Click on the Preview button to see how it should look, and when ready click Save & Close.

Menu

The next step is to modify menu to display the article. The default configuration was to show Articles : Featured Articles. We now want this to show our Home article instead.

Details tab

To display our Home article we need to change the Menu Item Type to Articles > Single Article by clicking on the Select button. The next time will change to Select Article and if needed click Clear and the Edit button will change to Select. Click on Select then locate the Home article from the list - it'll be assigned to the Layout category if you've followed the process above.

Options Tab

We also need to customise the Menu options to hide some of the unnecessary article management data from the page.

Option Default Value New Value
Title Use Global (Show) Hide
Author Use Global (Show) Hide
Modify Date Use Global (Show) Hide
Publish Date Use Global (Show) Hide
Navigation Use Global (Show) Hide
Tags Use Global (Show) Hide

 

Save the page and open the front-end via the link in the top-right corner to see how it looks - if you've got the Legacy Home as the default then add /index.php/home to the URL in the front-end window to get our new Home menu to display.

Create a Latest Articles Module

We can have more than just static text on our home page. As I'm (hopefully) going to be adding articles on a regular basis then we can have the latest ones added to a dynamically generated list automatically.

And this is where Joomla can get a little confusing as we don't configure this on our Home page article, instead we need to define a module to generate the list and then set the module to appear on the Home menu in one of the pre-configured positions.

To create our module navigate to Content > Site Modules and click New

Add a new site module

All available Module Types will be displayed and the most obvious one is Articles - Latest which will give us what we want for a defined list of categories. Which is great, but it doesn't include sub-categories in the list, which means the module will need to be modified every time we add a sub-category.

What we actually want to use instead is Articles - Category,

Articles - Category Module type

so click on it to start defining our module and the first thing we need to give it is a name, such as Latest Articles.

There's approximately 30 different options that will control where and how the generated list will be displayed and it will take time to get familiar with them all. The settings below will create a list underneath the main article text of the latest 5 articles to be published, with title, category and some intro text inside a labelled box.

Module tab

We'll leave all the other settings as the defaults, but we do need to set where it will display on the page.

Option Default New Value Comment
Position ::None:: bottom-a Display this underneath the article itself
Access Public Registered Temporary setting until we launch the site.

The Cassiopeia template pre-defines the locations where modules can appear and I've compiled a handy Cassiopeia Module Positions guide to help make sense of them.

Menu Assignment tab

We want to place this module just on the Home page.

Option Default New Value Comment
Module Assignment On all pages Only on the pages selected  
Menu Selection All Main Menu / Home only Option revealed once Module Assignment is set

It'll be quicker to click Assign to Main Items: None first to clear all the selections before picking the one you want.

Filtering Options tab

We now get to set the criteria for selecting the articles to include in the list. We're going to chose the category trees to pick the articles from, the order to sort them by and then how many to display.

Option Default New Value Comment
Count 0 5 Sets the number of articles to display in the list once all selections and sorting is complete.
Category [blank] Blog, Tech Life Do not want these used
Child Category Articles Exclude Include The reason we wanted this module type
Category Depth   5  

We could also achieve the same results by setting Category Filtering Type = Exclusive and then setting the Category List to Uncategorised, Layout. It's really a guess based on minimising future maintenance if we ever decide to change the categories. It's probably worth keeping a list of all the places you make selections based on category so you can quickly check the effects of changes on the site.

Ordering Options tab

This will arrange our articles by publication date with the most recent first.

Option Default New Value
Article Field to Order By Title Start Publishing Date
Ordering Direction Ascending Descending

 

Display Options Tab

These options will add the category in brackets after the title, and also display upto 500 characters of the introduction text in each article.

Option Default New Value
Category Hide Show
Introtext Hide Show
Introtext Limit (Characters)   500

 

Review

Once the module is created and saved then launch the front-end and see how it looks. We should have the brand and menu, followed by a photo on the left with text on the right and then finally a list of the latest articles across the bottom.

Completed home page