Jump to content
misthero

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

Make a Better Module  

1,065 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

my site you can check from here.


if you see only the first picture without navigation arrows and such than probably there is a javascript error somwhere preventing it from executing, do you have a link to check?

you can check my site

Edited by subwayside (see edit history)

Share this post


Link to post
Share on other sites

as I supposed there is a javascript error, but is difficult to debug because all the javascripts are grouped, can you temporary disable CCC for javascripts? The option is in your backoffice Advanced parameters->performance

 

let me know when you do it

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

as I supposed there is a javascript error, but is difficult to debug because all the javascripts are grouped, can you temporary disable CCC for javascripts? The option is in your backoffice Advanced parameters->performance

 

let me know when

 

as I supposed there is a javascript error, but is difficult to debug because all the javascripts are grouped, can you temporary disable CCC for javascripts? The option is in your backoffice Advanced parameters->performance

 

let me know when you do it

hi

i could not find ccc for temp disable js , where i can find .

Share this post


Link to post
Share on other sites

 

as I supposed there is a javascript error, but is difficult to debug because all the javascripts are grouped, can you temporary disable CCC for javascripts? The option is in your backoffice Advanced parameters->performance

 

let me know when

 

as I supposed there is a javascript error, but is difficult to debug because all the javascripts are grouped, can you temporary disable CCC for javascripts? The option is in your backoffice Advanced parameters->performance

 

let me know when you do it

hi

i could not find ccc for temp disable js , where i can find .

 

hi,

 

I just found it i disable it just now. it was in advance parameters. now what nothing changed .? 

Share this post


Link to post
Share on other sites

yes it is working but it's not animating or sliding it shows like an still image until unless we change the image, it's an slider and it should animate automatically but it is not sliding like image slider.

 

Thanks

Share this post


Link to post
Share on other sites

yep the error is still there there is some kind of conflict somwhere with jquery.ui.tabs.min

 

Screen_Hunter_02_Jul_20.jpg

 

try updating jquery ui to the latest version on your front office or look here:

This javascript error is caused by jQuery and jQueryUI being out of sync with each other. Rather than go back to an older version of jQuery, I would update jQuery UI.

http://stackoverflow.com/questions/12048271/jquery-ui-1-8-13-sudden-error

 

PS1.6 uses jQuery 1.11 (is very recent) your theme is using an older version of jQuery ui calling functions that have been removed this will cause issue not only with this module but probably with other modules too

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

it is located here: /modules/csthemescript/js/jquery-ui-tabs.min.js

 

i think "csthemescript" is a module added by your theme maybe?

Share this post


Link to post
Share on other sites

first of all, thanks to misthero for this great module :)

 

 

now, I added this on prestashop 1.6.0.8 and I have a problem.

On adding new cms pages, I get the error

 

 

Notice alla linea 178 nel file /home/user/domains/domain.it/public_html/modules/homesliderpro/controllers/admin/AdminCmsContent.php
[8] Undefined variable: slider

Warning alla linea 178 nel file /home/user/domains/domain.it/public_html/modules/homesliderpro/controllers/admin/AdminCmsContent.php
[2] Invalid argument supplied for foreach()

 

and on the Slider dropdown menu I don't have any sliders created and used on any other pages, which are ok even on front office, but it's not a problem since I use the embedding code.

 

just in case, this morning I used the Vekia's guide to add the extended tinymce and I don't know if it could be a conflict or what...

 

thanks

Share this post


Link to post
Share on other sites

no problem, extendend tinymce cause no conflict, this is my mistake on line 178,

 

if you open that file and change on line 178:

