WebsiteBaker Support (2.13.x) > Modules
MiniSlides - replacement for MiniSlider
VSG:
--- 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: ---use vendor\phplib\Template;
--- End code ---
--- End quote ---
Perfect, thanks!
VSG:
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
Ruud:
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.
Ruud:
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/
hgs:
--- 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: ---use vendor\phplib\Template;
--- End code ---
--- End quote ---
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: ---if (!class_exists('Template')){require WB_PATH.'/include/phplib/template.inc';}
--- End code ---
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)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version