Jump to content
thirty bees forum

Block Image slider - Niara & Community Themer not working


Boris

Recommended Posts

Hi,

I have no images displayed by the module even if there are present in the module setting pages.
It is a fresh installation  of 1.4.0
Php version 8.1.21 on server . The module is updated to the latest version available
Already uninstalled and re installed the module
Any idea?
Thank you in advance

image.png

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

the url for retrieving images is no longer correct in the themes' TPL files.

On Niara, for example, you need to replace the line

src="{$link->getMediaLink("`$smarty.const._MODULE_DIR_`homeslider/images/`$slide.image|escape:'htmlall':'UTF-8'`")}"

by

src="{$link->getMediaLink($slide.imageUrl)|escape:'htmlall':'UTF-8'}"

in themes/niara/modules/homeslider/homeslider.tpl

  • Like 1
Link to comment
Share on other sites

21 hours ago, Mediacom87 said:

Hi,

the url for retrieving images is no longer correct in the themes' TPL files.

On Niara, for example, you need to replace the

line

src="{$link->getMediaLink("`$smarty.const._MODULE_DIR_`homeslider/images/`$slide.image|escape:'htmlall':'UTF-8'`")}"

by

src="{$link->getMediaLink($slide.imageUrl)|escape:'htmlall':'UTF-8'}"

in themes/niara/modules/homeslider/homeslider.tpl

Hi,

thank you for your help.
I also checked the link to the changes made to the module. I wish with the next release the module will be updated for the correct path in tpl file.
After the module failure the sample images provided with the installation are lost, so reloaded them from the installation file
Thank you
Boris

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...