Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review
Information
Print

Template overrides

Information
Latest News Enhanced

It is possible to create template overrides for every selected data source.

When creating overrides through the template manager (create overrides tab), the Joomla! article and K2 items layouts are automatically duplicated and can be modified (under the [template]/html/mod_latestnewsenhanced directory for the free version or under the [template]/html/mod_latestnewsenhanceextended directory for the pro version).

It is not necessary to rename those files, they will have priority over the default layouts supplied with the module.
If layouts are renamed, they need to be specifically selected in the module.

External datasource plugin layouts can also be overridden but this needs to be done manually (prior to Joomla 3.9).

For instance, for the newsfeeds data source, create the file
[template]/html/plg_latestnewsenhanced_newsfeeds/default.php
where default.php is a copy of the file plugins/latestnewsenhanced/newsfeeds/tmpl/default.php

If the file is renamed, it needs to be specifically selected in the module. Otherwise, the template override will have priority over the default layout.

Related tutorials and topics