We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 29.12.17, 11:31
  • Reason: Closed
  • Comment: Glad to help!

FS#10985 - Fun facts module, Instagram feed, testimonials block, revolution slider not upload.

Yesterday I bought venedor theme from themeforest.
I have some problems with some of the modules there. I am using prestashop and venedor pink.

-Fun facts block. When I open it, I get this error. This happened unexpectedly because on the first time I was able to upload background image.

[PrestaShop] Fatal error in module file :/home/draft20161/blulux.draft2016.com/classes/shop/ShopUrl.php:
Uncaught Error: Using $this when not in object context in /home/draft20161/blulux.draft2016.com/classes/shop/ShopUrl.php:89 Stack trace: #0 /home/draft20161/blulux.draft2016.com/modules/pk_funfacts/pk_funfacts.php(455): ShopUrlCore::getBaseURI() #1 /home/draft20161/blulux.draft2016.com/modules/pk_funfacts/pk_funfacts.php(253): pk_funfacts→initSettingsForm() #2 /home/draft20161/blulux.draft2016.com/controllers/admin/AdminModulesController.php(868): pk_funfacts→getContent() #3 /home/draft20161/blulux.draft2016.com/controllers/admin/AdminModulesController.php(1117): AdminModulesControllerCore→postProcessCallback() #4 /home/draft20161/blulux.draft2016.com/classes/controller/Controller.php(178): AdminModulesControllerCore→postProcess() #5 /home/draft20161/blulux.draft2016.com/classes/Dispatcher.php(367): ControllerCore→run() #6 /home/draft20161/blulux.draft2016.com/adminatis/index.php(58): DispatcherCore→dispatch() #7 {main} thrown

-Instagram feed module take the same error

[PrestaShop] Fatal error in module file :/home/draft20161/blulux.draft2016.com/classes/shop/ShopUrl.php:
Uncaught Error: Using $this when not in object context in /home/draft20161/blulux.draft2016.com/classes/shop/ShopUrl.php:89 Stack trace: #0 /home/draft20161/blulux.draft2016.com/modules/pk_instafeed/pk_instafeed.php(556): ShopUrlCore::getBaseURI() #1 /home/draft20161/blulux.draft2016.com/modules/pk_instafeed/pk_instafeed.php(169): pk_instafeed→renderForm() #2 /home/draft20161/blulux.draft2016.com/controllers/admin/AdminModulesController.php(868): pk_instafeed→getContent() #3 /home/draft20161/blulux.draft2016.com/controllers/admin/AdminModulesController.php(1117): AdminModulesControllerCore→postProcessCallback() #4 /home/draft20161/blulux.draft2016.com/classes/controller/Controller.php(178): AdminModulesControllerCore→postProcess() #5 /home/draft20161/blulux.draft2016.com/classes/Dispatcher.php(367): ControllerCore→run() #6 /home/draft20161/blulux.draft2016.com/adminatis/index.php(58): DispatcherCore→dispatch() #7 {main} thrown

-Testimonials block
I cannot find any option to add more testimonials. I have only two from demo content.

-Revolution slider
Cannot upload new images. There is no upload button. Nothing happens when I try with fill button.


This ticket does not depend on any other tickets.

Marek (marek) 26 Oct 2017, 11:28

Hi, Atis Shpk. Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office

Atis Shpk (Aldi) 26 Oct 2017, 11:37

Hello Now you have ready BO access and ftp This is critical for us because I have a deadline. Thanks

Marek (marek) 26 Oct 2017, 11:45

Ok, I understand. Please check my permissions because I don't see files on your server through FTP. It seems something was changed in prestashop because all worked fine before

Atis Shpk (Aldi) 26 Oct 2017, 11:53

Now should be ok. I have not changed anything, only add two css lines on global.css file

Marek (marek) 26 Oct 2017, 11:55

