risingisland / easy-2-gallery Goto Github PK
View Code? Open in Web Editor NEWA MODx Evolution 1.1+ image gallery
A MODx Evolution 1.1+ image gallery
As you can see on my printscreen Easy-2-Gallery on new version evolution 1.3.6 after any click (i.e. Settings, New folder, Add image...) in "Module / Gallery" opens a javascript window with error.
I try on 3 different hostings and have this same problem.
In console i have that error
:
Uncaught TypeError: Cannot read property 'offsetLeft' of null
at Object.scroll (modx.js?v=1.3.6:376)
at modx.js?v=1.3.6:349
I started a new Dev. branch:
โข Moved "assets/libs" directory into "assets/modules/easy2/libs"
Note: if upgrading from previous version, you will need to update Viewer, Slideshow, Plugin paths via the Main Menu.
โข Created an Installer Package.
Two issues I would like to take care of:
If you change the Manager directory name (ex: /admin/), the gallery content via admin is no longer visible, although it is via public view.
Searching for something like "../../manager/" shows multiple references.
Maybe this needs to be update to something like "MODX_CORE_PATH', MODX_MANAGER_PATH"?
Anyone willing to provide an assist with this?
I think it may be beyond my skill level. ๐
@Breezer @Nicola1971
451 : #1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (SELECT count(*) FROM modx_easy2_files F WHERE F.dir_id IN (SELECT A.cat_i' at line 1
SELECT COUNT(DISTINCT d.cat_id) FROM modx_easy2_dirs AS d WHERE d.parent_id IN () AND (SELECT count(*) FROM modx_easy2_files F WHERE F.dir_id IN (SELECT A.cat_id FROM modx_easy2_dirs A, modx_easy2_dirs B WHERE (B.cat_id = d.cat_id AND A.cat_left >= B.cat_left AND A.cat_right <= B.cat_right AND A.cat_level >= B.cat_level AND A.cat_visible = 1)))<>0 AND d.cat_visible=1
552 : #1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (SELECT count(*) FROM modx_easy2_files F WHERE F.dir_id IN (SELECT A.cat_i' at line 1
SELECT d.* FROM modx_easy2_dirs AS d WHERE d.parent_id IN () AND (SELECT count(*) FROM modx_easy2_files F WHERE F.dir_id IN (SELECT A.cat_id FROM modx_easy2_dirs A, modx_easy2_dirs B WHERE (B.cat_id = d.cat_id AND A.cat_left >= B.cat_left AND A.cat_right <= B.cat_right AND A.cat_level >= B.cat_level AND A.cat_visible = 1)))<>0 AND d.cat_visible=1 ORDER BY cat_id DESC LIMIT 0, 9
Hello!
is there a chance to adapt the gallery to the requirements of the new Evolution CMS 3?
@risingisland here is a link to the newest installer and install readme:
http://frsbuillders.net/assets/downloads/easy2gallery/e2g_installer-12212016.zip
thats a direct link, I took down the downloads page.
I'll add a link back to here in case anyone goes there looking since I posted in the forum.
Thanks for developing e2g.
After updating MODx to 1.2-d9.0.5 by dmi3yy the old version of e2g wasn't work. So i update it also. But some problem appeared. Before gallery tumbnails i print description (in gray rectangle) and navigation (left up right)
Before updating:
so after updating e2g i have:
The template for gallery assets/modules/easy2/templates/default/g.htm is
<div class="e2g_wrapper" id="[+easy2:wrapper+]_[+easy2:sid+]">
[+easy2:gallerypluginprerender+]
[+easy2:permalink+]
<div class="e2gdir" [+easy2:desc_class+]>
<div class="e2gdesc">[+easy2:cat_description+]</div>
</div>
<div class="e2g_gallery" id="e2g_gallery_[+easy2:sid+]">
<div style="min-height:10px" class="e2gpnums">
[+easy2:prev_link+]
[+easy2:up_link+]
[+easy2:next_link+]
</div>
<div>[+easy2:content+]</div>
<div class="e2gpnums">[+easy2:pages+]</div>
</div>
</div>
[+easy2:gallerypluginrender+]
So, what i gonna do?
I just moved Plugin & Snippet creation to Package installer.
If you wouldn't mind, double check what I commented out before I remove in:
"assets\modules\easy2\install\index.php" & "install.class.php"
Just wanted to double check before I screw something up ๐
PS: ๐ ๐ฒ Happy holidays ๐ฒ ๐
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.