Jump to content
misthero

[FREE MODULE] Sliders Everywhere - Responsive Gallery, Image Sliders or Banners - NOW 3D!

Make a Better Module  

1,066 members have voted

  1. 1. What would you like to see as new feature in the future?

    • Automatically enable CMS page slider without manually editing theme file (*ADDED IN VERSION 1.5.4)
    • Video Slides
    • More customizations for colours and controls positions
    • Image map Slides with different clickable areas (*ADDED IN VERSION 1.6.1)
    • Entering custom html in description
    • Option to restart the slider after user click on controls (*ADDED IN VERSION 1.5.4)
    • Different Sliders on Category pages based on categories (*ADDED IN VERSION 1.5.4)


Recommended Posts

yes that is normal, is intended by design, sliders move automatically until the user start interacting with it.

 

The reason is that when a user start clicking on the slider he is allowed to choose the image and he is already aware that there are more images (beacuse he is browsing images by himself), keeping the slider moving can be frustrating, for example you have a slider with a discount code the user want to copy, he needs to pause there or there is some text or description he wants to read without the slider keeping moving by itself.

 

Also remember than the average user will stay only a few seconds on the same page of your site. If he is interacting with your page you already engaged him

 

same thing happen with standard prestashop homeslider anyway.

Your discourse is perfect, but if a customer clicks on the button he is already using the stop caused to the presence of the mouse on the image, the ideal would be to take advantage of this option, then when the mouse leaves the image slider continues, otherwise it stops , I'm sorry it's just my point of view.

Your module remains one of my favorites at the moment. ;)

Share this post


Link to post
Share on other sites

than perhaps would be better to have a button allowing the user to "choose" to start playing the slider again, my clients sometimes use one of the slider to show a coupon code, being an image you cannot copy paste the code on it so you have to write on paper, or you can brig up anoter window, word or notepad or anything and type it, in that case the mouse is not anymore on the slider and it would start moving again, what do you think?

Share this post


Link to post
Share on other sites

I added a poll for feature requests, there are many ideas out there and few time :)

Share this post


Link to post
Share on other sites

First of all, many thanks for this fantastic module!

 

I've installed it on PS 1.6.0.6 and it runs better than the standard module, yet since I'm not very familiar with tweaking & coding, some minor issues seem complicated to me:

I'm using the default bootstrap theme. When switching from language A to language B, there's a 404 error that I would like to get rid of . The URL is rewritten like this domain.com/language-code/index while in order to view it properly, it should look like this :domain.com or domain.com/language-code/ without "index" at the end.

How can I fix this?

 

Thank you very much.

Share this post


Link to post
Share on other sites

Hello flipstudio, I'm sorry but I don't think your issue is related with this module, as far as I know this module cannot change your site urls in any way. Try disabling the module and see if your other language work just in case. Maybe you should open an help request in another section of the forums.

 

thank you.

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hello misthero,

 

Thank you for quick your reply. I'll try to figure it out somehow.

I have one more question for you, if you don't mind.

Is there a way to fix this issue reported by GTmetrix? There's probably a misconfiguration somewhere in my shop, but I have no clue where to look for it...

 

The following image(s) are missing width and/or height attributes.

/modules//homesliderpro/images/373ad053a25bd7672fe4f332ca9cd58d.jpg

Share this post


Link to post
Share on other sites

Hello misthero,

 

Thank you for quick your reply. I'll try to figure it out somehow.

I have one more question for you, if you don't mind.

Is there a way to fix this issue reported by GTmetrix? There's probably a misconfiguration somewhere in my shop, but I have no clue where to look for it...

 

The following image(s) are missing width and/or height attributes.

/modules//homesliderpro/images/373ad053a25bd7672fe4f332ca9cd58d.jpg

 

yes, open the file homesliderpro.tpl eith a text editor and locate this line:

 

<img src="{$smarty.const._MODULE_DIR_}/homesliderpro/images/{$slide.image|escape:'htmlall':'UTF-8'}" alt="{$slide.legend|escape:'htmlall':'UTF-8'}" {* }height="{$configuration.height|intval}" width="{$configuration.width|intval}"{ *} />

 

remove the 2 {* }

 

