• Priority: Medium
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 29.01.19, 20:42
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #13376 - Missing Module - Text Block Theme Venedor Prestashop 1.6.1.23

Hi,

we’re not able to find and edit the module Text Block as seen in your Documentation: https://venedor3.promokit.eu/promokit/documentation/#text_block

We need to add html content on our homepage, currently we can’t do it without this module

Can you help us?

Thank you so much

This ticket does not depend on any other tickets.

Marek (marek) 13 Dec 2018, 16:17

Hi, Max.
Text Block module available for 1.7 Prestashop only.
Prestashop 1.6 is not supported more by Prestashop team.

We plan on keeping supporting version 1.6 until October 2018

You can read about that here http://build.prestashop.com/howtos/misc/2018-release-schedule/

Max (carto_37300) 13 Dec 2018, 16:30

OK thanks, any alternative solution to implement html text anywhere on homepage ?

Marek (marek) 13 Dec 2018, 16:31

I can try to make it work on 1.6, but it will take some time. I'll back to you as soon as possible

Max (carto_37300) 13 Dec 2018, 16:34

Thank you so much Marek for your time

Please let me know when there is some progress.

Due to troubles during Prestashop installation with language pack (not related to theme venedor) we chose 1.6 sadly

thanks again

Marek (marek) 14 Dec 2018, 14:48

Try to install this module https://www.dropbox.com/s/5ukeh4hbwdlinnb/pk_textblock.zip?dl=0 It works in displayHome hook

Max (carto_37300) 14 Dec 2018, 15:47

Thanks a lot Marek for your work, i will let you know by monday if it's working for us.

The hook DisplayHome is perfect for us!

Thanks again

Marek (marek) 14 Dec 2018, 15:48

Ok, glad to help!

Max (carto_37300) 08 Jan 2019, 16:01

We’ve been able to test and install all good but only the hook management is missing

Marek (marek) 08 Jan 2019, 16:02

could you please take a screenshot of the issue?

Max (carto_37300) 08 Jan 2019, 16:21

Sure, i've attached and highlighted the missing part.

I dunno if you remember but you told me that the text_block module doesn't exist on Prestashop 1.6.1.23 so you created it for us which is very kind.

Basicaly your module is working well but the hook management is missing.

The most important part for us and we may use text_block module on different pages on our website with different content

Let me know if you need anything else

thanks

Capture.PNG (230.6 KiB)
Max (carto_37300) 08 Jan 2019, 16:22
Marek (marek) 09 Jan 2019, 13:47

Does that mean you can't move it from one hook to another?

Max (carto_37300) 09 Jan 2019, 16:13

Exactly, and we would like to do it if possible

Marek (marek) 18 Jan 2019, 17:56

Hi, Max.
Sorry for the delay.
I'll describe you what to do, because I have no idea what hooks do you need.
So, open the file pk_textblock.php
find and copy the function

public function hookDisplayHome($params)
    {
        $this->smarty->assign($this->getWidgetVariables(null, array()));
        return $this->display(__FILE__, $this->templateFile);
    }

Paste it below, and change hook name, like this:

public function hookDisplayNav($params)
    {
        $this->smarty->assign($this->getWidgetVariables(null, array()));
        return $this->display(__FILE__, $this->templateFile);
    }

Loading...