foreach ($slider as $slide) {

with

foreach ($hooks as $hook) {

the error should go, can you confirm it so i can include this fix in next patch?

 

thank you

  • Like 1

Share this post


Link to post
Share on other sites

How to put the slider in place of the top 70 sale, bannertop module is not working via liv edit or hook?

 

that hook is not yet in configuration, but you can use the custom hook, just open header.tpl and find this:

 

<div class="banner">
  <div class="container">
    <div class="row">
        {hook h="displayBanner"}
    </div>
  </div>
</div>
add "{hook h="displaySlidersPro" slider="sample"}"  (change sample with the name of your slider)

 

<div class="banner">
  <div class="container">
    <div class="row">
        {hook h="displaySlidersPro" slider="[b]my_slider_name[/b]"}
        {hook h="displayBanner"}
    </div>
  </div>
</div>

Share this post


Link to post
Share on other sites

NEW UPDATE 1.6.25 available on page 1

 

 

Version 1.6.25

  • Fixed rtl language display issue
  • Fixed small bug when creating new cms page
  • Added new default hook: display Banner for prestashop 1.6
  • Added tabs for easier slider configuration in BO
  • Some preparation for new features coming in next version
Edited by misthero (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

I was trying to install the new version and gave problem, now no access to any module.

 

[PrestaShopDatabaseException]

Table 'marcilio_pres520.ps_homesliderpro_slides' não existe
 

ALTER TABLE `ps_homesliderpro_slides`
                ADD `has_area` tinyint (1) sem sinal '0 padrão não NULL '
            

na linha 635 no arquivo aulas / db / db.php

 

. 629 WebserviceRequest :: getInstance () -...> SetError (500, '
' $ this-> getMsgError () '. From' (isset ($ dbg [3] ['classe']) $ .... dbg [3] ['classe']:'') "->" $ dbg [3] ['função'] '() consulta era:' $ sql, 97);
630.}
631. Else if ($ errno _PS_DEBUG_SQL_ && &&! Defined ('PS_INSTALLATION_IN_PROGRESS'))
632. {
633. If ($ sql)
. 634 throw new PrestaShopDatabaseException ($ this-> getMsgError () '<br /> <br /> <pre>' $ sql '</ pre>'...);
635. throw new PrestaShopDatabaseException ($ this-> getMsgError ());
636.}
637.}
638.
639. / **

Share this post


Link to post
Share on other sites

hello intermediadorpopular, that is strange, I tested the update on ps 1.5 and 1.6 before releasing and it worked, can you tell me please the process you followed to install?

 

ps_homesliderpro_slides' não existe

 

something went wrong during the update, that table should have existed forever.

 

Can you try deleting the module?

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites
In BO first uninstalled the previous not blacked out, I downloaded the new. 

 

When I try to install this error appeared. 

 

Still had access to the rest of the BO, however, today can no longer access

Share this post


Link to post
Share on other sites

to update normally is enough to overvrite the module folder, the rest is automatic. if you uninstalled probably something was left in dabase instead of being deleted

 

first remove de module (delete the folder modules/homesliderpro)

 

than go in db and remove the table homsliderpro, homsliderpro_slides, homsliderpro_slides_lang

 

it should be removed anyway, check even if there si a row named "SLIDERSEVERYWHERE_SETS" inside the prestashop configuration table, that should be removed too, if it is still there delete it.

Share this post


Link to post
Share on other sites
Thanks, I managed to remove the folder (delete the folder modules / homesliderpro) and everything returned to normal. 

 

In BD has no table or Ps homesliderpro SLIDERSEVERYWHERE_SETS

 

 

 


However, everytime I try to install the module giving the same error. 

 

What will? Only be me?

Edited by intermediadorpopular (see edit history)

Share this post


Link to post
Share on other sites

In BD has no table or Ps homesliderpro SLIDERSEVERYWHERE_SETS

 

 

 

that is not a table

the table is named "configuration"

inside you shold find a ROW: SLIDERSEVERYWHERE_SETS

 

do not remove the table!

remove that row only if is there

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Hello everyone!

 

I have a little problem with the sliders everywhere module. When I select the slider to be only on the homepage, it will be located on the bottom of the homepage. When I move it in modules->positions it won't move to the top of the homepage (where the standard slider used to be). Currently I selected the 'top' option because the slider will then be on top. Only problem with that is the slider is now on every page.

 

I want the slider to be only on the homepage, on the same location as the standard slider (I think it's the header).

 

I use prestashop 1.5 and the template Pure Bio. This is the website: www.favourvitamines.com.

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Hello everyone!

 

I have a little problem with the sliders everywhere module. When I select the slider to be only on the homepage, it will be located on the bottom of the homepage. When I move it in modules->positions it won't move to the top of the homepage (where the standard slider used to be). Currently I selected the 'top' option because the slider will then be on top. Only problem with that is the slider is now on every page.

 

I want the slider to be only on the homepage, on the same location as the standard slider (I think it's the header).

 

I use prestashop 1.5 and the template Pure Bio. This is the website: www.favourvitamines.com.

 

Thanks in advance!

 

hello, that would be "hookTopColumn" wich is not a default hook in ps1.5. You can copy the custom hook and paste in your template

 

I don't know your theme , but if you locate the right template you should see something like this where you can paste the code provided by the module:

<div class="row">
   <div class="center_column col-xs-12 col-sm-12" id="top_column">
     {hook h="displaySlidersPro" slider="my_slider_name"}
   </div>
</div>

if it keep appearing in every page you can use a condition, this will work (change the slider name):

 

{if $page_name == 'index'}
 {hook h="displaySlidersPro" slider="myslidername"}
{/if}
Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

 

 

hello, that would be "hookTopColumn" wich is not a default hook in ps1.5. You can copy the custom hook and paste in your template

 

I don't know your theme , but if you locate the right template you should see something like this where you can paste the code provided by the module:

<div class="row">
   <div class="center_column col-xs-12 col-sm-12" id="top_column">
     {hook h="displaySlidersPro" slider="my_slider_name"}
   </div>
</div>

if it keep appearing in every page you can use a condition, this will work (change the slider name):

 

{if $page_name == 'index'}
 {hook h="displaySlidersPro" slider="myslidername"}
{/if}

 

Thank you for your answer!

 

It's not perfectly clear where I need to add these codes. I'm sorry, small knowledge of html css and so on. Is there a tpl file for the theme or..?

Share this post


Link to post
Share on other sites

it is probably "header.tpl" in your theme folder. But I'm not sure because is not the default theme.

in default theme is like this:

<div id="slider_row" class="row">
   <div id="top_column" class="center_column col-xs-12 col-sm-12">
      {hook h="displaySlidersPro" slider="my_slider_name"}<!--*** SLIDER ADDED HERE***-->
      {hook h="displayTopColumn"}
   </div>
</div>

but if you are happy with the actual position and want it to appear just in home only then find in header.tpl:

 

{$HOOK_TOP}

or

{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}

 

and add the slider condition as in my previous post there:

{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}

{if $page_name == 'index'}
   {hook h="displaySlidersPro" slider="myslidername"}
{/if}

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

that is not a table

the table is named "configuration"

inside you shold find a ROW: SLIDERSEVERYWHERE_SETS

 

do not remove the table!

remove that row only if is there

I did as told, I found the folder SLIDERSEVERYWHERE_SETS removed, but it did not work, it now appears:

 

[PrestaShopDatabaseException]

Duplicate column name 'proslider'

 

            ALTER TABLE `ps_category`

            ADD proslider varchar(255) NULL

        

at line 635 in file classes/db/Db.php

 

629.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);

630.         }

631.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))

