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

HI, how can I hook your module in the display footer? I mean, I did load an image and then clicked on footer in the menu but nothing happen

Share this post


Link to post
Share on other sites

Hi Misthero,

 

I get same problem as before with your module. What I can see is if i comment '$this->updateCheck();' in homsliderpro.php it's ok, if not i always get a database error (database has gone away)...

 

ok looks like the auto update function is not working anyway, I will remove or try something different in next version. Thanks

 

HI, how can I hook your module in the display footer? I mean, I did load an image and then clicked on footer in the menu but nothing happen

 

did you saved the "hook positions" after checking the footer checkbox??

Share this post


Link to post
Share on other sites

ok looks like the auto update function is not working anyway, I will remove or try something different in next version. Thanks

 

 

did you saved the "hook positions" after checking the footer checkbox??

 

 

edit: yes i did it now but unfortunately is not the effect I intended (my client will) I think I need to put a background on the entire footer.container

Edited by mdarcangelo (see edit history)

Share this post


Link to post
Share on other sites

edit: yes i did it now but unfortunately is not the effect I intended (my client will) I think I need to put a background on the entire footer.container

 

obviously is not a background, it appear where the hooks is placed in the template file and it is subject to the css rules of your theme :)

Share this post


Link to post
Share on other sites

Hello 

@misthero Thank you, yes default theme

@Uniq Thank you.

Problem. When I click on the links, the menu bar, cart, search bar those are inactive. thank you

Edited by G.Solidarité (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

Hello 

@misthero Thank you, yes default theme

@Uniq Thank you.

Problem. When I click on the links, the menu bar, cart, search bar those are inactive. thank you

Awesome, mate!!!

Can you make vertical one?

 

Cheers...

Share this post


Link to post
Share on other sites

Hello

Thank you Zetri Mulyadi for the return, I joined a screen capture I think that picture is too high ?

Friendships

post-475475-0-53913100-1409473799_thumb.png

Edited by G.Solidarité (see edit history)

Share this post


Link to post
Share on other sites

Hello

Thank you Zetri Mulyadi for the return, I joined a screen capture I think that picture is too high ?

Friendships

Hi there, yes indeed. I was having fun and playing around with the newfound toy :D

Trying to find the right images and the right spot for the carousel.

 

Cheers...

Share this post


Link to post
Share on other sites

Version 1.6.0.9

@ Zetri Mulyadi  je supprimé  la ligne  5 position: relative; "Styles.css" (ok)

Edited by G.Solidarité (see edit history)

Share this post


Link to post
Share on other sites

hi there

i'm using v 1.6.35 on prestashop 1.6.0.9 

the problem is that when i select an image the image is upload with a big zoom and so the result is that the image is cut :\ and dunno why

Share this post


Link to post
Share on other sites

probably the image is too small for your slider size and doesn't fit the proportions

 

use big images, best result with images bigger than the slider, and check the proportion to match the slider proportions, for example if the image is a square and the slider is rectangular something will be cut out.

Share this post


Link to post
Share on other sites
Guest nzefarbt

Hey.

 

Thanks for great module.

 

I am trying to display 6 pictures on hompage. 3 in 1 row.

 

I am total noob at this but I came up with this:

 

Added this code to index.tpl:

<div class="clearfix">
<div class="col-xs-4">{hook h="displaySlidersPro" slider="a"}</div>
<div class="col-xs-4">{hook h="displaySlidersPro" slider="b"}</div>
<div class="col-xs-4">{hook h="displaySlidersPro" slider="c"}</div>
</div>
<div class="clearfix">
<div class="col-xs-4">{hook h="displaySlidersPro" slider="d"}</div>
<div class="col-xs-4">{hook h="displaySlidersPro" slider="e"}</div>
<div class="col-xs-4">{hook h="displaySlidersPro" slider="f"}</div>
</div>

It works. But maybe there is better way to do this?

 

I am using default theme and prestashop 1.6.0.9

Share this post


Link to post
Share on other sites

that is a good way if you know html, is also possible doing it directly from the configurations using a single hook, but that would require some time setting up and testing, so your solution is good.

 

just test if the responsive works

Share this post


Link to post
Share on other sites

items in the left menu are appearing behind the banners when I browse the menu, have a solution for this?

Share this post


Link to post
Share on other sites

I have a dropdown menu, and when I move the mouse over the menu, the categories have sub-categories expand, and they are behind the banners

Share this post


Link to post
Share on other sites

Hi, I installed your module in release 1.6.0.9. the Pay, but I do not know how to do to make the products appear in the store, only the images that comes with the module is appearing and I wanted the products of some categories showed up. I've selected the categories in the config but nothing happens. What can I do?

TK.

Share this post


Link to post
Share on other sites

hello roberta, I don't know what you mean, this is an image slider/carousel, this module have nothing to do with showing products... unless you upload product images.

 

the category option is used to decide which category should have the slider attached.

Share this post


Link to post
Share on other sites

Great module! 

 

Not sure if this has been answered before, but when I set the size to something like 1040, it resizes it back to 975px. Any way to keep the size I like? I reckon I've used a noobie css way to increase my shops width, but the module limits at 975px..

 

Using 1.5.6.x :)

 

