WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • MiniSlides - replacement for MiniSlider
  • Print
Pages: [1] 2   Go Down

Author Topic: MiniSlides - replacement for MiniSlider  (Read 41008 times)

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
MiniSlides - replacement for MiniSlider
« on: February 10, 2022, 04:14:01 PM »
Hello community,

I just released v 1.0 of my new MiniSlides module.
It is meant to be a replacement for the old MiniSlider module.

Download: https://dev4me.com/modules-snippets/opensource/minislides/
Demo's: https://dev4me.com/modules-snippets/opensource/minislides/demo/

Have fun with it.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: MiniSlides - replacement for MiniSlider
« Reply #1 on: February 10, 2022, 06:19:58 PM »
Thanks for sharing
Short test with WB 2.13.0 php 7.4
Install = ok
setting fronthem = ok
Upload images = ok
FE test = ok
Delete images one by one = ok
ErrorLog = empty; Setting to development
php 8.0 = ok for all tests
« Last Edit: February 10, 2022, 06:40:08 PM by hgs »
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: MiniSlides - replacement for MiniSlider
« Reply #2 on: February 11, 2022, 11:51:53 AM »
Works  (Y)
Again a super module by Ruud. Thanks man!

For the left/right arrows i had to add data: to the CSP default-src.

This module is now also in our Addons Repo: miniSlides
Thanks to Harald (hgs)
« Last Edit: February 11, 2022, 12:06:36 PM by dbs »
Logged
https://onkel-franky.de

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: MiniSlides - replacement for MiniSlider
« Reply #3 on: February 11, 2022, 02:55:36 PM »
If you choose Create square thumbnails: "none"
a error occours in "Current Images" (after upload and Refresh images);

"Cropping /var/www/.../media/slides/1252/thumbs/bild1.jpg > none
There was an uncatched exception
 Division by zero
 in line (124) of (/modules/minislides/functions.php):"
Logged
https://onkel-franky.de

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: MiniSlides - replacement for MiniSlider
« Reply #4 on: February 11, 2022, 04:55:18 PM »
Quote from: dbs on February 11, 2022, 02:55:36 PM
If you choose Create square thumbnails: "none"
a error occours in "Current Images" (after upload and Refresh images);
Thanks for reporting:
The problem is fixed in v1.0.1. (https://dev4me.com/modules-snippets/opensource/minislides/)
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: MiniSlides - replacement for MiniSlider
« Reply #5 on: February 11, 2022, 05:24:38 PM »
Fixed  (Y) :)
Logged
https://onkel-franky.de

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: MiniSlides - replacement for MiniSlider
« Reply #6 on: February 13, 2022, 06:57:29 AM »
current version also in our Addons Repo: miniSlides
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: MiniSlides - replacement for MiniSlider
« Reply #7 on: February 18, 2022, 10:13:18 PM »
Thank you SO much again Ruud! It is really great that you keep creating modules to make WB even better every time. I love the cover flow :-) Business is slow right now, but the next project with your modules will mean another donation for sure!
Logged

Offline VSG

  • Posts: 276
Re: MiniSlides - replacement for MiniSlider
« Reply #8 on: July 19, 2022, 05:28:51 PM »
Hi Ruud,

and thank you very much for this module.
However, when I try to add a MiniSlides-section, I get this error message:

"There was an uncatched exception
Class 'Template' not found
in line (30) of (/modules/minislides/modify.php)"

Any idea, what's causing this?
I'm running WebsiteBaker 2.13.2.

Thanks in advance and best regards,
VSG
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: MiniSlides - replacement for MiniSlider
« Reply #9 on: July 19, 2022, 05:47:54 PM »
This is a WB 2.13 thing.
Add to modify.php as first line (below the comment area):
Code: [Select]
use vendor\phplib\Template;
Logged
https://onkel-franky.de

Offline VSG

  • Posts: 276
Re: MiniSlides - replacement for MiniSlider
« Reply #10 on: July 19, 2022, 05:51:27 PM »
Quote from: dbs on July 19, 2022, 05:47:54 PM
This is a WB 2.13 thing.
Add to modify.php as first line (below the comment area):
Code: [Select]
use vendor\phplib\Template;

Perfect, thanks!
Logged

Offline VSG

  • Posts: 276
Re: MiniSlides - replacement for MiniSlider
« Reply #11 on: July 19, 2022, 06:33:08 PM »
Hi Ruud,

now that I've been able to test the module, I have to say I love the simplicity and and the design!
But I don't understand how captions are supposed to work. The Text I put in the "Description"-field is displayed above the slider (all lines at once). Is that what it is supposed to do?
With MiniSlider it was possible to add a caption for each image (one line for each image).

Am I doing something wrong or is such a feature possible or planned for the future?

Thanks for your effort and best regards,
VSG
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: MiniSlides - replacement for MiniSlider
« Reply #12 on: July 19, 2022, 11:23:20 PM »
The title and description are used as text/content output above the slider..
The captions are set in the "Current Images".
Click the green pencil icon to set the captions.



Use CSS (frontend.css) to position/style the captions as you like.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: MiniSlides - replacement for MiniSlider
« Reply #13 on: July 20, 2022, 12:05:57 PM »
Updated the module (v1.0.3) with a fix for the Template problems. Working on WB2.13 but also on previous versions.

