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

Leave a review

Pro v4+

Some elements are displayed through layouts, allowing overrides.
These layouts are created for:

  • the blog views category index (lnepcategoryindex.php and lnepk2categoryindex.php),
  • the blog views tag index (lneptagindex.php and lnepk2tagindex.php),
  • v4.12 the blog views author index (lnepauthorindex.php and lnepk2authorindex.php),
  • the blog views search/clear fields (lnepsearch.php),
  • the modals (lnepmodal.php),
  • the blog views print icon (lnepicons.php),
  • the views and module item's details (lnep_detail_hits.php, ...),
  • the views and module item's details for Joomla 3.7+ custom fields (lnep_detail_jfield_generic.php, lnep_detail_jfield_calendar.php, ...),
  • the views and module item's details for K2 extra fields (lnep_detail_k2field_generic.php, lnep_detail_k2field_date.php, ...).
  • the heads of type video (lnep_head_video_dailymotion.php, ...),
  • v5.1 the blog view custom field index (lneplistfield.php).

You can find those layouts under components/com_latestnewsenhancedpro/layouts.

As best practice, it is recommended to create overrides of those files rather than update them. That way, the next component update won't dismiss the changes you have made.

New v4.13

The layout suffix

You can use different overrides of the same layout for index and information details. Just set the advanced parameter Layout suffix. By doing so, you are giving priority to the layouts that will contain that suffix in the name of the override.

For instance, you can override lnepcategoryindex.php but also have an other menu item use a slightly different output. Just add the layout suffix (for example 'xyz') in the menu item's advanced parameters to give priority to the override

Starting with v4.6

Joomla 3.2+ Go to the layouts section of your template's Create overrides tab, select the com_latestnewsenhancedpro extension and then click on the desired layout folder.


Holds the modal and icons layouts.


Holds all information details (defaults, custom fields and K2 extra fields).

New v4.11
The lnep_detail_share layout now calls sub-layouts for all share buttons.
When creating a new share button, you need to add a new sub-layout to the html / layouts / com_latestnewsenhancedpro / details / lnep_detail_share folder (you may need to create those folders) of your template. To know what the sub-layout's code must be, just copy one of the extension's available sub-layouts.

Tutorial Learn how you can add a custom Tumblr share button.

Third party custom fields

You can specify which third party custom fields you want to make available in the extension as detailed information. Go to the Shared options tab of the global configuration of the extension.

The fields will not show in the extension's outputs unless you add specific layout overrides for them. In the /details folder, add the layout lnep_detail_jfield_[field plugin element name].php, which will represent the field type. It is easier to just copy one of the other detail layouts, renamed and modified.

Tutorial Learn how you can add a third party video field.


Holds all video types that represent the head of an item


Contains all the pagination-related layouts (category, tag and author index).

v5.1 The new custom field index layout (lneplistfield.php) allows you to use any custom field of list type as index for the articles. In the event you do not use a label, an invisible label is still required for accessibility purposes. The label is present in the layout but requires that you translate it by creating a language override for the key COM_LATESTNEWSENHANCEDPRO_FILTERFIELD_[field name]. Create a key for every custom field you are using as index filter.

Tip When clicking on a folder, all layouts are copied over to the [current_template]/html/layouts/com_latestnewsenhancedpro template folder. This happens even if you just want to only change one layout. Only keep the layouts overrides that need modifications. Delete all other layouts. This will help you down the road for maintenance (you will know that the files present have been modified for sure).

If you have created layout overrides in versions prior to Latest News Enhanced Pro v4.6, you need to manually create the folders content, details and/or pagination and move your files in their respective folder.
Your overrides will not be taken into account until then.

Joomla 3.1 Copy the layout that needs to be modified to [current_template]/html/layouts/[content|details|pagination] without including the name of the extension.

Prior to v4.6

In order to create an override, copy the layout that needs to be modified to:

Joomla 3.2+ [current_template]/html/layouts/com_latestnewsenhancedpro

Joomla 3.1 [current_template]/html/layouts

The layout override(s) you have created and modified will have precedence over the default component one.

Related tutorials and topics