Thanks in advance!

Share this post


Link to post
Share on other sites

the px size options are made to choose the image proportions and size, and the slider MAX size, the slider will try to get to that dimension but if it is inside a container smaller than that it will adapt

 

said with other words when you set the slider width to 1000px the slider will be large at most 1000px unless there is not enough space or something else prevents it.

 

Also remember that left and right paddings can cause the slider to become smaller if there is not enough space

Edited by misthero (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

the px size options are made to choose the image proportions and size, and the slider MAX size, the slider will try to get to that dimension but if it is inside a container smaller than that it will adapt

 

said with other words when you set the slider width to 1000px the slider will be large at most 1000px unless there is not enough space or something else prevents it.

 

Also remember that left and right paddings can cause the slider to become smaller if there is not enough space

 

Ah fixed, thanks! Was confused because the module restyled my images, so I thought it resized them but it was the responsiveness at work I reckon. Fixed the CSS, works like a charm now :)

 

I've searched this topic in an attempt to find a way to get the slider 100% of window width (regardless of ~1000px container width). Is it doable with this module?

Share this post


Link to post
Share on other sites

it depends on the container, the slider cannot be bigger of the element containg the slider itself.

 

But you can achieve that effect, just make it wide enough, for example 1920px (for full HD monitors) or more (remember that value is not the real width but the "maximum width"), and make sure it is inside a container that is 100% width.

 

you may need high resolution images for that, or you will se artifacts

Share this post


Link to post
Share on other sites

Messing around with it a bit now. I've enabled the slider inside a specific CMS page, however that resides within #page and #center_column which are both fixed width (1000ish PX). 

 

 

Any way to break out of those containers within that single CMS page to get a 100% (or 1920px) width container?

Share this post


Link to post
Share on other sites

yes because there is where the category image is usually displayed.

 

If you know html you can edit your theme and move the sliders everywhere hook to a different position. What to do depends on your theme.

For example in defaul prestashop 1.5 theme you could close the #page div after the header closing tag, place the slider hook in there, than open another #page div.
 
usually this is the deafult structure, everyting is inside #page, so nothing can be bigger than that.

<div id="#page" class="container_9 clearfix"> <!-- this decides the width of everything -->
  <div id="#header">...
  <div id="columns">....
  <div id="footer">...
</div>

in that case you could close the #page after #header, and open another #page_bottom, put the slider in between
 

<div id="#page" class="container_9 clearfix">
  <div id="#header">...
</div> <!-- added a closing tag here -->

{hook h="DisplaySlidersPro" CMS="1"}