https://dev4me.com/modules-snippets/opensource/minislides/
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: MiniSlides - replacement for MiniSlider
« Reply #14 on: July 20, 2022, 07:27:44 PM »
Quote from: dbs on July 19, 2022, 05:47:54 PM
This is a WB 2.13 thing.
Add to modify.php as first line (below the comment area):
Code: [Select]
use vendor\phplib\Template;

The better solution, and thus also compatible with the fork, is what Ruud might be willing to implement like this
Insert the following line before the new template
Code: [Select]
if (!class_exists('Template')){require WB_PATH.'/include/phplib/template.inc';}
This should also work for other 3 part modules if the error occurs.

our template.inc is quasi an adaptor to our php lib class

And sorry for the late information about the changes in WB 2.13.2

Translated with www.DeepL.com/Translator (free version)
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: MiniSlides - replacement for MiniSlider
« Reply #15 on: January 09, 2024, 12:33:44 PM »
Quote from: Ruud on July 19, 2022, 11:23:20 PM
The title and description are used as text/content output above the slider..
The captions are set in the "Current Images".
Click the green pencil icon to set the captions.



Use CSS (frontend.css) to position/style the captions as you like.

An error has popped up when editing the captions on images. Here's what I did:

Clicked on the green pencil to add a caption, and clicked on Save' in the pop-up.
Decided now to remove the captions in the same way, but when clicking 'Save', the captions remain.
I can edit the captions and the new description saves.
Deleting the caption completely (leaving an empty caption field) is not working.

Regards,
Seanie.
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: MiniSlides - replacement for MiniSlider
« Reply #16 on: January 09, 2024, 12:52:41 PM »
Confirmed.
Try to replace your text with a hyphen and save that. For me the caption was gone.
Logged
https://onkel-franky.de

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: MiniSlides - replacement for MiniSlider
« Reply #17 on: January 09, 2024, 12:56:37 PM »
Quote from: dbs on January 09, 2024, 12:52:41 PM
Confirmed.
Try to replace your text with a hyphen and save that. For me the caption was gone.

The hyphen worked! I tried fullstop '.' and other symbols, but not the hyphen. The hyphen works.

Many thanks!
Seanie.
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: MiniSlides - replacement for MiniSlider
« Reply #18 on: January 09, 2024, 01:19:55 PM »
Fun fact, the hyphen was my first try.  ;D
Logged
https://onkel-franky.de

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: MiniSlides - replacement for MiniSlider
« Reply #19 on: January 09, 2024, 01:34:37 PM »
Sorry about not telling this anywhere.
I now added this as a tip on my website :-)
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: MiniSlides - replacement for MiniSlider
« Reply #20 on: January 09, 2024, 06:12:21 PM »
Thank you Ruud

Is a fix planned?
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: MiniSlides - replacement for MiniSlider
« Reply #21 on: January 09, 2024, 10:11:19 PM »
Quote from: hgs on January 09, 2024, 06:12:21 PM
Is a fix planned?

No, not really.
If I remember correctly the (sweetalert) popup script also sends an empty input value when the cancel is clicked. So in effect cancel would clear the caption.
This workaround at least allows to clear it only when you want to do that.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline masju

  • Posts: 231
  • Gender: Male
Re: MiniSlides - replacement for MiniSlider
« Reply #22 on: October 22, 2024, 06:56:57 PM »
Hi! I have an issue with that module. When I click on the green pencil, the console says:

Code: [Select]
Uncaught TypeError: $() is null
    textarea https://aaaaaaa.com/modules/minislides/backend.js:2060
    textarea https://aaaaaaa.com/modules/minislides/backend.js:2060
    Et https://aaaaaaa.com/modules/minislides/backend.js:2060
    qt https://aaaaaaa.com/modules/minislides/backend.js:2060
    Rt https://aaaaaaa.com/modules/minislides/backend.js:2060
    _main https://aaaaaaa.com/modules/minislides/backend.js:2060
    r https://aaaaaaa.com/modules/minislides/backend.js:2060
    i https://aaaaaaa.com/modules/minislides/backend.js:2060
    fire https://aaaaaaa.com/modules/minislides/backend.js:2060
    doPrompt https://aaaaaaa.com/admin/pages/modify.php?page_id=5:559
    init198 https://aaaaaaa.com/admin/pages/modify.php?page_id=5:511
    jQuery 2
        dispatch
        handle

A popup keeps blinking, and I can't edit the foto.

Could you help, please?
masju
« Last Edit: October 22, 2024, 07:06:25 PM by masju »
Logged

Offline masju

  • Posts: 231
  • Gender: Male
Re: MiniSlides - replacement for MiniSlider
« Reply #23 on: October 22, 2024, 07:16:35 PM »
I just found out, that this problem only appears in firefox.
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: MiniSlides - replacement for MiniSlider
« Reply #24 on: October 23, 2024, 01:26:06 PM »
cannot confirm this - do you use a older jquery-version?
Logged

  • Print
Pages: [1] 2   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • MiniSlides - replacement for MiniSlider
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2