extras-evolution / evogallery Goto Github PK
View Code? Open in Web Editor NEWМодуль для создания фото галереи на сайте.
Модуль для создания фото галереи на сайте.
I've closed all issues and pull requests on the EvoGallery repository in my name that existed at https://github.com/Mark-H/EvoGallery, and added links to this repository. I'll probably remove the repository completely in a couple of months, just long enough to give people a chance to find the new repository.
If you would have let me know years ago that you were interested in taking over EvoGallery, I would have moved the entire repository to your account, but I only found out about this fork existing today and that's not possible as the git history is completely different.
Thank you for the great work you do for the Evo Community.
Downloaded the zip, uploaded everything and hit http://site.com/install and get a directory browser - not an install script.
Thanks =]
в последних версиях перестало работать пересоздание превью (даже при наличии оригинала в папке originals)
сейчас превью создается 1 раз, только при первой заливке фотографий. Ранее можно было пересоздавать в любое время
Please make copy of: nederlands.inc.php
Add :
/assets/modules/evogallery/lang/nederlands-utf8.inc.php
Thanx!
Versions
EvoGallery can not upload images anymore. After I upload an image I get an empty placeholder:
My php errorlog shows this
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: savePath in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 33
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: savePath in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 34
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: a in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 47
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: id in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 48
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: keepOriginal in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 615
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: randomFilenames in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 619
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Notice: Undefined index: keepOriginal in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 594
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Warning: mkdir(): Permission denied in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 597
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Warning: mkdir(): No such file or directory in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 599
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Warning: move_uploaded_file([MY-PATH-TO-MODX]//2/571f6d56d0303): failed to open stream: No such file or directory in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 635
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpyXuvSi' to '[MY-PATH-TO-MODX]//2/571f6d56d0303' in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 635
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] File does not exist: [MY-PATH-TO-MODX]/assets/galleries/2, referer: http://domain.com/modxdir/manager/index.php?a=112&id=16&onlygallery=1&action=view&content_id=2
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] File does not exist: /home[MY-PATH]public_html/404.html, referer: http://domain.com/modxdir/manager/index.php?a=112&id=16&onlygallery=1&action=view&content_id=2
It seems that it somehow can not read the configuration options of the EvoGallery module :(
new GalleryManagement($parameters);
does not get its $parameters
The part where the module gets his parameters is at action.php line 24 (https://github.com/extras-evolution/EvoGallery/blob/master/assets/modules/evogallery/action.php)
// load module configuration
$parameters = array();
if(!empty($properties)){
if(substr($properties,0,1)=='&') $properties = substr($properties,1);
$tmpParams = explode("&",$properties);
for($x=0; $x<count($tmpParams); $x++) {
$pTmp = explode("=", $tmpParams[$x]);
$pvTmp = explode(";", trim($pTmp[1]));
if ($pvTmp[1]=='list' && $pvTmp[3]!="") $parameters[$pTmp[0]] = $pvTmp[3]; //list default
else if($pvTmp[1]!='list' && $pvTmp[2]!="") $parameters[$pTmp[0]] = $pvTmp[2];
}
}
Could it have something to do with this change?
modxcms/evolution#494
Also notice the double slash (//) at
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Warning: move_uploaded_file([MY-PATH-TO-MODX]//2/571f6d56d0303): failed to open stream: No such file or directory in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 635
[Tue Apr 26 15:29:58 2016] [error] [client 94.214.188.193] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phpyXuvSi' to '[MY-PATH-TO-MODX]//2/571f6d56d0303' in [MY-PATH-TO-MODX]/assets/modules/evogallery/classes/management.class.inc.php on line 635
Where 2
is the ID of the resource I am editing..
name of file needs to be: nederlands-utf8.inc.php
maybe you can add this or do I need to make a pull request?
after change store in db module settings to JSON, when run module get:
Fatal error: Cannot redeclare class MakeTable in ../manager/includes/extenders/maketable.class.php on line 11
in tab of resourse EvoGallery work, but upload images to root of site instead settings &savePath
updgrade to lates EvoGallery not helps
set old format settings helps
Hardcoded text line 30:
mm_createTab($title, 'evogallery', '', '', '<strong>Управление изображениями</strong>', '100%');
Remove the text.
I use SimpleGallery for gallerys but this client doesn't want to update
Defaul call render wrapper even if no images attached to the document
[[EvoGallery? &display=
images &itemTpl=
gallery_item &tpl=
gallery_tpl]]
How to disable rendering of gallery_tpl if document does not contain any images?
А как ее установить? Папка инстал не содержит инструкций для установки. Взять старый истал или распихать как-то шаблоны вручную?
When I use this rule in MM_rules: (to get on page Evogallery upload tab)
mm_widget_evogallery('2','','','7');
In Firefox and IE there is no problem but in Chrome I get:
ManagerManager: An error has occurred: TypeError - Cannot read property 'hasChildNodes' of undefined
and all mm_rules stop working.
Evo 1.0.14
MM 0.6.1
Have no time to update at the moment to 1.0.15 and 0.6.2 but think this problem is still there in 1.0.15.
Hi there,
I guess, it's not a big deal but I see this MODX Parse Error after updating from 1.2 d9.0.3 to 1.3.3 (core) and migrating from PHP 5.6 to PHP 7.0.
File: .../public_html/assets/snippets/evogallery/classes/phx.parser.class.inc.php
Backtrace
DocumentParser->executeParser()index.php on line 131
DocumentParser->prepareResponse()wp-admin/includes/document.parser.class.inc.php on line 2219
DocumentParser->parseDocumentSource(string $var1)wp-admin/includes/document.parser.class.inc.php on line 2304
DocumentParser->evalSnippets(string $var1)wp-admin/includes/document.parser.class.inc.php on line 2064
DocumentParser->_get_snip_result(string $var1)wp-admin/includes/document.parser.class.inc.php on line 1456
DocumentParser->evalSnippet(string $var1, array $var2)wp-admin/includes/document.parser.class.inc.php on line 1514
*manager=wp-admin
We see Flash disappearing from the market more and more. Therefore It would be good move to drop Flash uploader and replace it with HTML5 / JS file upload. There are some ready to use solution available already. This is beyond my skills unfortunately. Maybe one of devs could look into it as EvoGallery is the best gallery option for Evolution users in my opinion and should be keeped closer to the MODX core.
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.