1. peter@i-t-services.net
  2. Free Templates / Extensions
  3. Thursday, 11 January 2024
  4.  Subscribe via email
I'm trying to create a layout override for ImageHover Gallery module to restore having a heading for the hover image appear back under the tile. This is how the client had the module with the Joomla 3 version, but the heading does not appear now after the upgrade to Joomla 4.

I've created a template override via Templates (Site) > Create Overrides, which created copies of the 3 files - default.php, carousel.php, masonry.php - into this folder:

templates\<template>\html\mod_j51imagehover

I've then tried both editing the copied files, as well as creating a copy of default.php and renaming it to create a new layout. Creating the new layout has the layout appear in the dropdown list in the module settings.

The theory is that the layout override in the template's HTML folder should take precedence over the module's default layouts.

In all cases I'm finding this is not the case, and it continues to pull the default layout - it also doesn't change between selecting default, carousel or masonry.

To help troubleshoot, can you first confirm that all I need is templates\<template>\html\mod_j51imagehover/newlayout.php in order to end up with a new layout showing as "newlayout" in the dropdown, and in modifying that file I should see the layout change?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!