Joomla templates
Articles and the blog
How the magazine and blog themes set up Joomla categories, demo articles and Engine Builder article and category layouts, and how to add your own.
Magazine and blog themes (for example Ganews, News, Sport, Journey, Motor, Recipe, Nutrition and Babycare) use Joomla's own articles. The Pro edition sets up categories, demo articles and two Engine Builder layouts that decide how articles and category pages look. The free edition has the home page only, with no articles or layouts.
In names like ET Theme, Theme stands for your template's name. For the Ganews template, ET Theme is ET Ganews.
What the Pro install sets up
- Categories: a parent category Theme (demo) and one child category per section of the theme, for example News, Reviews, Guides and Hardware in Ganews. Find them in Content > Categories.
- Articles: a few demo articles in each section, with an intro image and a full image. Their dates are spread over the past days, so the newest shows first. The articles the demo shows as featured are also featured in Joomla. They are written by the first Super User on the site.
- Section pages: each section has a menu item in ET Theme pages that shows its category as a blog, nine articles per page with pagination.
- Layouts: ET Theme article layout and ET Theme category layout in Components > Engine Builder > Templates.
Article lists on the theme's home page (for example "latest news" blocks) are set to show articles from the theme's parent category, so your other articles do not mix in unless you change that.
How the layouts work
An article layout replaces how Joomla shows a single article. A category layout replaces how Joomla shows a category blog. The theme's layouts are set to Use for the theme's categories with Include sub-categories switched on. So:
- An article in News or any other section uses ET Theme article layout.
- The News blog page uses ET Theme category layout.
- Articles and categories outside the theme's categories use the template's normal article and blog views.
A category layout is only used for category pages shown as a blog.
Open a layout in Engine Builder to change it. In the Where it shows settings you can pick:
- Every article (or Every category blog),
- Articles in the categories ticked below (or The categories ticked below),
- Pages of the menu items ticked below.
Write your own articles
To publish in a theme section, create a normal article in Content > Articles and put it in one of the theme's categories. It shows in that section's blog and uses the theme's article layout. Set an intro image and a full image in the article's Images and Links tab so the lists and the article header have a picture.
To make a new section:
- In Content > Categories, add a category with Theme (demo) as its parent. It uses the layouts straight away, because sub-categories are included.
- In Menus > ET Theme pages, add a Category Blog menu item for it and set Template Style to ET Theme.
- Add a link to it in Menus > ET Theme navigation.
You can rename Theme (demo) to anything you like. The layouts are linked to the categories, not their names.
Remove the demo articles
The demo articles are normal Joomla articles. Trash and delete them in Content > Articles when you have your own.
Blog options in the template
The template style ET Theme has a Blog group in its options panel with reading time, a reading progress bar, an "On this page" contents box, an author box, share links and "Keep reading" related articles. These apply to articles shown by the template's own article view. When an Engine Builder article layout shows the article, the layout's own elements are used, so change the layout instead. See Blog options.