<div id="#page_bottom" class="container_9 clearfix"> <!-- added an opening tag here (you must use a different ID like #page_bottom)-->
  <div id="columns">....
  <div id="footer">...
</div>

Share this post


Link to post
Share on other sites

First of, thanks for your effort in helping me and others!

 

I should probably be able to pull that off, however it then would be applied to all (CMS) pages, right? Would it be possible to only have it apply to one, or perhaps the Homepage? I suspect the homepage has it's own structure page?

Share this post


Link to post
Share on other sites

on 1.5 default theme is homepage structure is about the same, but again, it strictly depends on your theme.

 

anyway the change I hinted will make the slider appear only in the selected categories, you should not see any change if the slider is not present

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

hello roberta, I don't know what you mean, this is an image slider/carousel, this module have nothing to do with showing products... unless you upload product images.

 

the category option is used to decide which category should have the slider attached.

I apologize, I must have misunderstood, since I have to wear an electronic translator lol.
Thank you so much for your attention.

Share this post


Link to post
Share on other sites
Guest nzefarbt

It wasnt responsive. And i dont know html. I just copy things.

 

This works responsive:

<div class="clearfix">
<div id="htmlcontent_home">
<ul class="htmlcontent-home clearfix row">
<li class="col-xs-4">{hook h="displaySlidersPro" slider="a"}</li>
<li class="col-xs-4">{hook h="displaySlidersPro" slider="b"}</li>
<li class="col-xs-4">{hook h="displaySlidersPro" slider="c"}</li>
<li class="col-xs-4">{hook h="displaySlidersPro" slider="d"}</li>
<li class="col-xs-4">{hook h="displaySlidersPro" slider="e"}</li>
<li class="col-xs-4">{hook h="displaySlidersPro" slider="f"}</li>
</ul>
</div>
</div>

Thank you for support

Share this post


Link to post
Share on other sites

Hi! It seems a great slider. Thanks. But when I install and activate the slider, the shop shows the following error:

 

Fatal error: Call to undefined method HomeSliderPro::getCacheId() in /home/topgafas/public_html/modules/homesliderpro/homesliderpro.php on line 910

 

How can I fix it?

Share this post


Link to post
Share on other sites

strange, that method is defined on classes/module/module.php and exists in PS 1.5 and 1.6 what version you have?

 

do you did something like updating the module or removing it?

 

did you tried clearing cache?

 

if nothing works you can remove that method, open homesliderpro.php about at line 905, you will see this

public function hookDisplayHeader(){
		$this->context->controller->addCSS($this->_path.'css/font-awesome.css');
		$this->context->controller->addCSS($this->_path.'css/styles.css');
		$this->context->controller->addJS($this->_path.'js/slidereverywhere.js');
		
		if (!$this->isCached('header.tpl', $this->getCacheId())) {
			$config = $this->config;
			$this->smarty->assign('configuration', $config);
			$this->smarty->assign('rtlslide', $this->context->language->is_rtl);
			return $this->display(__FILE__, 'header.tpl');	
		}
		return true;
	}

change it this way:

public function hookDisplayHeader(){
		$this->context->controller->addCSS($this->_path.'css/font-awesome.css');
		$this->context->controller->addCSS($this->_path.'css/styles.css');
		$this->context->controller->addJS($this->_path.'js/slidereverywhere.js');
		

			$config = $this->config;
			$this->smarty->assign('configuration', $config);
			$this->smarty->assign('rtlslide', $this->context->language->is_rtl);
			return $this->display(__FILE__, 'header.tpl');	

	}

Share this post


Link to post
Share on other sites

the category option is used to decide which category should have the slider attached.

 

Hello Sir,

 

Many thanks for this module!

 

I tried to select only 1 category and I see the slider on every products, even in the other categories...?

Thanks for your feedback

Share this post


Link to post
Share on other sites

than you probably activated it for others hook too, for example "Top" or "footer", "left sidebar" etc.. are present on every page

Share this post


Link to post
Share on other sites

My theme sucks, there is no 

{if $scenes || $category->description || $category->id_image}

:angry:

 

look at my category.tpl

{include file="$tpl_dir./breadcrumb.tpl"}



{include file="$tpl_dir./errors.tpl"}







{if isset($category)}



	{if $category->id AND $category->active}



		<h1>{strip}



			{$category->name|escape:'htmlall':'UTF-8'}



			<span>



				{if $category->id == 1 OR $nb_products == 0}{l s='There are no products.'}



				{else}



					{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 



					{$nb_products} 



					{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}



				{/if}



			</span>{/strip}



		</h1>



		



		{hook h='CategoryFeature'}



		









		{if $products}



				{include file="$tpl_dir./product-compare.tpl"}



				{include file="$tpl_dir./product-sort.tpl"}

				<div id="products_viewpoint" class="list">

				{include file="$tpl_dir./product-list.tpl" products=$products}

				</div>

				{include file="$tpl_dir./product-compare.tpl"}



				{include file="$tpl_dir./pagination.tpl"}



			{elseif !isset($subcategories)}



				<p class="warning">{l s='There are no products in this category.'}</p>



			{/if}



	{elseif $category->id}



		<p class="warning">{l s='This category is currently unavailable.'}</p>



	{/if}



{/if}

Share this post


Link to post
Share on other sites

doens't matter, you can place the snippet provided where you prefere in category.tpl

 

where you place it will decide the position in your theme, so if you want it before the title copy paste it before:

{hook h="DisplaySlidersPro" CAT="1"}
<h1>{strip}
            {$category->name|escape:'htmlall':'UTF-8'}

this is just an example, paste it where you prefere, if the position is not what you want move it in another position :)

Share this post


Link to post
Share on other sites

 

strange, that method is defined on classes/module/module.php and exists in PS 1.5 and 1.6 what version you have?

 

do you did something like updating the module or removing it?

 

did you tried clearing cache?

 

if nothing works you can remove that method, open homesliderpro.php about at line 905, you will see this

public function hookDisplayHeader(){
		$this->context->controller->addCSS($this->_path.'css/font-awesome.css');
		$this->context->controller->addCSS($this->_path.'css/styles.css');
		$this->context->controller->addJS($this->_path.'js/slidereverywhere.js');
		
		if (!$this->isCached('header.tpl', $this->getCacheId())) {
			$config = $this->config;
			$this->smarty->assign('configuration', $config);
			$this->smarty->assign('rtlslide', $this->context->language->is_rtl);
			return $this->display(__FILE__, 'header.tpl');	
		}
		return true;
	}

change it this way:

public function hookDisplayHeader(){
		$this->context->controller->addCSS($this->_path.'css/font-awesome.css');
		$this->context->controller->addCSS($this->_path.'css/styles.css');
		$this->context->controller->addJS($this->_path.'js/slidereverywhere.js');
		

			$config = $this->config;
			$this->smarty->assign('configuration', $config);
			$this->smarty->assign('rtlslide', $this->context->language->is_rtl);
			return $this->display(__FILE__, 'header.tpl');	

	}

 

Thank you very much!! I fixed it!  :)