<img src="{$smarty.const._MODULE_DIR_}/homesliderpro/images/{$slide.image|escape:'htmlall':'UTF-8'}" alt="{$slide.legend|escape:'htmlall':'UTF-8'}" {* }height="{$configuration.height|intval}" width="{$configuration.width|intval}"{ *} />

 

so it will look like this:

 

<img src="{$smarty.const._MODULE_DIR_}/homesliderpro/images/{$slide.image|escape:'htmlall':'UTF-8'}" alt="{$slide.legend|escape:'htmlall':'UTF-8'}" height="{$configuration.height|intval}" width="{$configuration.width|intval}" />

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hi

 

i am installed to my shop, hoot to displayhome position.

everythings are good, but found one problem

 

after click the pager or control, the slide will stop to slide automatically.

have to re flash the page then the slide will auto play again.

 

Please Help

 

I am using Prestashop 1.5.6.1

 

Thanks

Edited by frkl (see edit history)

Share this post


Link to post
Share on other sites

yes, it is how it works, is not a bug, anyway the next version will be soon released with a new option to disable this feature and more!

Share this post


Link to post
Share on other sites

Great module!

 

Is there a way to make title optional? For some pictures I just want the pic, and nothing else to show (like in the default PS slider)

 

THX

Share this post


Link to post
Share on other sites

Great module!

 

Is there a way to make title optional? For some pictures I just want the pic, and nothing else to show (like in the default PS slider)

 

THX

Hi, you can find many options in the module configuration.

Share this post


Link to post
Share on other sites

Hi, you can find many options in the module configuration.

yes, I know, but that options are for all the slides. What I want is to keep the title field blank for some slides.

For now I'm putting just a space as title and accepting a little grey rectangle

Share this post


Link to post
Share on other sites

yes, I know, but that options are for all the slides. What I want is to keep the title field blank for some slides.

For now I'm putting just a space as title and accepting a little grey rectangle

I'm sorry I did not understand, maybe this option will be in the next version of module;)

  • Like 1

Share this post


Link to post
Share on other sites

Trying to install the module, the Prestashop reports the following error:

 

Property Tab->name length (41) must be between 0 and 32
at line 878 in file classes/ObjectModel.php

872.
873. $message = $this->validateField($field, $value, $id_lang);
874. if ($message !== true)
875. {
876. if ($die)
877. throw new PrestaShopException($message);
878. return $error_return ? $message : false;
879. }
880. }
881. }
882.

ObjectModelCore->validateFieldsLang - [line 296 - classes/ObjectModel.php] - [0 Argument]

ObjectModelCore->getFieldsLang - [line 480 - classes/ObjectModel.php] - [0 Argument]

ObjectModelCore->add - [line 99 - classes/Tab.php] - [2 Arguments]

TabCore->add - [line 98 - modules/homesliderpro/homesliderpro.php] - [0 Argument]

HomeSliderPro->install - [line 685 - controllers/admin/AdminModulesController.php] - [0 Argument]

AdminModulesControllerCore->postProcessCallback - [line 811 - controllers/admin/AdminModulesController.php] - [0 Argument]

AdminModulesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument]

ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument]

DispatcherCore->dispatch - [line 53 - adminitrocks001/index.php] - [0 Argument]

Any help for dummies?

 

Thank you!

Share this post


Link to post
Share on other sites
Hi, I've got to try it now on 1.5.6.2, installation ok but it seems there is a problem on the control images, of course removing the module does not have the most problem.

 

Link

Share this post


Link to post
Share on other sites

that is the same version I usually test with, what language is your shop Sivo? and what is the name of CMS tab in you language?

 

because it say "Property Tab->name length (41) must be between 0 and 32" and "CMS" have length of "3"


 

Hi, I've got to try it now on 1.5.6.2, installation ok but it seems there is a problem on the control images, of course removing the module does not have the most problem.

 

Link

 

 

that is a css conflict next version will solve that have patience :)

 

meanwhile try unistalling prestashop homeslider

