Git Product home page Git Product logo

easy-2-gallery's People

Contributors

risingisland avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

easy-2-gallery's Issues

Problem with thumbnails

Hi guys

I have a problem with thumbnails, when upload files, everything goes fine, but when i go to folder i see only one thumbnails, when i click zoom i see proper photo.

See my link below to look into module view
10472182

This same problem on site preview
10472191

evolution 1.3.6 issue / JavaScript window

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.

untitled-1

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

Moved "libs" directory

@Breezer @Nicola1971

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:

  1. How can a category be set to "Gallery" for the Plugin & Snippet?
    File install.class.php, near lines 1166 & 1212.

  2. I can not for the life of me get the mouseover icons to either float left or move down, so that the selection box is not on top of it.
    image-mouseover-icons

Images/Folders not visible on Manager directory name change

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

Did an update and on front-end I get an Error

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

Evolution CMS 3.1.3

Hello!

is there a chance to adapt the gallery to the requirements of the new Evolution CMS 3?

Can't print gallery description [+easy2:cat_description+]

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:

image

so after updating e2g i have:

image

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?

Moved Plugin & Snippet creation to Package installer

@Breezer @Nicola1971

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 ๐ŸŒฒ ๐ŸŽ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.