New Zenner
- Join Date:
- Jun 2009
- Posts:
- 31
- Plugin Contributions:
- 0
Frontpage Slideshow [support thread]
No core files altered.
Tested for zen cart 1.3.8, 1.3.9
New Zenner
Zen Follower
sport_billy:
This module implements a basic Jquery slideshow for displaying slides with prices at website's main page, with an admin panel for inserting/updating/deleting slides and their prices.
No core files altered.
Tested for zen cart 1.3.8, 1.3.9
New Zenner
New Zenner
Zen Follower
New Zenner
Zen Follower
New Zenner
Deceased
Deceased
<script type="text/javascript" src="includes/templates/pure_black/jscript/jscript_easySlider.js"></script>New Zenner
frank18:
Take care when installing this mod.
The file SITE/includes/languages/YOUR_LANGUAGE/html_includes/YOUR_TEMPLATE/define_main_page.php needs to be merged with an existing file define_main_page.php
Then in the same file define_main_page.php on/around line 13 the template name is hard coded:
<script type="text/javascript" src="includes/templates/pure_black/jscript/jscript_easySlider.js"></script>
Suggest you update your installation instructions and possibly look at replacing the hard coded template name.
New Zenner
ngauto:
sport_billy thank you for this add-on. I installed it and have it working. I have two questions though.
1)Everything works great when I add an image but when I want to delete one of the slides I get an error message:
"1054 Unknown column 'slideshow.image' in 'where clause'
in:
[DELETE FROM zen_slideshow WHERE slideshow.image='PICT00022.jpg']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."
2)Is there a way to adjust the slide speed?
Thanks again, this add-on was very helpful!
$slideshow_query = "DELETE FROM " . TABLE_SLIDESHOW. " WHERE slideshow.image='$slide_remove'";$slideshow_query = "DELETE FROM " . TABLE_SLIDESHOW. " WHERE " . TABLE_SLIDESHOW. ".image='$slide_remove'";New Zenner
ngauto:
2)Is there a way to adjust the slide speed?
New Zenner
Deceased
sport_billy:
The updated version is available to download from here
Totally Zenned
New Zenner
sport_billy:
In order to adjust slide speed open templates/YOUR_TEMPLATE/jscript/jscript_easySlider.js and edit line 52.
The speed is in milliseconds.You might have to clean your browser's cache in order to see the change effects.
I have submitted an updated version of the module with fixed the bugs you mentioned and added the options to adjust speed and other slideshow settings at the define_main_page.php
I hope it is ready for download soon.
Zen Follower
New Zenner
New Zenner
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.