• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Marek
  • Private: No
  • Open Date: 13.12.18, 15:52
  • Opened by: Max
  • Closed by: 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

Comments

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 13 Dec 2018, 16:30

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

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 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 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 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 14 Dec 2018, 15:48

Ok, glad to help!

Max 08 Jan 2019, 16:01

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

Marek 08 Jan 2019, 16:02

could you please take a screenshot of the issue?

Max 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

Max 08 Jan 2019, 16:22
Marek 09 Jan 2019, 13:47

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

Max 09 Jan 2019, 16:13

Exactly, and we would like to do it if possible

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);
    }