Edited by misthero (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

The prestashop language is Spanish, and the CMS language I dont know how to check it, but I imagine is Spanish too. In the other hand, I am using Leo Fashion Template, also on quickinstall. Could be any kind of incompatibility with the template modules?

 

Any clue? Because I am lost with this.

Share this post


Link to post
Share on other sites

he hecho algunas pruebas, y si hay el problema si el idioma del empleado esta en Español y tambien la lengua de base del negocio,

 

prueba descargando la nueva version.

Share this post


Link to post
Share on other sites

New version available, there is a big changelog and a lot of new features, but I will write it all down later... :P

 

Feel free to test it and let me know if you find any bug, there should be a lot because I had no time to test it!!

 

have fun!! :D

Share this post


Link to post
Share on other sites

Cuando comentas la nueva version, imagino que te referiras a la nueva actualizacion, pero sino, instalandolo en ingles y pasandolo al español funcionaria?

 

PD: Mañana lo pruebo y te comento :)

 

Mentioning the new update, i guess you mean about the new one added today, but instaling it on english version and switching back to the original one (spanish) should it work?

 

PD: I will test it tomorrow and I'll give you a feedback :)

Edited by Sivo (see edit history)

Share this post


Link to post
Share on other sites

Awesome it just works perfect!

I'll feedback any news or issues found

Share this post


Link to post
Share on other sites

New version available, there is a big changelog and a lot of new features, but I will write it all down later... :P

 

Feel free to test it and let me know if you find any bug, there should be a lot because I had no time to test it!!

 

have fun!! :D

Congratulations you have done a great job from what I could see, I've got to try it on with 1.6.xx 1.5.xx that is seems stable, I'll let you know if I find any problems, Bye :)

Share this post


Link to post
Share on other sites

Thx Marcello, I'm sure there should be at least a couple of bugs hidden somwhere.

 

changelog updated on first page.

  • Like 1

Share this post


Link to post
Share on other sites

On PS 1.6 your version 1.5.31 worked. the 1.5.4 i did the 3 setup steps, and you write that "Standard slider configuration have been moved to a new tab under Preferences "  but i cannot find it, any ideas?

Share this post


Link to post
Share on other sites

On PS 1.6 your version 1.5.31 worked. the 1.5.4 i did the 3 setup steps, and you write that "Standard slider configuration have been moved to a new tab under Preferences "  but i cannot find it, any ideas?

Hi ,

 
you have removed the previous version before installing the new version?

Share this post


Link to post
Share on other sites

like Marcello said removing previous version and reinstalling should work, or even just "resetting" the module...

 

but this will cause you to lose every slider you already created and that's NOT what I wanted, the upgrade should be easy and fail safe, so this is one of the BUGS I mentioned and didn't tested, sorry! :huh:

 

to fix that I rolled out a little new version (1.5.41) you can find it on first page, overwrite your module, no need to reset or reinstall, just visit the configuration page once, the module will check if the tab exists, if not it will create one.

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hi misthero,

 

I'm updating from 1.5.31 to 1.5.41, but for some reason I don't get the updating database button to work.

Clearing the cache just caused the button to become bigger and centered

 

Tested in chrome and firefox without any change

 

(using PS 1.6)

Edited by sesto (see edit history)

Share this post


Link to post
Share on other sites

are you getting any errors? or just the message keep staying there

Nothing, just the button stays there and nothing happens :(

 

knowing the mysql query could be a temporary solution :)

Edited by sesto (see edit history)

Share this post


Link to post
Share on other sites

Is just this?

'ALTER TABLE `'._DB_PREFIX_.'category`
ADD proslider varchar(255) NULL'

Share this post


Link to post
Share on other sites

please disregard everything ... must have been a server problem on my side. The update worked at new button click

Share this post


Link to post
Share on other sites

nice! thank you for reporting, i was getting mad searching for the bug :)

  • Like 1

Share this post


Link to post
Share on other sites

like Marcello said removing previous version and reinstalling should work, or even just "resetting" the module...

 

but this will cause you to lose every slider you already created and that's NOT what I wanted, the upgrade should be easy and fail safe, so this is one of the BUGS I mentioned and didn't tested, sorry! :huh:

 

to fix that I rolled out a little new version (1.5.41) you can find it on first page, overwrite your module, no need to reset or reinstall, just visit the configuration page once, the module will check if the tab exists, if not it will create one.

installed the 1.5.41. and now it shows. thanks 

 