I only see a file {{http://media.promokit.eu/screenshots/screencloud/screenshot20171026_115454.jpg}}

Atis Shpk (Aldi) 26 Oct 2017, 12:02

FTP on port 21 using winscp, for me seems all ok.

Marek (marek) 26 Oct 2017, 12:03

Yes, now it's ok

Marek (marek) 26 Oct 2017, 12:09

Instagram and Fun facts has been fixed. Working on revolution slider

Marek (marek) 26 Oct 2017, 12:26

Revolution slider has been updated and works fine now. You can add new Testimonials here http://blulux.draft2016.com/en/module/pk_testimonials/testimonials

Atis Shpk (Aldi) 26 Oct 2017, 12:42

Now I see a google font link on the top of the slider and under main menu. Also another thing. I putted images with the same size as on the demo, as background on fun facts and testimonials blocks. But on my case the parallax is not ok like on the demo. Is any option to disable parallax or fix this?

Marek (marek) 26 Oct 2017, 12:47

Parallax has been disabled. As for revolution slider, I suppose you have to create new slider because the current one has been imported to the old module version.

Atis Shpk (Aldi) 26 Oct 2017, 13:14

I deleted old slides and putted only one new. But it is again the same. I think that you forgot to close any tag. Only testimonial parallax is disabled. Please can you tell me where is the option to enable or disable parallax?

Marek (marek) 26 Oct 2017, 13:38

The issue has been fixed. Please check it out

Atis Shpk (Aldi) 02 Nov 2017, 10:35

Hello, I have another problem. The api key for google maps is missing. How can I fix this? Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details. Thanks

Atis Shpk (Aldi) 02 Nov 2017, 10:47

Another important thing. It seems that slider revolution is not multilingual. How can I put different content for each language? Thank you

Marek (marek) 02 Nov 2017, 12:11

You can get API key here https://developers.google.com/maps/documentation/javascript/get-api-key Revolution slider multilanguage can be enabled here http://awesomescreenshot.com/07e6e6q971

Atis Shpk (Aldi) 02 Nov 2017, 12:39

Hello I already have an API key, but how can I put this key on my theme? Thanks for the fast response :)

Marek (marek) 02 Nov 2017, 12:40

You can put it here: https://alysum5.promokit.eu/documentation/#general_settings

Atis Shpk (Aldi) 02 Nov 2017, 12:49

On my case, I do not have this option to put api key from back end.

Marek (marek) 02 Nov 2017, 12:52

ok, I can put it directly into the code, if you want

Atis Shpk (Aldi) 02 Nov 2017, 12:56

okay, here is the key AIzaSyC7-jwhtJZt8xavlb3U64WBiHCceYTAw6g

Marek (marek) 02 Nov 2017, 13:09

The issue has been fixed. Please check it out

Atis Shpk (Aldi) 08 Nov 2017, 10:12

Hello I have another problem with theme. Product reviews are enabled on theme settings from back end, but on front end can not show any option to make the review or show stars. Also, on the option our stores, api key is still missing. Map works only on contacts page. Any solution? Thanks

Marek (marek) 08 Nov 2017, 11:29

As I can see the module Product Comments is disabled http://awesomescreenshot.com/04a6e9sl71 Where do you want to show Google maps except contact page?

Atis Shpk (Aldi) 08 Nov 2017, 11:43

Yes, the first one is fixed. Thanks. I want to show on "our stores" option by prestashop. It will show a map with markers of all physical shops. I think that it is the same problem as on contacts page map.

Marek (marek) 08 Nov 2017, 11:45

Please give me a link to that page

Atis Shpk (Aldi) 08 Nov 2017, 11:45


Marek (marek) 08 Nov 2017, 11:56

You have to get Google API key to show a map. https://developers.google.com/maps/documentation/javascript/get-api-key Send it to me and I'll add it to the theme

Atis Shpk (Aldi) 08 Nov 2017, 11:59

I already send you one on our previous conversation. But, here is another one new AIzaSyCgQcu3paill3HgvI6O2_vuLdZKMyBuoJs Thanks

Marek (marek) 08 Nov 2017, 12:01

Yes, I see, sorry, I missed that. Now your maps works fine

Atis Shpk (Aldi) 10 Nov 2017, 10:35

Hello again I enabled on theme setting the option to show cookies message. I can translate the text, but is there any option to change the link for cookies page? Because now it gives me error 404 the link there and do not know how to change it. Thanks

Atis Shpk (Aldi) 13 Nov 2017, 11:20

Hello I want to change ph_recentposts position. From theme settings I can change positions inside one hook, but not to change the hook. I want to put recentposts before footer section, after manufacturers and instagram. Can you give me any idea how can I do this? Thanks

Marek (marek) 13 Nov 2017, 11:44

Hi, Atis Shpk. 1. You can change the page in the file /modules/pk_themesettings/js/commonscripts.js. Find the line <code>cookiePageURL: baseUri+'?id_cms=4&controller=cms&id_lang=1',</code> where id_cms=4 is an ID of your prestashop page 2. You can try to move the module to another hook in the "Modules" > "Positions" page

Atis Shpk (Aldi) 13 Nov 2017, 13:30

Hello, I changed the Id but still the same. The id of my privacy page is 6. I tried to hook that module on footer_top, but it seems that this module is not registered for that so cannot hook there. Can you do it for me? Thanks

Atis Shpk (Aldi) 13 Nov 2017, 14:22

Hello Marek Now I see some numbers down my facebook block on footer. All was ok. It is strange because I didnt change anything. Also above mentioned problems still remain. Thanks again

Marek (marek) 13 Nov 2017, 15:26

ok, give me a link to that page, I'll try it myself. Regarding Facebook, yes, I know about that issue. Unfortunately there is no any solution for now. Facebook changed some rules and doesn't return likes number.

Atis Shpk (Aldi) 14 Nov 2017, 09:15

Here is the link for cookies policy http://blulux.draft2016.com/it/content/6-cookies-policy Now the part of facebook seems to be ok. I didn't change anything. Anyway... And about the recent posts to hook on footer_top? It seems that this module is not registered for that hook so cannot hook there. Thanks in advance

Marek (marek) 14 Nov 2017, 11:02

1. The link is added. 2. The is added as well. Try to add the module to footer_top once again

Atis Shpk (Aldi) 14 Nov 2017, 11:16

Hello I hooked it, but is not activated for that section. Maybe any conflict with theme setting. I disabled this module on other positions, but still the same. See https://prnt.sc/ha959q

Marek (marek) 14 Nov 2017, 11:38

Now it should work without theme settings

Atis Shpk (Aldi) 14 Nov 2017, 12:33

Yes, I saw it, but now the design is a mess there. It went full width. Now, should I work with css for that section or is anything else faster?

Atis Shpk (Aldi) 15 Nov 2017, 09:48

Marek, recent posts module carousel now is in all the pages down. It is supposed to be only on home. This happened after your changes to hook it on footer_top. The idea was to change its position on home, not show in all pages. Also, as I mentioned before, the design is not ok. It seems to be a problem about container. Please, I need a fast fix for this. Thanks

Marek (marek) 15 Nov 2017, 12:27

Now it's ok. Please check it out

Atis Shpk (Aldi) 21 Nov 2017, 10:05

Hello Marek

On the block fun facts, I need to put videos, instead of images. Embedded videos from youtube. Is any option there or need to modify the module?

Marek (marek) 21 Nov 2017, 10:56

Maybe will be better for you to use "Custom Text blocks" module where you can put your video code

Atis Shpk (Aldi) 21 Nov 2017, 12:26

Yes I fixed it.
Well this is the last thing.
I want to show testimonials according to language. So those one which are filled when the site is in english, to show in english. The same for italian.
Again module modifications or is any build in option?


Marek (marek) 21 Nov 2017, 12:36

It's a good idea, but I don't have any idea how it could be realized. The main problem is how to detect a language of testimonial