extras-evolution / maxigallery Goto Github PK
View Code? Open in Web Editor NEWThis project forked from minivalley/maxigallery
This project forked from minivalley/maxigallery
PASTE THE CONTENTS OF THIS FILE INTO MODx WHEN INSTALLING THIS SNIPPET Snippet Name: MaxiGallery Short Description: Advanced imagegallery snippet Version: 0.6 Author: doze <[email protected]> Note: ----- You can use this snippet in anyway you want. Modify it's code, lend some parts of it or whatever you want to do with it. If you are going to make changes to some other files that this snippet uses, make sure you keep the author informations intact at the code. Copyright & Licencing: ---------------------- GNU General Public License (GPL) (http://www.gnu.org/copyleft/gpl.html) Extra Credits: -------------- Originally based on etoGal v1.1 beta by Frank Siegert <[email protected]> and Mike Finley <[email protected]> http://www.efikim.co.uk/ (GPL) PhpConcept Library - Zip Module 2.5 by Vincent Blavet (LGPL) http://www.phpconcept.net Thumbnail and Watermarking (v1.48) is based on a class made by Emilio Rodriguez (GPL) <[email protected]> http://www.phpclasses.org/ Dropshadow (v2.0.0) and Imagemask (v1.0.0) effects are based on work done by Andrew Collington (GPL) <[email protected]> http://php.amnuts.com/ Slidebox v0.4.1 feature is a based on Slidebox by Olivier Ramonat (LGPL) <[email protected]> http://olivier.ramonat.free.fr/slidebox/ Lightbox v2.0 feature is based on work of Lokesh Dhakar (Creative Commons Attribution 2.5 License) <[email protected]> http://www.huddletogether.com/ Slimbox 1.31 (MIT Licence) Christophe Beyls (http://www.digitalia.be) JonDesign's SmoothGallery v1.0.1 (GPL) <[email protected]> http://smoothgallery.jondesign.net/ Miscallaneous code is also contributed by the following people: Marc (http://modxcms.com/forums/index.php?action=profile;u=3024) Mark Kaplan (http://www.modxcms.com/mark-kaplan.html) Jason Coward (http://www.modxcms.com/jason-coward.html) Armand Pondman (http://projects.zerobarrier.nl/modx/) Susan Sottwell (http://www.sottwell.com) Nimja (http://modxcms.com/forums/index.php?action=profile;u=9097) Al B (http://www.e-mediacreation.co.uk) Dimitri Hilverda (http://modxcms.com/forums/index.php?action=profile;u=35) Brian Stanback (http://modxcms.com/forums/index.php?action=profile;u=8967) Snippet documentation: ---------------------- See the documentation at MODX wiki: http://wiki.modxcms.com/index.php/MaxiGallery
Evo 1.4
PHP 7.0
MaxiGallery 0.6
In various installations, local and live, there are no more pictures shown in dragsort view, maybe since update to Evo 1.4RC or 1.4.
In developer tools console I get this error:
„TypeError: this.className.test is not a function“ Do not know if this is the reason for no pictures on the page.
Normal gallery view and normal gallery management page are o.k.
I am not sure since when this is the case but link to maxiGallery css in site head should be included only on gallery pages. Actually it is included on every page (MaxiGallery 0.6, Evo 1.3.4).
When changing from PHP7.0 to 7.1 I get following error:
Trying to get property of non-object
« Evo Parse Error »
Error : Narrowing occurred during type inference. Please file a bug report on bugs.php.net
Error information
ErrorType[num] WARNING[2]
File /assets/snippets/maxigallery/maxigallery.php
Line 239
Source include_once($mgclass);
Current Snippet MaxiGallery
Backtrace
DocumentParser->executeParser()
index.php on line 129
DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 2737
DocumentParser->parseDocumentSource(string $var1)
manager/includes/document.parser.class.inc.php on line 2846
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 2587
DocumentParser->_get_snip_result(string $var1)
manager/includes/document.parser.class.inc.php on line 1895
DocumentParser->getParamsFromString(string $var1)
manager/includes/document.parser.class.inc.php on line 1976
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 2083
DocumentParser->_get_snip_result(string $var1)
manager/includes/document.parser.class.inc.php on line 1895
DocumentParser->evalSnippet(string $var1, array $var2)
manager/includes/document.parser.class.inc.php on line 1984
eval()
manager/includes/document.parser.class.inc.php on line 1832
include(string $var1)
manager/includes/document.parser.class.inc.php(1832) : eval()'d code on line 75
include_once()
assets/snippets/maxigallery/maxigallery.php on line 239
When reverting to PHP7.0 everything is fine.
This happens on all pages. Not only on pages which include MaxiGallery calls.
Evo 1.3.6
PHP 7.1.2
MaxiGallery 0.6
phx deactivated
core modifiers on or off same results
One of my websites with some MaxiGalleries delivers since today an error on ALL pages. Not only on pages with galleries but page is thereof completely broken. Worked fine since years. No changes from my side in the last days.
Trying to get property of non-object
« MODX Parse Error »
Error : Narrowing occurred during type inference. Please file a bug report on bugs.php.net
Error information
ErrorType[num] WARNING[2]
File /assets/snippets/maxigallery/maxigallery.php
Line 239
Source include_once($mgclass);
Current Snippet MaxiGallery
Backtrace
DocumentParser->executeParser()
index.php on line 129
DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 2198
DocumentParser->parseDocumentSource(string $var1)
manager/includes/document.parser.class.inc.php on line 2278
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 2051
DocumentParser->_get_snip_result(string $var1)
manager/includes/document.parser.class.inc.php on line 1444
DocumentParser->getParamsFromString(string $var1)
manager/includes/document.parser.class.inc.php on line 1494
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 1590
DocumentParser->_get_snip_result(string $var1)
manager/includes/document.parser.class.inc.php on line 1444
DocumentParser->evalSnippet(string $var1, array $var2)
manager/includes/document.parser.class.inc.php on line 1502
eval()
manager/includes/document.parser.class.inc.php on line 1397
include(string $var1)
manager/includes/document.parser.class.inc.php(1397) : eval()'d code on line 75
include_once()
assets/snippets/maxigallery/maxigallery.php on line 239
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.