I forgot to mention, prestashop didn't warn me of the update, i just found it by chance 

Edited by benedettopresta (see edit history)

Share this post


Link to post
Share on other sites

I have a new question,

 

I've tried the category slide, and i had read somewhere that to use this feature there need not to be an image before, so i had it and removed it and it works, now here comes the question, i hope i can make my self clear:

 

without the slider and go to the category i see my picture, and that picture is also shown in the level before (Sub-categories) the category as a smaller thumbnail, removing that image to place the slider also removes the small picture from the level before (Sub-categories), and show no image, is there a fix for this, or could you make it that the slider also shows there?  or the image?

Share this post


Link to post
Share on other sites

I have a new question,

 

I've tried the category slide, and i had read somewhere that to use this feature there need not to be an image before, so i had it and removed it and it works, now here comes the question, i hope i can make my self clear:

 

without the slider and go to the category i see my picture, and that picture is also shown in the level before (Sub-categories) the category as a smaller thumbnail, removing that image to place the slider also removes the small picture from the level before (Sub-categories), and show no image, is there a fix for this, or could you make it that the slider also shows there?  or the image?

This happens also to me: if I don't insert any image into the category the slider displays, otherwise not: is it a small bug?

For the rest, you did a great job Misthero!

Share this post


Link to post
Share on other sites

hello, what you are reporting is how the module is meant work,

 

  • Category sliders will only show if there is no category image or image map (scene) for that category

 

this is to avoid to have both image and slider, or scene and slider.

A module cannot prevent the image to be there if it is set in category and the theme wants to show it.

Prestashop allow you to add things and features with modules, or extend, but not to remove something.

 

what you are asking is not an easy task, maybe I can find a workaround but that will require some time. Maybe any of you know some module doing something similar? removing a part of core and replacing with something else? I could study how is done.

Share this post


Link to post
Share on other sites

I know that this is the way it's meant to work, i had read it, The thing is, using the slide in the category will improve the looks of the category but will worsen the sub-category by displaying a no image logo. we could change the no image, image, but then they will all be the same. 

I am not a programmer so i don't know how things work, but in the code there must be somewhere written to display the image in the category and subcategory in two different lines i suppose. if yes why not make the user use a picture so it would show in sub and cat, and when activating the slide you could override the code of the category image code line inserting the */ code */ to disable that line and reverse it when disabling the slide. I don't really know if something like this is possible is it?

 

 

I found this, I don't know if it can help:

http://www.prestashop.com/forums/topic/316850-category-image-and-thumbnail/

Edited by benedettopresta (see edit history)

Share this post


Link to post
Share on other sites

yes is possible to comment a part of your theme file do remove the image from there, but this should be the user or the web designer to do that , not a module. you understand that not every theme is the same and so that would only work sometime, plus a modification like that would force you to always place a slider for every category or there will be no image, the file is the same for every category.

 

the correct way would be modifying a simple variable before si passed to the theme for rendering. i know what it is but the system doesn't allows it from the module. it would require an override.

 

anyway nothing prevents you to open your category.tpl file and removing the image from there. if you want i can tell you what to edit.

 

another solution i was thinking of was using java script or css to hide the image when there is a slider, but that could be very theme dependent too. and not always work.

 

the link you posted is exactly what I said. to modify a theme file, but theme files are always different that cannot be done by a module without errors.

 

i will investigate to find a better solution.

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

ok thanks, i do prefer a simple solution and not having to modify things manually, because i'll always be scared of updates that will change the code and then you need to change it back. 

Share this post


Link to post
Share on other sites
Hello! I love your module thank you very much! 

I tried to install the module but my knowledge is quite limited and I can't. 

I created the hook displaySlidersPro and I modified the cms.tpl to {hook h="DisplaySlidersPro" CMS="19"} 


because the cms where I want to appear is the 19 

But I don't get anything in that CMS appears; I think it is because the hook displaySlidersPro not assimilate that belongs to 19-CMS, but not how to do it. 

you could help me? 

Thank you! 

Pd sorry for my english

Share this post


Link to post
Share on other sites

hello, you don't need to create the hook, the module does, and don't need to change the number

 {hook h="DisplaySlidersPro" CMS="1"} is good for every category (the number "1" means TRUE)

 

