• Priority: Medium
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 11.02.21, 12:06
  • Opened by: Mazuelas Martin

Ticket #20734 - View modules with hook in native footer that it is disabled in themesetting

I have a module that is shown in the native footer but in my prestashop I have set to NO the native footer in promokit themesetting because I have the footer builder activated. Is there a way to display this module with the native footer disabled?

Thanks!!

Comments

Fred 11 Feb 2021, 12:10

Hi, Mazuelas Martin.
Try to transplant your module into the "displayFooterAfter" hook

Mazuelas Martin 11 Feb 2021, 12:35

Not exist displayFooterAfter in my prestashop platform. I've seen that exist displayfooterbefore and displayfooterbuilder. Could you include the module in one of these hooks?how I can to trasplant it?
Thanks

Fred 11 Feb 2021, 12:57

what is the module name?

Mazuelas Martin 11 Feb 2021, 13:10

Opiniones Tienda, Opiniones Productos y Google Rich Snippets (lgcomments) de linea grafica

Fred 11 Feb 2021, 13:24

I just transplanted it into displayFooterAfter hook

Mazuelas Martin 11 Feb 2021, 13:34

Have you modified any file of the module? If so, please upload it again!

Thanks!!

Fred 11 Feb 2021, 13:35

I have modified the file /modules/lgcomments/lgcomments.php

Mazuelas Martin 11 Feb 2021, 14:30

Can you upload this file again with your changes?
I had restored it to a state prior to your changes and they have been lost

Thanks!!

Fred 11 Feb 2021, 15:25

add following function into that file

public function hookDisplayFooterAfter($params)
{
    return $this->hookCustomLGCommentsWidgetPosition($params);
}