WebsiteBaker Support (2.11.x) > Modules

smoothgallery

<< < (5/13) > >>

dbs:
In module smoothgallery rename the frontend.js to frontend_body.js
I think the order of the loaded files is not correctly at the moment.
- frontend.js
- mootools.js
- jd.gallery.js

frontend.js should be the last. through renaming to frontend-body.js it will loaded later.
In Admin-Tools > Output Filter > should be checked FrontendBodyJs

sebigbos:
@evaki: das modul ist bei mir auf der testseite ebenfalls "nackt", ich habe ja extra frisch deine version installiert. allerdings war der wb2.12 früher ein wb2.8.3

@dbs:renamed the frontend.js to frontend_body.js. the module disappears completely. Didn´t change the order of the loaded files because I don´t know where. In the index.php of the template or somewhere within the module?

checked FrontendBodyJs. There is know a link (pencil) to switch to  the backend

evaki:
Naja, die Frage ist, warum die Quelltextanzeige Deiner Testseite die o.a. Details in <head></head> nicht zeigt.
MfG. Evaki

jacobi22:

--- Quote ---@dbs:renamed the frontend.js to frontend_body.js. the module disappears completely. Didn´t change the order of the loaded files because
--- End quote ---

frontend.js will load in the head-Area, frontend_body.js at the end of the page as last step
rename the file frontend.js was not the solution, because, the call of the section start's the smoothgallery, but the definition for the function come's at the end - result is a reference error -rollGalleries is not defined

the submitted module version 1.0.7 (see Post in the top) has some small errors in language variables and for mysql strict mode with the effect, that you have no module settings, if you use mysql-strict-mode - result is a full error log and it's not possible to add title etc or change some settings. to change the gallery title is a simple test for the module settings in the database, is it possible to change the title, the settings are okay

important to know: the module needs resized picture for the defined width & height (see module settings) or its possible, that the original (bigger) pic is hidden behind your normal content or outside from this content. Set the option "Show image direct link/Originalbild anzeigen" to NO to be sure, that the script use the automatic and included resizer
be sure, that you clear the cache after some mistakes  or try at without this cache

in the attachement a repaired module version 1.1.0, tested with WB 2.12 and PHP 7.2.9 in different browsers.
Here the module settings -> https://i.gyazo.com/3dbbf7be9cda1d1fbea42170c1aa4999.png
it's recommended, to deinstall the old module first

works with frontend.js (like the original), with and without activates register_frontend_m odfiles("jquery"), with or without activated filters

evaki:
Schön, war soeben mit meinem Update v1.0.8 fertig.
Machte aber trotzdem Spaß. Wichtig nur, daß man dranbleibt!
(Irgendeine Macke könnte es noch haben. Im Moment wurschtel ich alleine hier, daher....)
MfG. Evaki

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version