Share this post


Link to post
Share on other sites

hey man, it's a really great module! :D

 

But i have one question, when i tried to resize the image in the slider and press the save button, nothing happened (like an empty link)

It won't save my last configuration. Can you help me ?

 

I'm using Prestashop 1.6.0.8

 

Thanks for any help!

 

Sorry for my bad English :(

 

Same problem here :(

any idea how to fix this?

Edited by luthien (see edit history)

Share this post


Link to post
Share on other sites

that was a browser cache problem, did you updated the module recently?

 

if so you should probably just reload the page a few times hitting F5 or , better, CTRL+F5

Share this post


Link to post
Share on other sites

Im loving this module,  been using the older version up until today  just swapped out  and wey hey  awesome work misthero

Share this post


Link to post
Share on other sites

HI. HOW CHANGE THE SIZE PLEASE...

 

i want this to be like the original  but  wthit zise   784 x 250

 

www.pcaponte.com

 

thank you. grate module.

post-554785-0-57806100-1410273291_thumb.jpg

Share this post


Link to post
Share on other sites

you can change the size in configuration, admin menu: preference->Sliders Everywhere

the original is 779x448 anyway, and if you want to stay on the left and have another slider on it's right side you should change the position to "left"

 

if your language is spanish there is the spanish support topic here: http://www.prestashop.com/forums/index.php?showtopic=343840

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Same problem here :(

any idea how to fix this?

 

 

that was a browser cache problem, did you updated the module recently?

 

if so you should probably just reload the page a few times hitting F5 or , better, CTRL+F5

solution for this :) in homesliderpro.php should be:

 

 $url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://';

so it's look like:

 

public function getBaseUrl(){
		//this function ignore saved prestashop parameters for safe ajax requests where WWW or non WWW matters for same domain policy
		$url  = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://';
		$url .= $_SERVER['SERVER_NAME'];
		$url .= $_SERVER['REQUEST_URI'];
		return dirname(dirname($url));
	}

:)

 

But i have one question about images. Is there any way to change quality of uploaded images?

Edited by luthien (see edit history)

Share this post


Link to post
Share on other sites

thank you for your hint, are you on https?

Quality is actually 90, it is defined as a saveImage function parameter

saveImage($savePath, $imageQuality)

this function get called:

2 times in homesliderpro.php,

2 times in controllers/admin/sliderseverywhere.php

and once in ajax_homesliderpro.php

 

and it is defined in classes/perfectresizer.php

Share this post


Link to post
Share on other sites

thank you for your hint, are you on https?

Quality is actually 90, it is defined as a saveImage function parameter

saveImage($savePath, $imageQuality)

this function get called:

2 times in homesliderpro.php,

2 times in controllers/admin/sliderseverywhere.php

and once in ajax_homesliderpro.php

 

and it is defined in classes/perfectresizer.php

 

no i'm not. Its needed 'cos sometimes $_SERVER['https'] is set but with value "off", so it not allways work properly, so it not allways work properly, as You only check if it is set, and not for value which can be "on" or "off"

 
unfortunately, I don't see changes in images quality...

Share this post


Link to post
Share on other sites

maximum is 100, but obviously it gets applied only if you resize the slider or upload new images, it doesn't change image quality for images already upladed and resized, what are you triyng to achieve?

Share this post


Link to post
Share on other sites

This is just what I spected, Awesome Images Slider module and the best of all it's free... thanks for share it

Share this post


Link to post
Share on other sites

Small update available on page 1 Version 1.6.36

 

 

Version 1.6.36

  • Fixed detection of https (thanks to luthien)
  • Added option for image quality/compression

 

 

PS: I'm  looking for translators, the module at the moment have 3 languages, English, Italian, Spanish, if anyone translated it in another language would you like to share it with us? Thanks

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hi. Since I´ve installed the slider, the categories don't shows the image of category. Is it because the category activation slider? Thanks in advance.

Share this post


Link to post
Share on other sites

how can i  to put the slider on far top before the cart block

 

depends, what theme you use? prestashop version? can you provide a link?

 

Hi. Since I´ve installed the slider, the categories don't shows the image of category. Is it because the category activation slider? Thanks in advance.

 

yes, but it should replace the image only for categories where you attached a slider, nothing should happen to categories with no slider linked and the defaul category image should show normally

Share this post


Link to post
Share on other sites

Hi!

 

I have some problems with Your slider.

I'm using ver: 1.6.36 on Prestashop 1.6.0.8.

When i want to add title or description to area, it saves incorectly in database. 

Your slider change unusual characters like "ą", "ó" to unicode enteties like \u0105 or \u017c. 

However in database they are saved without backslashes so it will look like this: "gu017cegu017cu00f3u0142ka", but it should look like this: "gżegżółka". Is there a way to disable convertion to unicode, or maybe there is another way.

Share this post


Link to post
Share on other sites

Hi!

 

I have some problems with Your slider.

I'm using ver: 1.6.36 on Prestashop 1.6.0.8.

When i want to add title or description to area, it saves incorectly in database. 

Your slider change unusual characters like "ą", "ó" to unicode enteties like \u0105 or \u017c. 

However in database they are saved without backslashes so it will look like this: "gu017cegu017cu00f3u0142ka", but it should look like this: "gżegżółka". Is there a way to disable convertion to unicode, or maybe there is another way.

 

what language? is both title and description or just the description giving you problems? (try leaving the description empty and entering just the title)

Share this post


Link to post
Share on other sites

I have it fixed. I've just reinstalled slider and it worked. It is little strange, becouse it worked after second reinstall. I've looked into your code with my coworker andwe have little sugestion. You should clean up your code for better readability. Now it is quite tough to understand how your module is working.

Share this post


Link to post
Share on other sites

Yes, is a complex module, I don't understand how it works either :P

 

no, seriously, I'm always open to suggestions and optimizations, this module uses non standard experimental functions that no other prestashop module ever used before, for example as far as I know there was no module using "shortcodes" in editors for prestashop before this one. (only recently a paid module appeared using shortcodes), I wonder if they used my method.

 

If you need help understanding anything just ask me here. I will try to help.

 

Anyway I'm glad it eventually worked.

Share this post


Link to post
Share on other sites

Great module,

I tested the module on localhost using multistore and it was working excellent so I tried it on webside server and I'm not able to save any changes of Edit slider options parameters.I do not understand why. Can you help me with that?

 

!Sliders Everywhere! v1.6.35

PrestaShop 1.6.0.6

Thank you.

Share this post


Link to post
Share on other sites

hello, there are different possible cause, for that, since the settings are saved via ajax you should check the following:

 

1. if you are using "https" update the module to version 1.6.36 (you can find it on first page)

2. if your shop is under "maintainance mode" make sure you added your IP to Preferences->Maintenace or the ajax request will fail

3. also make sure that you installed the module under "All shops"  when in modules page, if not uninstall and reinstall.

4. double check that the url of your shops is correctly configured under "Advanced Parameters->Multistore"

 

let me know your findings

Share this post


Link to post
Share on other sites
I think I've found the core of the problem.

I've uploaded the PrestaShop to an other server and it is working properly.

 

I've found one difference between this two servers.

 

The "working one" is using MySQL 5.x and

the "not working one" is using MariaDB 5.5.

 

The MariaDB works faster but the "Sliders Everywhere" is not working on it.

 

Can it be the reason why it's not working?

Share this post


Link to post
Share on other sites

Not sure, but really it shoudn't because the module uses prestashop functions and classes to handle the database, no query is called directly, it alway pass through Prestashop to ask something or write something on the database, so is prestashop doing the work.

 

But anything is possible, can you try enablig developer mode and reinstall? If there is any database problem you should see some error appearing.

 

Waht settings are you trying to save exactly? the image settings (like areas, title, description etc) or the slider settings?

Share this post


Link to post
Share on other sites

Not sure, but really it shoudn't because the module uses prestashop functions and classes to handle the database, no query is called directly, it alway pass through Prestashop to ask something or write something on the database, so is prestashop doing the work.

 

But anything is possible, can you try enablig developer mode and reinstall? If there is any database problem you should see some error appearing.

 

Waht settings are you trying to save exactly? the image settings (like areas, title, description etc) or the slider settings?

What do you mean developer mode? I've uninstalled the module and  I've installed it again.
 
It was allways the same. One server great, second not.
 
I'm not able to save any of changes in "Edit slider options parameters".

Share this post


Link to post
Share on other sites

 

What do you mean developer mode? I've uninstalled the module and  I've installed it again.
 
It was allways the same. One server great, second not.
 
I'm not able to save any of changes in "Edit slider options parameters".

 

 

developer mode is a special mode that is useful when developing a site it will show errors that normally Prestashop hides allowing you to debug the code and understand the reason because something is not working.

 

to enable developer mode open the file config/defines.inc.php

 

you should see:

define('_PS_MODE_DEV_', false);

change it to

define('_PS_MODE_DEV_', true);

 

you can change it back to false when your shop is ready and everything works ^_^

 

also the module should generate a debug file if there is some error, look in the folder modules/homesliderpro and check if any file exists called error_log or something like that

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hello there,

I have the same problem with saving settings.

The button on the settings page, below "Edit slider options" doesnt seem to be doing anything. I try to change the width of the slider.

 

The buttons "Save" and "Save and Resize Images" dont even show the "clicked / down state, not sure if that is important.

If you like I an give you access to the server.

 

I have installed some 2 hours ago, from the file in the first post.

 

The version info:

!Sliders Everywhere! (v:1.6.36)

Richard

Edited by loopingrichard (see edit history)

Share this post


Link to post
Share on other sites

wait the value is saved? I mean the number you see? if you change from 1200 to 800 and reload the page (press F5) it is kept?

 

also look at this 4 points here: http://www.prestashop.com/forums/topic/310597-free-module-sliders-everywhere-responsive-gallery-image-sliders-or-banners-now-3d/page-39?do=findComment&comment=1804731

 

ideally you should see a popup when you save telling you if is saved

Share this post


Link to post
Share on other sites

Hi,

thanks for the reply.

 

I do not see any popup.... :(

A page refresh does not help, it shows the same things as before the refresh.

If I click in the menu, then go to the setting page again, the old settings are there.

 

Image width: 1200 px. Whatever I try, I can not save it. I can change the numbers but thats all.

 

I checked the 4 points:

- I use https for admin, but I already have the 1.6.36 version

- Shop is not in maintenance mode

- No multistore, just single.

 

Maybe this is important: prestashop is installed in a subfolder, and there are rewrites in .htaccess

 

If I need to check anything else, let me know. I would like to use this module :)

 

Richard

Share this post


Link to post
Share on other sites

the subfolder should not be a problem, I have 2 prestashop installed in subfolders and everythig works

 

try opening your browser console (usually hit F12 on chrome) and reload the page or save the settings with the console open

 

do you see any error?

Share this post


Link to post
Share on other sites

I use Firefox with Firebug.

This is shown:

 

 

 
302 Moved
  148ms
 
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.saffrane.com/modules/homesliderpro/ajax_homesliderpro.php?secure_key=7a74fdab02fae2fe299f2e2b0ee85888&action=updateConfiguration&shop=1. This can be fixed by moving the resource to the same domain or enabling CORS.
 
 
Note:
The shop is at www.saffrane.com, but I use admin from saffrane.com
 
R.
Edited by loopingrichard (see edit history)

Share this post


Link to post
Share on other sites

that is the problem than, browsers blocks cross domain ajax requests for security reasons.

 

www.mysite.com is different from mysite.com and the request get blocked

 

EDIT: also i see the request being on https but being redirected to http, is that possible?

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hm, thats  funny, because the domain is actually the same. Just the subdomain is different?

 

I tried to use the admin from www.saffrane.com, but then the same message appears only this time it says:

 

The Same Origin Policy disallows reading the remote resource at http://saffrane.com/modules/homesliderpro/ajax_homesliderpro.php?secur............

 

:S

 

R.

Share this post


Link to post
Share on other sites

No idea if this is related but:

 

Shop domain:

SSL domain:

 

in SEO & URLs both say: saffrane.com

 

 

I have no idea what to look for next... let me know if I can help.

R.

Share this post


Link to post
Share on other sites

can you try this?

 

open your homesliderpro_ajax.php and add at the start of the document, just after the <?php

header("Access-Control-Allow-Origin: *");

save and try again..

Share this post


Link to post
Share on other sites

I tried it as you said.

It doesnt change anything, still the same message.

 

I wonder about this:

 

302 Moved

  129ms

 

It says 302 moved for the POST action?

 

And: why is it posting to www.  anyway? Could it be my cache?

Edited by loopingrichard (see edit history)

Share this post


Link to post
Share on other sites

I tried it as you said.

It doesnt change anything, still the same message.

 

I wonder about this:

 

302 Moved

  129ms

 

It says 302 moved for the POST action?

 

And: why is it posting to www.  anyway? Could it be my cache?

 

I don't know why it say moved, that is the server response. You can try with a different browser but I don't think it will change anything

 

if you look at /modules/controllers/sliderseverywhere.php line 205 you will find this line:

var ajaxUrl = "'.$this->module->getBaseUrl().'/modules/'.$this->module->name.'/ajax_'.$this->module->name.'.php?secure_key='.$this->secure_key.'";

that is where the url for every ajax requests is built

 

you can try changing it replacing the first part and entering manually the domain name with or without www and with or without https

 

for example:

var ajaxUrl = "https://www.saffrane.com/modules/'.$this->module->name.'/ajax_'.$this->module->name.'.php?secure_key='.$this->secure_key.'";

play with it and let me know if you find a combination that works for you.

 

there could be a server misconfiguration somewhere...

Share this post


Link to post
Share on other sites

I've changed MariaDB to MySQL and I have to say the problem has nothing to do with kind of database.

Share this post


Link to post
Share on other sites

I've changed MariaDB to MySQL and I have to say the problem has nothing to do with kind of database.

 

like I told you it is Prestashop communicating with the database and it is compatible with MariaDB so it should not be the problem, did you tried with developer mode on?

 

also  can you try checking the browser console while saving like loopingrichard and report if you see any error?

Share this post


Link to post
Share on other sites

hello, there are different possible cause, for that, since the settings are saved via ajax you should check the following:

 

1. if you are using "https" update the module to version 1.6.36 (you can find it on first page)

2. if your shop is under "maintainance mode" make sure you added your IP to Preferences->Maintenace or the ajax request will fail

3. also make sure that you installed the module under "All shops"  when in modules page, if not uninstall and reinstall.

4. double check that the url of your shops is correctly configured under "Advanced Parameters->Multistore"

 

let me know your findings

1. I do not use https

2. Set

3. As you've written

4. OK

 

Still doesn't work.

Share this post


Link to post
Share on other sites