to choose if you want a slider for your CMS page and what it is you can do it from backoffice, go to Preferences->CMS and edit your cms page, you should have a new option "slider" near title, and meta title where you can select which slider to display for that page.

Edited by misthero (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

hello, you don't need to create the hook, the module does, and don't need to change the number

 

 {hook h="DisplaySlidersPro" CMS="1"} is good for every category (the number "1" means TRUE)

 

to choose if you want a slider for your CMS page and what it is you can do it from backoffice, go to Preferences->CMS and edit your cms page, you should have a new option "slider" near title, and meta title where you can select which slider to display for that page.

Thanks!! It works!

Share this post


Link to post
Share on other sites

Hello people, following the suggestion of benedettopresta and goodshopping I have tried to change how the Category function works but I need your help

 

here is a test version 1.5.42 I need you to help me testing it on Prestashop 1.6 and tell me if it works

 

 

 

what you have to test is if attaching a slider to a category WITH a CATEGORY IMAGE the module is able to display the slider INSTEAD of the image on the top of the page, leaving it untouched everywhere else.

 

It works on 1.5 but I need your help for 1.6

 

Thanks you all!

 

and please post here the result of your test!

 

edit: test ended thank you for your help

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Congratulation, you did it. I just tested it and it works. the image of the category disappears, and the sub-category stays there. But there must be a bug somewhere, because the slider it self doesn't work, it shows the pictures one on top of the other, and not as a slider like it should be. I just read your message and i tested it 5 minutes, i will do more tests in the morning and let you know, so also wait for others, before you go crazy looking for this bug, i don't know yet if it's on my side. Thanks for the update 

Share this post


Link to post
Share on other sites

thank you for your feedback benedettopresta, what you reports is a javascript error somewhere in your theme, it shoudn't be the module because nothing changed on the javascript side. if you have a link to look at your page i can maybe help you.

Share this post


Link to post
Share on other sites

Misthero, unfortunately i wasn't able to upload the new module: I tried to completely delete the previous version (loosing some category just placed) and upload the new one but my live site gives back a blank page both back and front end. Let me try once more, hoping to discover what is that gives this mistake. Of course if I delete the folder on the server  everything comes back properly.

Thank you for your great job. My live site http://www.goodshopping.tv

Share this post


Link to post
Share on other sites

try to enable developer mode so you can see where is the error and report here instead of a blank page

 

go to config folder and edit defines.inc.php

define('_PS_MODE_DEV_', true);

Thank you for your help

Share this post


Link to post
Share on other sites

nothing if your site produce no errors but if there is any error it will be printed on the top of the page, you can try to enable it just to see what error you have, and than put it again on false :)

 

the blank page you where getting before should show you some type of error, this way you can copy and paste it here

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Misthero, tried to unistall 1.5.42 and re-install 1.5.41 and it works without any problem: so that I think there is something in the new version that gives this error to me. I also tried to change the folder permissions on my server (sometimes it is only a problem joined to permissions). One question: is perhaps changed the code to be inserted in category.tpl or cms.tpl? Please help.Thank you.

Gil

Share this post


Link to post
Share on other sites

nope, nothing has changed there, I managed to find a workaround to unset the image for the category in smarty from php, category.tpl and cms.tpl stay the same as before, anyway 1.5.42 include some new functions, what PHP version your server uses?

 

if you can enable the development mode just for 5 minutes to copy paste the error that would be a great help.

 

thank you for your help and contribution :)

Share this post


Link to post
Share on other sites

nope, nothing has changed there, I managed to find a workaround to unset the image for the category in smarty from php, category.tpl and cms.tpl stay the same as before, anyway 1.5.42 include some new functions, what PHP version your server uses?

 

if you can enable the development mode just for 5 minutes to copy paste the error that would be a great help.

 

thank you for your help and contribution :)

Misthero, thank you so much for your kind help. Unfortunately I cannot set the site on development mode since we've our guys at the call center using the backend to manage some orders. I then decided to make some further test on our live server test on a different machine. This will take me some more time to replicate the same situation but I think this is the best i can do for now. I will come back to you as soon as I will be on test progress. For the moment I leave the 1.5.41 on the live site: I've just installed it right now and everything functions great.

