Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Panel

Table Of Contents

Table of Contents
outlinetrue

Overview

Layouts are responsible for displaying component contents.

Warning

You should not modify original templates, just copy them to the templates directory, otherwise they will be overwritten on extension update.

Note

Ensure that you turn off any cache settings to see any layout override changes that are made to the layout. Also, clear browser cache before viewing changes.

Layout modification

Warning
Important: New layout file name should contain only letters and numbers.

To modify any layout in component you should first copy it to Joomla Template directory e.g. if you would like to modify Item view you should copy:

Code Block
components/com_jomevents/views/items/tmpl/default.php

to

Code Block
templates/{my_current_template}/html/com_jomevents/items/default.php

This way the default component layout will be overwritten and can be safely modified.

It is important for auto update procedure which will overwrite original component layouts without touching your modified one.