We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11055 ☆ A M B ☆
    • 3,112 Posts
    great!
    this is better than what i’ve been doing lately.
    i will try to find out the connection.
      Rico
      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
      MODx is great, but knowing how to use it well makes it perfect!

      www.virtudraft.com

      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

      Maintainter/contributor of Babel

      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
      • 8004
      • 39 Posts
      Quote from: goldsky at Jul 14, 2010, 12:14 PM

      great!
      this is better than what i’ve been doing lately.
      i will try to find out the connection.
      plz dont forget to tell us about results
        www.ekg-uralsnab.ru - экг 5а, колеса крановые шкивы, металлообработка
        • 15221
        • 20 Posts
        2goldsky

        thank for all you done)
        please) two questions
        about Easy - parameters $w and $h - howe to do picture with ratio 1:1? - in example, like &resize_type=inner fore thumb in slideshow,but sildeshow-picture has &resize_type=shrink. It’s posiible in settings? if not - i think i do it myself).
        about module development -
        i google information - nothing.
        i need your experience.)
        if i have in module (in admin side) ajax request.the request return some info from database, but in the php file(the request url) i need include all files, which need me to do actions with database.
        is there one file, which included all i need? somth like /manager/index.php
        but only for my ajax request?

        thx.
          • 21508
          • 46 Posts
          Добрый ночки,

          подскажите как сделать совместить есть вывод который выводит все папки галереи &dir_tpl=`dirictoriya` по переходу выводит эскиз &thumb_tpl=`thumb`
          [!easy2? &dir_tpl=`dirictoriya` &thumb_tpl=`thumb` !]

          как добавить &glib= с параметром &slideshow=`contentflow`

          смысл при нажатии на эскиз показывался fancybox с возможностью &slideshow=`contentflow`.

          Заранее спасибо, за помощь.
            It’s Nice to Be Important, But It’s More Important to Be Nice
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            Quote from: kadavr at Jul 14, 2010, 02:03 PM

            about Easy - parameters $w and $h - howe to do picture with ratio 1:1? - in example, like &resize_type=inner fore thumb in slideshow,but sildeshow-picture has &resize_type=shrink. It’s posiible in settings? if not - i think i do it myself).
            I applied this for the last revision (246):
            &slideshow=`?` &ss_resize_type=`inner`

            Actually, I’ve updated the English Help for this matter, but I believe you’re using the non-updated Russian language file.
            Will you help me to update those, too? smiley

            Quote from: kadavr at Jul 14, 2010, 02:03 PM

            about module development -
            i google information - nothing.
            i need your experience.)
            if i have in module (in admin side) ajax request.the request return some info from database, but in the php file(the request url) i need include all files, which need me to do actions with database.
            is there one file, which included all i need? somth like /manager/index.php
            but only for my ajax request?
            To make the database connection, you should include /manager/includes/config.inc.php
            Then use the variables to make the table/field selection.

            Quote from: Nik at Jul 14, 2010, 07:14 PM

            Добрый ночки,
            подскажите как сделать совместить есть вывод который выводит все папки галереи &dir_tpl=`dirictoriya` по переходу выводит эскиз &thumb_tpl=`thumb`
            [!easy2? &dir_tpl=`dirictoriya` &thumb_tpl=`thumb` !]

            как добавить &glib= с параметром &slideshow=`contentflow`
            смысл при нажатии на эскиз показывался fancybox с возможностью &slideshow=`contentflow`.
            Заранее спасибо, за помощь.
            Currently, E2G doesn’t use this, because there is no Javascript action applied to the directory.
            The concept is just different.
            BUT, there is one slideshow that use directory as its source too: smoothgallery’s galleryset.
              Rico
              Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
              MODx is great, but knowing how to use it well makes it perfect!

              www.virtudraft.com

              Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

              Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

              Maintainter/contributor of Babel

              Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
              • 15221
              • 20 Posts
              Quote from: goldsky at Jul 15, 2010, 12:43 AM

              Actually, I’ve updated the English Help for this matter, but I believe you’re using the non-updated Russian language file.
              Will you help me to update those, too? smiley

              Ok, i try - must i use svn or just send you new file?

              Quote from: goldsky at Jul 15, 2010, 12:43 AM

              To make the database connection, you should include /manager/includes/config.inc.php
              Then use the variables to make the table/field selection.
              Yes, thats i know.
              But global $modx will not exist, i think, that "not using $modx object" is not komilfo)
              or It’s true way? to create db connection myself, with no modx:dbapi.
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                Just put that in here, so everybody can use it too, before I upload the whole update into the Extra.

                Try to call your variable by die($var), see to how it works.
                Easy 2 Gallery calls preview.easy2gallery.php to make the preview link inside the module.
                There is no db connection in it.
                The Manager keeps the database connection open before you log out.

                BUT,
                Easy 2 Gallery calls show.easy2gallery.php from the front-end, starting with db connection before others.
                The connection session always cleared up after web page completely rendered.

                I don’t know about your code, please just test everything.
                  Rico
                  Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                  MODx is great, but knowing how to use it well makes it perfect!

                  www.virtudraft.com

                  Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                  Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                  Maintainter/contributor of Babel

                  Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                  • 15221
                  • 20 Posts
                  Русский перевод(utf-8) с обновлениями до версии E2G-1.4.0-RC1-r246
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    thx. smiley
                      Rico
                      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                      MODx is great, but knowing how to use it well makes it perfect!

                      www.virtudraft.com

                      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                      Maintainter/contributor of Babel

                      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                      • 31792
                      • 125 Posts
                      Добрый день!
                      Скажите, как объяснить посетителям сайта, которые смотрят фотографии в галерее, что их можно комментировать? Только методом тыка выясняется, что надо нажать на мелкую цифру в правом нижнем углу эскиза фотографии... Или я какой-то параметр easy2 не настроил?