Thank you in any case for your effort :).

Gil

P.S. On upgrading from 1.5.41 to 1.5.42 is it necassary to uninstall the module and delete the folder? Or simply can overwite by FTP the folder of the old version on the server? If this is the right procedure, the module should be immediately available since the modifies on tpl are just ready made, but in my case the site is consistently slowing down to serve at the end a blank page where is stated sothing related to the permissions that I just changed on the entire folder to 775.

Share this post


Link to post
Share on other sites

Thank you for your help, I understand that a live server is not a good place to make tests

 


P.S. On upgrading from 1.5.41 to 1.5.42 is it necassary to uninstall the module and delete the folder? Or simply can overwite by FTP the folder of the old version on the server? If this is the right procedure, the module should be immediately available since the modifies on tpl are just ready made, but in my case the site is consistently slowing down to serve at the end a blank page where is stated sothing related to the permissions that I just changed on the entire folder to 775.

 

you can simply overwrite without uninstalling, if you uninstall you lose all your sliders and configurations, overwriting will let you update and keep your configurations and sliders running

Share this post


Link to post
Share on other sites

thank you for your feedback benedettopresta, what you reports is a javascript error somewhere in your theme, it shoudn't be the module because nothing changed on the javascript side. if you have a link to look at your page i can maybe help you.

 

SOLVED. THE LINKS BELOW ARE NO LONGER WORKING.

 

 

Ok thanks, i was wondering if that was my problem or not, and yes it was, now i fixed it, and the slider works fine, there might be one more problem but when i was doing some tests, i was wondering why my shop got very slow, and i did some different tests and used some backups, well i think i found a bigger problem with your last update, the 41 or 42, (not sure) the loading of the site takes about 15 seconds with your module installed. Have a look yourself, I made 2 fresh installs of prestashop 1.6.0.6 one with your module and one without, well from my side the one with takes 15 seconds to load, the one without takes just over 1, try them and let me know so if you also get this results i will make one more with the 41, and this is also valid for the back office, very slow.

 

http://www.benedettoapp.it/tests/presta     this is with the module installed

http://www.benedettoapp.it/tests/presta2   this is without the module installed

 

those 2 sites are exactly the same just installed fresh, the only difference is the module 1.5.42

 

sorry i forgot the first problem i was testing but didn't come to a conclusion, is that once you use the slider in a category and the category image disappears to show the slider, when you remove the slider, the image does not show up again until you activate the slider in another category. something like that, but not sure about this yet need to verify some more. the slowing down of the shop made me forget about that. 

Edited by benedettopresta (see edit history)

Share this post


Link to post
Share on other sites

Misthero, as written by benedettopresta, also our site consistently decreased the timing page upload when 1.5.42 module was installed. I'm thinking that my problem is joined to the that: I think the blank page is coming because our server goes in timeout. Also for me it's the same: as soon us I place the old version everything's returning okay.

Is that possible? However I will investigate on our test platform more in deep.

Thank you.

Gil

Share this post


Link to post
Share on other sites

I don't know yet, but everything is possible, that is why I asked for help testing it and I'm very grateful for your contribution. I didn't published this version on first page because it is just for testing new functions and not ready for implementation on live sites.

 

That said version 1.5.42 have one more database query, but only on category pages and only if there is a slider on that category. So it is very strange it slow down even in cart pages or where there is no slider at all.

 

like this one: http://www.benedettoapp.it/tests/presta/index.php?controller=order

 

I'm at work right now, so I will check it later and let you know if i find anything. :)

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

ok i made another fresh install of prestasohp 1.6.0.6. with the module 1.5.41 and no problem, so the problem is only on the 42. but neither you nor goodshopping.tv confirmed me that the 2 test shops i set up, one takes about 15 seconds to load and another no, just to confirm that is not on my side. 

 

i see you tested a page where there is no slider, i forgot to mention, i didn't put your slider anywhere it is only installed. 

Edited by benedettopresta (see edit history)

Share this post


Link to post
Share on other sites