632.         {

633.             if ($sql)

634.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');

635.             throw new PrestaShopDatabaseException($this->getMsgError());

636.         }

637.     }

638.

639.     /**

Share this post


Link to post
Share on other sites

no problem, extendend tinymce cause no conflict, this is my mistake on line 178,

 

if you open that file and change on line 178:

foreach ($slider as $slide) {
with

foreach ($hooks as $hook) {
the error should go, can you confirm it so i can include this fix in next patch?

 

thank you

 

 

yes it worked, thanks.

 

 

 

 

since I'm here, it might be a known issue, but is it possible that the module is messing with the button's css classes?

 

in the backoffice I see this

 

IpguioR.png

 

which I might be wrong but I remember had different places before.

 

the html of the cancel button is

<a class="btn btn-default" onclick="window.history.back()" href="index.php?controller=AdminCmsContent&token=">

and to align it on the same row of the accept one I have to disable the

vertical-align: middle;

of the

.bootstrap .btn {

in  /admin/themes/default/css/admin-theme.css (somewhere on the 10th row)

Edited by nicusor (see edit history)

Share this post


Link to post
Share on other sites
Hello, I have a little problem. 

If I select a category, the module appears on all categories. This function does not work. 

 

Also, is it possible to select multiple category?  (for exemple: 3 or 6 category)

 

Thank you for helping me 

 

sorry for my english

Share this post


Link to post
Share on other sites

hello everyone, let's go with the answers:
 

I did as told, I found the folder SLIDERSEVERYWHERE_SETS removed, but it did not work, it now appears:
 
[PrestaShopDatabaseException]
Duplicate column name 'proslider'
 
            ALTER TABLE `ps_category`
            ADD proslider varchar(255) NULL
        

at line 635 in file classes/db/Db.php

 
I'm sending you a modified version (check your PM)  can you tell me if it solves your problem?
 
 

since I'm here, it might be a known issue, but is it possible that the module is messing with the button's css classes?
 
in the backoffice I see this
 
IpguioR.png
 
which I might be wrong but I remember had different places before.
 
the html of the cancel button is

<a class="btn btn-default" onclick="window.history.back()" href="index.php?controller=AdminCmsContent&token=">
and to align it on the same row of the accept one I have to disable the
vertical-align: middle;
of the
.bootstrap .btn {
in  /admin/themes/default/css/admin-theme.css (somewhere on the 10th row)

 

 
please what page of backoffice are you in when looking that?
 
 

Hello, I have a little problem. 
If I select a category, the module appears on all categories. This function does not work. 
 
Also, is it possible to select multiple category?  (for exemple: 3 or 6 category)
 

 
not possible to check mutiple categories for now. What version of prestashop are you using?

 

Please double check that no other hook is selected in configuration, like "top" for example and not just the category number.

I'm pretty sure is impossible the same slider to appear in multiple categories with that category option alone... that's why you don't have the multiple categories.

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

hello everyone, let's go with the answers:

...

please what page of backoffice are you in when looking that?

...

 

it's happening only when opening a cms page, the rest of the site looks fine.

thanks

Share this post


Link to post
Share on other sites

it is probably "header.tpl" in your theme folder. But I'm not sure because is not the default theme.

in default theme is like this:

<div id="slider_row" class="row">
   <div id="top_column" class="center_column col-xs-12 col-sm-12">
      {hook h="displaySlidersPro" slider="my_slider_name"}<!--*** SLIDER ADDED HERE***-->
      {hook h="displayTopColumn"}
   </div>
</div>

but if you are happy with the actual position and want it to appear just in home only then find in header.tpl:

 

{$HOOK_TOP}

or

{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}

 

and add the slider condition as in my previous post there:

{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}

{if $page_name == 'index'}

   {hook h="displaySlidersPro" slider="myslidername"}

{/if}

Thanks for your fast reply. So I need to put the codes both in de header.tpl? I did and now I have the slider twice on the homepage and still on every other page.

Share this post


Link to post
Share on other sites

Thanks for your fast reply. So I need to put the codes both in de header.tpl? I did and now I have the slider twice on the homepage and still on every other page.

 

For some reason there's now only one slider on the homepage. Still have the sliders on the other pages. Even tried to edit the code {if $page_name == 'index'} the part $page_name into the page names I don't want the slider to be on. Slider still on every page.

Share this post


Link to post
Share on other sites

I found a bug, maybe known, in the new version: with the save and resize function in the backoffice the slides become black jpegs, and the controls forward/backward seems misplaced

 

 

PS: the auto center and side by side functions are just awesome B) (not tested yet)

Share this post


Link to post
Share on other sites

For some reason there's now only one slider on the homepage. Still have the sliders on the other pages. Even tried to edit the code {if $page_name == 'index'} the part $page_name into the page names I don't want the slider to be on. Slider still on every page.

 

{if $page_name == "index"} means: do this only in home page! (it is named index)

 

maybe I missed something, but if you want it on top and only in home page you have to create the slider and DESELECT every hook in configuration page

 

Screen_Hunter_02_Jul_23.jpg

 

this way there is NO slider  anywhere

 

now you need to do like i said, copy the custom hook in your header.tpl:

 

{if $page_name == 'index'}

   {hook h="displaySlidersPro" slider="myslidername"}

{/if}

 

so you have the slider only in your home page but in the header.. hope it is more clear now :P

Share this post


Link to post
Share on other sites

I found a bug, maybe known, in the new version: with the save and resize function in the backoffice the slides become black jpegs, and the controls forward/backward seems misplaced

 

 

PS: the auto center and side by side functions are just awesome B) (not tested yet)

 

did you updated from an older version maybe (less than 1.6.2)?

 

the black image is normal because the resize method has been changed completely from this version, I mean is not "normal", but I know it happens when you upload and resize images with an old version than resize again with version 1.6.2 or more. (it will not happen again in next versions)

 

to fix it you need to reupload those images. Once reuploaded with the new version you can resize it all the times you want without problem... or at least, that is how is intentend to be :ph34r:

 

this happens because before every image was treated like if it was a .png file, even if it was really a jpg. pratically you had png images with jpg extension, but that is not good. From 1.6.2 onward that will not happen again and the module will respect the mime type of the images without messing it anymore.

The only problem is when you resize an image with .jpg extension but it really is a png.. you get black images. ^_^

Edited by misthero (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites
...

to fix it you need to reupload those images. Once reuploaded with the new version you can resize it all the times you want without problem... or at least, that is how is intentend to be :ph34r:

...

 

 HvhThkD.gif mannaggia a te yB7rqSi.gif

 

 

back on topic, yes it works, at least I tried a couple of resizes an it works. it still remains a little problem with control buttons shifted to left due to the

.rte ul {
  list-style-type: disc;
  padding-left: 15px; }

in the global.css of the default theme. overriding it somehow should be perfect.

Share this post


Link to post
Share on other sites

new small update on page 1:  Version 1.6.27

 

fixes cms page buttons display (thanks @nicusor)

fix for a rare issue if uninstall goes wrong and the module cannot be installed again (issue found by intermediadorpopular)

Share this post


Link to post
Share on other sites

it didn't worked. the strange thing is that is ok with the page with only one slider, while with 3 sliders is misplaced.

if I saw it right you added

.SEslider.slider_name
{
padding:0;
}

for the first div generated by the module

<div style="max-width: 550px;" class="SEslider seslider_slider_name mode_fade  sliderFigo center">

which I think is going lost with the second div. but I managed to fix it by adding

 
.se-viewport ul {
    padding: 0;
}

to my global.css

 

 

 

 

now I have these errors

 

 

Notice alla linea 478 nel file /home/user/domains/domain.it/public_html/modules/homesliderpro/homesliderpro.php
[8] Undefined index: CMS

Notice alla linea 515 nel file /home/user/domains/domain.it/public_html/modules/homesliderpro/homesliderpro.php
[8] Undefined index: CAT

when opening the config page from the modules section

Share this post


Link to post
Share on other sites

it didn't worked. the strange thing is that is ok with the page with only one slider, while with 3 sliders is misplaced.

if I saw it right you added

.SEslider.slider_name
{
padding:0;
}

for the first div generated by the module

<div style="max-width: 550px;" class="SEslider seslider_slider_name mode_fade  sliderFigo center">

which I think is going lost with the second div. but I managed to fix it by adding

.se-viewport ul {
    padding: 0;
}

to my global.css

 

I really don't know what you are triyng to do and what you are referring to

 

about the error how did you installed the new version?

 

ps: if you are italian you can ask for support on the italian support page: http://www.prestashop.com/forums/index.php?showtopic=343799

Share this post


Link to post
Share on other sites

I really don't know what you are triyng to do and what you are referring to

 

about the error how did you installed the new version?

 

ps: if you are italian you can ask for support on the italian support page: http://www.prestashop.com/forums/index.php?showtopic=343799

 

regarding the esthetically problem, I don't know how to explain it better, even in italian. if you send me a pm with your ip I can give you the link of the pages (the site is not online atm) so you can see the code.

anycase my fix works for me.

 

without my fix: http://imgur.com/FQedhjT.png

with my fix: http://imgur.com/2TaG70k.png

 

if someone needs it, I changed a little bit and the fix consist in

.se-viewport ul {
    padding: 0; }

.se-wrapper .se-prev {
    left: 10px; }

to be added in global.css

 

now there is still an imperceptible problem of buttons not centered in vertical, but this is nothing :ph34r:

 

 

about the errors, first I just uploaded the zip with those 2 errors, now I tried by removing the module with a clean install with manual modification to cms and category tpl's. now I have a couple more

 

Notice alla linea 73 nel file /home//domains/.it/public_html/modules/homesliderpro/homesliderpro.php

[8] Undefined index: version

 

Notice alla linea 75 nel file /home//domains/.it/public_html/modules/homesliderpro/homesliderpro.php

[8] Undefined index: version

 

Notice alla linea 134 nel file /home//domains/.it/public_html/modules/homesliderpro/homesliderpro.php

[8] Undefined index: need_update

 

Notice alla linea 478 nel file /home//domains/.it/public_html/modules/homesliderpro/homesliderpro.php

[8] Undefined index: CMS

 

Notice alla linea 515 nel file /home//domains/.it/public_html/modules/homesliderpro/homesliderpro.php

[8] Undefined index: CAT

which popups when entering in the config page from modules list or playing whith the 2 checkboxes for enabling slider position and for sizing and timing

Share this post


Link to post
Share on other sites

Greetings Misthero.

I have a static image in the footer with 2 different emails and through the function of "draw areas" I could redirect to the mailto:  command.

Works perfect; thank you very much

 

 

Google translate :) :)

Share this post


Link to post
Share on other sites

hello everyone, let's go with the answers:

 

 

I'm sending you a modified version (check your PM)  can you tell me if it solves your problem?

 

 

Problem solved with this new version, working properly. 

Share this post


Link to post
Share on other sites

Hi there,

o

Was hoping you could help me integrate your module into my unique situation.  I use a module called "HTML Box Pro" which basically creates html boxes on the home page instead of the standard prestashop elements.  Check it out:  www.wellnessmediaresources.com

 

Anyways, what I'd like to do is incorporate a slider into one of the boxes, so the most convenient would be to hook the slider within an html box.  Couldn't find anything relating to this in the thread so far, any help would be greatly appreciated.

 

Thank you!

Share this post


Link to post
Share on other sites

Hi there,

o

Was hoping you could help me integrate your module into my unique situation.  I use a module called "HTML Box Pro" which basically creates html boxes on the home page instead of the standard prestashop elements.  Check it out:  www.wellnessmediaresources.com

 

Anyways, what I'd like to do is incorporate a slider into one of the boxes, so the most convenient would be to hook the slider within an html box.  Couldn't find anything relating to this in the thread so far, any help would be greatly appreciated.

 

Thank you!

 

hello I have downloaded the free verison of html box and been experimenting for a couple of hours, in the end I got a shortcode almost working inside the html box editor but with some bugs, than I quit when I saw that was it becoming something complex requiring modifications on both modules and php knowledge, too much to edit and debug and you would lose the ability to update both modules in future.

 

My advise is to use a custom hook provided by SlidersEverywhere inside the html box tpl file, you will not get the slider exactly "inside" the content, but right before or after.

 

Is the pro version able to show 2 html boxes on the same hook? If yes you could be able to slpit your code to show a first part of your html, than a slider, than another html box

 

if you show me with a screenshot exactly where you want the slider to appear I can maybe help you with that a little more :)

Share this post


Link to post
Share on other sites

New small bugfix version available on page 1 (v1.6.28)

 

fixed a bug when changin permissions in configuration page (thx nicusor for finding it)

fixed wrong arrows distances and a couple of other css rules

  • Like 1

Share this post


Link to post
Share on other sites

hello I have downloaded the free verison of html box and been experimenting for a couple of hours, in the end I got a shortcode almost working inside the html box editor but with some bugs, than I quit when I saw that was it becoming something complex requiring modifications on both modules and php knowledge, too much to edit and debug and you would lose the ability to update both modules in future.

 

My advise is to use a custom hook provided by SlidersEverywhere inside the html box tpl file, you will not get the slider exactly "inside" the content, but right before or after.

 

Is the pro version able to show 2 html boxes on the same hook? If yes you could be able to slpit your code to show a first part of your html, than a slider, than another html box

 

if you show me with a screenshot exactly where you want the slider to appear I can maybe help you with that a little more :)

 

 

Hi there, thank you so much for looking into this for me!  My ideal situation would be to replace the box near the top that says "Chiropractic Focused Brochures" with the slider.  I tried putting the short code into the html box pro .tpl files but it didn't seem to work.  The slider either didn't show up at all or it showed up in multiple locations on the home page depending on where I inserted the code.  However I'm not a programmer so maybe there's a way to alter the .tpl file so I can be more specific. The problem is that the html boxes are grouped into 3 columns - and what I really need is to have the slider affect only one column instead of pushing down all the rest.  This is tough to do unless I can hook into html.  

 

Thanks for the help!

 

Chad

Share this post


Link to post
Share on other sites

ok and explain me something, every element in a colum, every image is a html box? or 1 html box with many images?

 

how many html boxes are you using at the moment?

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Each box is an html box, so I think it's possible to have multiple images in each box. Right now I'm using one html box for each image.

Share this post


Link to post
Share on other sites

I tought you needed something different and more complex..

isn't easier to add the code for the slider directly in your theme tpl?

 

{hook h="displaySlidersPro" slider="sample"}

 

what hook are you using for the box "Chiropractic Focused Brochures"?

 

another more complex solution is to add some code to the home box tpl, you have to consider that there is only 1 tpl that gets used multiple times so to know exactly when to show the slider you should use a counter like this:

{if !isset($count)}
    {assign var="count" value="0" scope="global"} 
{else}
    {assign "count" $count+1} 
{/if}
{if $count == 5}  <!-- we are in the box number 5 -->
  {hook h="displaySlidersPro" slider="sample"}
{/if}

it is not tested but the idea is to count how many blocks have been rendered and display the slider only after a specific number of boxes, you have to figure out the correct number anyway.

 

but I think the the first solution should work, since it is the first element of the center column, isn't it?

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

I tought you needed something different and more complex..

isn't easier to add the code for the slider directly in your theme tpl?

 

{hook h="displaySlidersPro" slider="sample"}

 

what hook are you using for the box "Chiropractic Focused Brochures"?

 

another more complex solution is to add some code to the home box tpl, you have to consider that there is only 1 tpl that gets used multiple times so to know exactly when to show the slider you should use a counter like this:

{if !isset($count)}
    {assign var="count" value="0" scope="global"} 
{else}
    {assign "count" $count+1} 
{/if}
{if $count == 5}  <!-- we are in the box number 5 -->
  {hook h="displaySlidersPro" slider="sample"}
{/if}

it is not tested but the idea is to count how many blocks have been rendered and display the slider only after a specific number of boxes, you have to figure out the correct number anyway.

 

but I think the the first solution should work, since it is the first element of the center column, isn't it?

 

Ok so when I add the {hook h="displaySlidersPro" slider="sample"}  hook into the index.tpl of my theme, the position seems to work where I need it, however the slider options don't seem to be working.  For instance, the images are now stacked on top of each other instead of cycling through the slider.  Also, the spacing options do not seem to be updating.  Any advice from here?  Thanks again for the great support!

Share this post


Link to post
Share on other sites

you have errors in your javascript, those will prevent this module and many other from working:

SH_000_2014_07_27_21_29_49.jpg

Share this post


Link to post
Share on other sites

Hi please can you help me i have this fatal error modules/homesliderpro/homesliderpro.php on line 465, Nice module

Share this post


Link to post
Share on other sites

Hi Misthero,

 

Thanks for a great module.

 

Is there a way to format the text (colour, font, font size, new line) in the Title and Description fields of an area?

 

Cheers

Share this post


Link to post
Share on other sites

the area description accepts html, you have the 3 default styles and colors, if none is of your liking you have to modify the css.

 

the area have class "areaslide" and have additional classe like "areaslide simple light" depending on the style

the title have class "areatitle"

the description have class "areadesc"

 

so if you want to change the font size and color for the title you can do something like this

.SEslider .areatitle {
   color:red;
   font-size:30px;
}
Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

Thanks for nice free module, still learning how much it have options, works great on PS1.6.0.8 - www.rcstudio.cz

Cheers ;)

Share this post


Link to post
Share on other sites

Do this slider works on multi store 1.6.0.8 as I can only activate this module on one store.

 

Can any one help on this

Share this post


Link to post
Share on other sites

hello, It should work in multistore, but you have to create the sliders for each store, sliders are not shared. What is your issue? Do you get any errors?

Share this post


Link to post
Share on other sites

Dear,

 

When I select the home hook...the module is placed in the bottom.

I checked positiions etc but no succes. Can you please help?

 

I want the module to show on top above the orignal home slider!

Not on other pages.

 

 

thanks!

 

najeeb

 

Share this post


Link to post
Share on other sites

I dont want any store to share as all stores are different.

I had activated from the back office of one store.it got activated but when I activated on other store it does not show up as it showed on 1 st shop

I dont want any store to share as all stores are different.

I had activated from the back office of one store.it got activated but when I activated on other store it does not show up as it showed on 1 st shop

Share this post


Link to post
Share on other sites

I dont want any store to share as all stores are different.

I had activated from the back office of one store.it got activated but when I activated on other store it does not show up as it showed on 1 st shop

Share this post


Link to post
Share on other sites

that is normal, it creates the demo slider only when installed, so when you activated the second store the demo wasn't dupicated.

 

try going to preferences->sliders Everywhere for you second store and create a new slider,  upload at least 1 image and activate 1 hook. Does this work?

Share this post


Link to post
Share on other sites

Dear,

 

When I select the home hook...the module is placed in the bottom.

I checked positiions etc but no succes. Can you please help?

 

I want the module to show on top above the orignal home slider!

Not on other pages.

 

 

thanks!

 

najeeb

 

 

are you using the default theme?

what prestashop version?

 

on prestashop 1.6 default theme hook home is below the original slider, the original is in top-column, and above it the hook is called "top"

 

everything depends on the theme you use

Share this post


Link to post
Share on other sites

are you using the default theme?

what prestashop version?

 

on prestashop 1.6 default theme hook home is below the original slider, the original is in top-column, and above it the hook is called "top"

 

everything depends on the theme you use

 

Hi,

 

I am using the default theme (1.6.0.8). It always is at the bottom!

And when i select TOP...then i get it on every category which i don;t want.

Also I want to change the padding to the left and right so that it fits with the other content!

 

Can you please help me out?

 

 

Thanks!

 

Najeeb

Edited by nqa300 (see edit history)

Share this post


Link to post
Share on other sites

Hi Misthero,

 

I'm able to save new slides but I'm getting the following error when trying to save my existing slides after making changes:

 

invalid filename

invalid filename

The image is not set.

 

Could you please help?

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

 

I am using the default theme (1.6.0.8). It always is at the bottom!

And when i select TOP...then i get it on every category which i don;t want.

Also I want to change the padding to the left and right so that it fits with the other content!

 

Can you please help me out?

 

 

Thanks!

 

Najeeb

 

yes, the "home" hook and "top column" hook only exists in home page, "top" is in every page of your shop, you can still use the custom hook with a condition to show it on top, but did you tried "top column" and than change the position from backoffice?

 

they are positioned like this

 

TOP (every page)

 

TOP COLUMN (homepage only, where the default slider is in default ps 1.6)

 

HOME (homepage only, everything in here will be always shown after top and top column)

 

for the padding you have the vertical and horizontal spacing value you can change.

 

 

Hi Misthero,

 

I'm able to save new slides but I'm getting the following error when trying to save my existing slides after making changes:

 

invalid filename

invalid filename

The image is not set.

 

Could you please help?

 

Thanks

 

thank you for reporting, but i cannot reproduce your errors, can you please help me a little more?

what version of prestashop?

what are the steps You do when you get the errors?

how is the image file named?

Edited by misthero (see edit history)

Share this post


Link to post
Share on other sites

maybe I got it, do you have blank spaces in you image file name??

 

ex: "my image is beautyful.jpg"

 

try uploading the same image without spaces "my_image_is_beautyful.jpg

Share this post


Link to post
Share on other sites

maybe I got it, do you have blank spaces in you image file name??

 

ex: "my image is beautyful.jpg"

 

try uploading the same image without spaces "my_image_is_beautyful.jpg

 

Thanks. I do have space in my filename.

I will try and keep you posted.

Share this post


Link to post
Share on other sites

Thanks. I do have space in my filename.

I will try and keep you posted.

 

Thanks a lot. It works when using filenames without blank space.

Share this post


Link to post
Share on other sites

hi

 

if a new update is ready,would it go to the list of need-upgrade modules?

Share this post


Link to post
Share on other sites

nope because this module is not on "addons.prestashop.com" and I cannot publish FREE MODULES, only paid..... :(

 

(I think only partners can publish free modules there)

  • Like 2

Share this post


Link to post
Share on other sites
Hello Misthero
 
I have just discovered that your module (or maybe my template, hope you can help me to understand this), assigns the tag h1 to the class slidetitle.right (I suppose it is the same for slide title left or whatever)
 
This is fine for an overall eye catching but makes some problems for SEO purposes as there should only one h1 tag per each page, but there would be more wherever your module is showing on.
 
How can I amend this feature, forcing the slide title to be h2 and then amending character size manually ?

To let me explain better this is a portion of the code from my homepage

<li class="primo active se-clone" style="padding: 0px; float: left; list-style: none outside none; position: relative; width: 740px; margin-right: 5px;" title="High quality, highly evocative European fragranced jar candles. Substantial frosted glass jars. ">
<a class="SElink" href="http://www.spellgifts.com/139-bolsius-scented-jar-candles">
<img class="SEimage" width="740" height="340" alt="Bolsius Scented Jar Candles" src="/modules//homesliderpro/images/resize_jarc_a.jpg">
</a>
<span class="slide_description">High quality, highly evocative European fragranced jar candles. Substantial frosted glass jars. </span>
<h1 class="slidetitle right">Bolsius Scented Jar Candles</h1>
</li>

This piece of code refers to the last slide loaded on the homepage, but it's exactly the same of all the others.

Hope to have explained well my concern.

Thank You 
 

Share this post


Link to post
Share on other sites

 

Hello Misthero

 

I have just discovered that your module (or maybe my template, hope you can help me to understand this), assigns the tag h1 to the class slidetitle.right (I suppose it is the same for slide title left or whatever)

 

 

yes you are right, thank you for noticing it.

anyway if your theme is html 5 and you correctly divide in sections your pages contents that is not really a SEO issue anymore, I will  replace it with h2 in next update following your hint, since this module have to be compatible with prestashop 1.5 wich default theme doesn't use html5, but I invite you the read this intresting article about the matter :)

 

http://webdesign.tutsplus.com/articles/the-truth-about-multiple-h1-tags-in-the-html5-era--webdesign-16824

 

ps: you don't need to wait the next update, if you want you can edit the file:

/modules/homesliderpro/views/templates/hook/homesliderpro.tpl around line 22 changing the h1 with h2

Edited by misthero (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

yes, the "home" hook and "top column" hook only exists in home page, "top" is in every page of your shop, you can still use the custom hook with a condition to show it on top, but did you tried "top column" and than change the position from backoffice?

 

they are positioned like this

 

TOP (every page)

 

TOP COLUMN (homepage only, where the default slider is in default ps 1.6)

 

HOME (homepage only, everything in here will be always shown after top and top column)

 

for the padding you have the vertical and horizontal spacing value you can change.

 

 

 

thank you for reporting, but i cannot reproduce your errors, can you please help me a little more?

what version of prestashop?

what are the steps You do when you get the errors?

how is the image file named?

 

Hi,

 

I tried top column. But when I do this, I also get the slider on all other pages.

I only want it on the home page. How should I do this?

 

 

Thanks!

 

najeeb

Share this post


Link to post
Share on other sites