Step 4 - Create an alternative layout

In this article we will show you, how to create an alternative layout.

For an alternative layout you should proceed as for a template override. The difference is in the name of the file you use. For a template override you will use the "default.php" that overrides the Joomla core file of the component or module. For an alternative layout, you should rename the file.

Create an alternative layout

The only rule is: underlines are not allowed in the name. Underlines are reseved for more complex layouts where more the one file is involved. The first file has a name without underline and the files that are been called in the first one have names with underlines. For example, when we create an alternative layout for articles (com_content/articles) named impressum.php, we can call a second file on it. The second file should be named "impressum_part2.php".

And the J.O.S.C.A.R. goes to...

JAB15 logo

j-over.de. Our project won on the J and Beyond 2015 the J.O.S.C.A.R. as "Innovation of the Year".

.

Overrides from

  • 1559507_696946120343022_2619986911434960761_o
  • axel_tueting
  • george
  • 5a67ea5f9da573adf828721341a2dc7f
  • 11036042_912712812082877_9026187587615442228_n
  • marco_schauz
  • 7d55f932dabcae1e85c6543901fcc581
  • 1bbbb27
  • d72a769d3a4103928603a345e6a054e9
  • aadb08dad2365a68c233cde0b2716e3a
  • 1a3bf2dda6069464905e3816f494b587

Our sponsor

Kubik Rubik Extensions

sponsor fc hosting

logostore jes2

logo Yireo 500px 4 bevel

New Overrides

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.

j-over.de is not affiliated with or endorsed by Open Source Matters or the Joomla.