ok i made another fresh install of prestasohp 1.6.0.6. with the module 1.5.41 and no problem, so the problem is only on the 42. but neither you nor goodshopping.tv confirmed me that the 2 test shops i set up, one takes about 15 seconds to load and another no, just to confirm that is not on my side. 

 

i see you tested a page where there is no slider, i forgot to mention, i didn't put your slider anywhere it is only installed. 

sorry, just checked your two sites versions and found you're right, the version with .41 loads in very few seconds, while that with .42 is consistently slower.

Share this post


Link to post
Share on other sites

ok, i didn't really get that as a confirmation, as you probably have noticed English is not my first language. Anyway thanks for the confirmation. 

Share this post


Link to post
Share on other sites

Trying to add a slide while creating a new one, reports me the following error:

 

Fatal error: Call to undefined method SlidersEverywhereController::adminDisplayWarning() in /Applications/XAMPP/xamppfiles/htdocs/itrocks/modules/homesliderpro/controllers/admin/SlidersEverywhere.php on line 826

 

Trying to find out where the problem was, on the line "826" from "SlidersEverywhere.php" I found a custom message:

            $this->adminDisplayWarning(sprintf($this->l('Modules %s must be writable (CHMOD 755 / 777)'), $this->name));

The solution seems clear enough, since modifying the folders to writable 755 / 777 should work. The problem comes while they already are.

 

Maybe am I missing something?

 

Thanks in advance!

 

 

Share this post


Link to post
Share on other sites

Ok I'm back from work, benedetto, can you please try to overwrite this file in version 1.5.42 and tell me if the site keep running slow?

 

 

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Trying to add a slide while creating a new one, reports me the following error:

 

Fatal error: Call to undefined method SlidersEverywhereController::adminDisplayWarning() in /Applications/XAMPP/xamppfiles/htdocs/itrocks/modules/homesliderpro/controllers/admin/SlidersEverywhere.php on line 826

 

Trying to find out where the problem was, on the line "826" from "SlidersEverywhere.php" I found a custom message:

            $this->adminDisplayWarning(sprintf($this->l('Modules %s must be writable (CHMOD 755 / 777)'), $this->name));

The solution seems clear enough, since modifying the folders to writable 755 / 777 should work. The problem comes while they already are.

 

Maybe am I missing something?

 

Thanks in advance!

 

Thanks sivo, are you on 1.6?

 

if so try changing that line this way, replacing the first part:

