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!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok