• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Marek
  • Private: No
  • Open Date: 08.08.17, 12:26
  • Opened by: aleksei
  • Closed by: Marek
  • Closed on: 30.08.17, 00:00
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10647 - HTML code

Hello, tell me please how can I add a block with id = ‘pk_customlinks’’ from the theme for example yellow to the theme dark cyan. (This is the top menu with My account, list of viewed, comparison list). And how can I add HTML blocks to any of the topics (free HTML writing in main page). Sorry for bad english, I’m from russia

Comments

Marek 08 Aug 2017, 12:32

No problem with English.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile I need to see your website

aleksei 08 Aug 2017, 14:07

I’m working on a local server, so I do not have the ability to load. I tried to edit the header.tpl file of your theme, but no results. In other topics (the standard theme of prestashop), changes in the template occur. Can you just tell which of the files is responsible for a particular topic, so I can create arbitrary blocks or fix the layout as I need it

Marek 08 Aug 2017, 14:23

Ok, the main file to edit is: /themes/venedor/header.tpl
Dark cyan can’t display top bar, but you also can change that in the file above.
Just find and remove the condition

{if ($theme_settings.preset == 5) OR ($theme_settings.preset == 10)}	
{/if}
aleksei 08 Aug 2017, 14:33

Many thanks for the answer, it helped. But here there was only one question, how do I write arbitrary code on the main page in different blocks (in a cap, footer content itself) for example after a slider I want to make an information block with its styles and pictures or in the middle of the country (html / But I can not understand in what files this is prescribed,)

Marek 08 Aug 2017, 14:34

You need only two files where you can add your HTML - header.tpl and footer.tpl

aleksei 08 Aug 2017, 19:56

I have already specially posted the theme template on the hosting. Because nothing happens even with the removal
  {If ($ theme_settings.preset == 5) OR ($ theme_settings.preset == 10)}
{/ If}. And even if I delete all the information in the header or footer, there is still nothing going on. Profile log in information

aleksei 08 Aug 2017, 20:17

And in general the themes work quite differently as you present on the themeforest

Marek 08 Aug 2017, 21:59

Maybe you have enabled prestashop cache? Unfortunately I can’t login to your back office to check that out http://awesomescreenshot.com/0fc6cqpk70

aleksei 09 Aug 2017, 08:54

Yes indeed I did not turn off the cache, my mistake, thank you very much !!! And more than a few questions:
Why our offers (pk_rainsurance) block is not displayed in the same way as in the picture, but looks like a block of our service, and I can not remove the block of our service anywhere.
And as well as to me blocks of shop by categories to place for example after a slider I so understand in (HOOK displayHome). Password from admin panel changed

Marek 09 Aug 2017, 10:58

1. Because the images is just for example to see which module do you have.
2. You also can move modules to different hooks http://awesomescreenshot.com/0c66cr2cfe. Go to modules > positions http://awesomescreenshot.com/0766cr2fa9.

aleksei 09 Aug 2017, 11:48

Sorry but I do not understand, I went to the location of the modules, I chose the module that I needed, but there is no such thing as a HOOK displayhome. And I still can not remove the block of our services at the very bottom of the page in front of the banner

Marek 09 Aug 2017, 12:18

Yes, that is all available hook, sorry but Prestashop has such not effective module manage system.
I just removed “our services” block for you

aleksei 10 Aug 2017, 10:07

Good afternoon, tell me where I can edit, add, change reviews, which are displayed on the main page

Marek 10 Aug 2017, 10:11

I don’t see “reviews” on your website. Could you please take a screenshot?

aleksei 10 Aug 2017, 10:21

I turned on the display of the comment block (testimonials) on the main page.

Marek 10 Aug 2017, 11:38

Go to the settings of pk_testimonials module

aleksei 11 Aug 2017, 09:58

I ask you to help again. I do not work with the color filter (in the screenshot) and I can not change the position of this filter in the settings. Although the combination I created and in the attributes added

Marek 11 Aug 2017, 10:24

Please make sure you have assigned colors to your products

aleksei 11 Aug 2017, 11:34

Colors are assigned to each product through combinations, and by the type of product he chooses, does not work only for the choice of color.

Marek 11 Aug 2017, 11:35

Ok, I’ll check, give me a moment

Marek 11 Aug 2017, 12:07

I can’t connect to your server, could you please check that out?

aleksei 11 Aug 2017, 12:17

I have everything works well and without problems comes to the server. Data copied from the form that you have
https://vh92.hoster.by:2083 Encrypted connection
http://vh92.hoster.by:2082 Unencrypted connection

Marek 11 Aug 2017, 12:28

Yes, now I see that is cPanel link.
Is it possible to access through FTP?

aleksei 11 Aug 2017, 12:34

vh92.hoster.by —ftpserver

Marek 11 Aug 2017, 12:36

Thank you now it works. Trying to fix the issue with colors

Marek 11 Aug 2017, 15:10

I finally found a solution and now it works fine

aleksei 11 Aug 2017, 17:01

Thank you very much, you are very good technical support. And if it’s not a secret, in which file or where there were errors, that if suddenly the problem happens again, I did not bother you. Since the catalogs will be large in the store, suddenly again there will be the same problem. Because the choice of color is the most important criterion for this store.

Marek 12 Aug 2017, 12:32

Thank you, it’s my work :)
The file is /themes/venedor/js/modules/blocklayered/blocklayered.js

aleksei 14 Aug 2017, 10:55

And there is one more question. We stopped downloading Google maps on the contacts page, and in general the maps were no longer loaded

Marek 14 Aug 2017, 11:08

Yes, I see. You need to add Google API KEY.
1. Get API KEY first here https://developers.google.com/maps/documentation/javascript/get-api-key 2. Open the file /bestdoors.alieparysa.by/modules/pk_themesettings/pk_themesettings.php
3. Find the line 2901 - …maps.googleapis.com/maps/api/js?key=YOUR_KEY&am… 4. Put your api key there