Skip to content
Store

Joomla templates

Two Engine templates on one site

Install two Engine Templates Joomla templates on one site and keep each theme's own header, footer and look on its own pages.

You can install more than one Engine template on the same Joomla site, for example a shop theme and a magazine theme. Each theme keeps its own look, header and footer on its own pages. This works with packages from version 2.0.1 (Engine Builder 2.10.1).

In names like ET Theme, Theme stands for your template's name. For the Ganews template, ET Theme is ET Ganews.

How it works

Each theme has its own template style, ET Theme. Three things connect a page to its theme:

  1. The template style on the menu items. Every item in ET Theme pages and ET Theme navigation has its Template Style set to ET Theme. Joomla uses that style on those pages, so they get the theme's colours and fonts.
  2. The template style on the header and footer. The theme's header and footer in Engine Builder are tied to its style with the Template style setting. They only show on pages that use that style.
  3. Which header wins. When two headers match a page, a header tied to the page's template style wins over one that is not tied to any style. A header tied to a different style never shows. The same goes for footers.

Pages that are not part of either theme, such as Joomla's login or search pages, use the default template style and its header and footer.

Install the second theme

Install the second package in System > Install > Extensions as usual. Say your site runs ET Soapbox and you now install Ganews. Because Ganews is a new theme on the site:

  • Its style ET Ganews becomes the default site template style.
  • Its home page becomes the site's home page.
  • It gets its own menus, pages, header and footer.

The Soapbox pages keep working at their own addresses with their own header and footer.

If you want Soapbox to stay the main theme:

  1. In System > Templates > Site Template Styles, click the star next to ET Soapbox to make it the default again.
  2. In Menus > ET Soapbox pages, click the star in the Home column of the Soapbox home item.

Then link to the Ganews pages from ET Soapbox navigation, or the other way round.

The "Template style" setting in Engine Builder

Open a header or footer in Components > Engine Builder > Templates. In Where it shows you find Template style:

  • Every template style: the part can show with any style.
  • ET Theme (or any other style): the part only shows with that style.

The setting shows when your site has more than one site template style. Use it when several Engine themes share the site. The list in Templates shows the style next to the part's other rules.

Add a page to one of the themes

A new page uses the default style unless you say otherwise. To make it part of a theme:

  1. Create the menu item for the page.
  2. Set its Template Style to ET Theme of the theme it belongs to.

The page then gets that theme's colours, fonts, header and footer.

Updating from an older package

Packages before 2.0.1 did not tie the header and footer to a style. On those sites the newest header and footer showed on every page, so the second theme's header could appear on the first theme's pages.

To fix it, install version 2.0.1 or newer of each theme. The installer:

  • Ties each theme's header and footer to its style, even if you edited them (your design is kept, only the style tie is added).
  • Sets the theme's menu items to its style, if they had no style of their own.

You can also do it by hand: open each header and footer, set Template style to its theme's style and save, then set Template Style on the theme's menu items.

Good to know

  • Both themes share one Engine Framework and one Engine Builder. Installing a newer package of either theme updates them for both.
  • Builder pages, products and articles are shared too. You can edit every theme's pages in Components > Engine Builder > Pages.
  • Each theme's options (colours, fonts, blog options and so on) are set on its own style. Open ET Theme and press Open Engine options.

    Type to search all pages. ↑↓ to move, Enter to open.