$this->adminDisplayWarning(sprintf($this->l('Modu....

parent::DisplayWarning(sprintf($this->l('Mod............

 

Sivo what must be writable is the module folder and the folders inside, including files, the most important is the image folder that is where your pictures will be uploades.

 

edit: corrected the function I will apply this in next version

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Thanks sivo, are you on 1.6?

 

if so try changing that line this way, replacing the first part:

$this->adminDisplayWarning(sprintf($this->l('Modu....

$this->_html .= $this->displayError(sprintf($this->l('Mod............

 

Sivo what must be writable is the module folder and the folders inside, including files, the most important is the image folder that is where your pictures will be uploades.

 

After doing the change, seems like works perfectly.

 

Also keeps poping the following error (where I can upload a image):

Modules SlidersEverywhere must be writable (CHMOD 755 / 777)
 
but, since it works, I am not worried about it (tried with an image, and uploaded fine).
 
 
 
Before your post, I was trying to solve the problem, and deleting the following code made it work also (I know it's not appropiate to delete some code, but just wondering if it were going to affect the module).
 
/* Checks if directory is writable */
        if (!is_writable('.'))
            $this->_html .= $this->displayError(sprintf($this->l('Modules %s must be writable (CHMOD 755 / 777)'), $this->name));

By the way, I am working with: Prestashop 1.5.6.2

 

Thanks for your time Misthero!

Edited by Sivo (see edit history)

Share this post


Link to post
Share on other sites

nice, the optimized version of that function in next version will be this anyway

/* Checks if directory is writable */
		if (!is_writable(_PS_MODULE_DIR_.$this->module->name))
			parent::DisplayWarning(sprintf($this->l('Modules %s must be writable (CHMOD 755 / 777)'), $this->name));

Share this post


Link to post
Share on other sites

Ok I'm back from work, benedetto, can you please try to overwrite this file in version 1.5.42 and tell me if the site keep running slow?

 

attachicon.gifhomesliderpro.php

 

ok replaced the file, and now the 2 test sites both work fast, once again you solved it. Great.

Share this post


Link to post
Share on other sites

great, thank you for your time!

 

now I would wait to know more from goodshopping, since he was getting a blank page, if that is fixed too I can prepare the final version

Share this post


Link to post
Share on other sites

Wait, before you make a final version, the worries i had before are true, if i enable a slider on a category with an image, and than disable it the image will not come back. 

 

i tried delateting it and also only delateting the category number both ways the image will not come back

Share this post


Link to post
Share on other sites

nice catch!

 

just what you mean for "disabled"? just disabling all the images in it?

 

 

fixing that too...

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hi,

 

I have a problem for the "Show Controls" in the slider. The "arrow" sign is disappeared. Only the " NextPrev" is showed under the slider. What is the happened and how fix it?

 

Thanks for your help!

 

My prestashop is version 1.5.6.2

post-649330-0-43110600-1400525923_thumb.png

Edited by ronoch (see edit history)

Share this post


Link to post
Share on other sites

Hi,

 

I have a problem for the "Show Controls" in the slider. The "arrow" sign is disappeared. Only the " NextPrev" is showed under the slider. What is the happened and how fix it?

 

Thanks for your help!

 

My prestashop is version 1.5.6.2

 

 looks like css is missing, do you have a link to your shop so i can check?

 

if not try downloading the module again and empty you prestashop cache

Share this post


Link to post
Share on other sites

disable, remove it, i tried checking the delete box and delete selected slides, and also by just removing the number in the category i had put it, and then save hook configuration and image will not come back, even if in the settings it's still there.

 

New issue, well not really. if there is a description on the image, without the slider that description is inside the image, with the slider the image is not visible as it should be, but the description goes under the slide, not really a problem because i just took away the description and it's fine, but just to let you know.

 

one question, is it possible to add the same slide in more then one category? what if i put in category id two id's?

 

one more thing if i change the slider options width and height to a smaller size of the images in the slide, nothing happens it will still be as big as the image, is this normal?

Share this post


Link to post
Share on other sites

disable, remove it, i tried checking the delete box and delete selected slides, and also by just removing the number in the category i had put it, and then save hook configuration and image will not come back, even if in the settings it's still there.

Yes thank you I have fixed it in my version, will release it soon.

 

New issue, well not really. if there is a description on the image, without the slider that description is inside the image, with the slider the image is not visible as it should be, but the description goes under the slide, not really a problem because i just took away the description and it's fine, but just to let you know.

that is normal, you may need both slider/banner AND description, if you don't you can simply remove description from category

 

one question, is it possible to add the same slide in more then one category? what if i put in category id two id's?

won't work, it accept ony one number, at least for now, but is planned for a future release (or you can use the custom hooks :) )

 

one more thing if i change the slider options width and height to a smaller size of the images in the slide, nothing happens it will still be as big as the image, is this normal?

the images are not resized, unless you upload it again anyway the slider should resize his "width" if you make it smaller.

 

if you want to keep the same width and change only the height the images will need to be phisically resized (and cutted) so you need to upload again.

Share this post


Link to post
Share on other sites

ok thanks, i will retry your version as soon as you make it available. And i just realized that your slider just became a 2 in 1 module, now you can also advertise it being able to use 2 different images 1 for the category and one for the sub-category, so finally can have a square image in the sub and a rectangular one in the cat. I like this module more and more, the shop will have a total different (better) looks thanks to this. ( once i do all the graphics )

Share this post


Link to post
Share on other sites

 looks like css is missing, do you have a link to your shop so i can check?

 

if not try downloading the module again and empty you prestashop cache

 

Thanks misthero,

 

After empty my prestashop cache, It works now

Share this post


Link to post
Share on other sites

Sorry guys, but i cannot be of any help at the moment. Unfortunately our test area will be ready today by mid-afternoon: so that I will make some more test. However I'm following the progress and hope to contribute some more late today.

Share this post


Link to post
Share on other sites

excellent module

 

how to put two galleries in the same CMS page?

 

Thank you.

Share this post


Link to post
Share on other sites