We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11101
    • 51 Posts
    При установке модуля получаю ответ:
    545 : $dbase = mir-garderobov
    546 : $dbase = SHOW TABLES FROM mir-garderobov
    547 : $params = 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 '-garderobov' at line 1

    Причем на другом сайте (находится на этом же хостинге) встал нормально.
    Никто не подскажет, что не так?

    MODx 1.0.5
    Easy 2 Gallery пробовал как 1.4.10-rc2, так и 1.4.10-rc1, результат один [ed. note: Googa last edited this post 14 years, 9 months ago.]
      • 17496
      • 9 Posts
      Моя проблема была зарыта в плагине TransAlias, а конкретно в Remove Periods. Ставим в No и происходит чудо. Надеюсь это кому-то поможет.
        • 11101
        • 51 Posts
        Quote from: loshenov at Jan 28, 2012, 01:39 AM
        Моя проблема была зарыта в плагине TransAlias, а конкретно в Remove Periods. Ставим в No и происходит чудо. Надеюсь это кому-то поможет.
        Методом тыка нашел в чем причина у меня - в названии БД присутствовал дефис. Переименовал БД и все встало нормально.
          • 30593
          • 119 Posts
          уважаемый goldsky, хочу сделать вывод слайдера (slider-rotator), который берет изображения из 5 дочерних документов, ближайших к сегодняшней дате. Дата в дочерних берется из [+myDate+].
          такая функция возможна?
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            Quote from: Trent at Feb 04, 2012, 11:29 AM
            уважаемый goldsky, хочу сделать вывод слайдера (slider-rotator), который берет изображения из 5 дочерних документов, ближайших к сегодняшней дате. Дата в дочерних берется из [+myDate+].
            такая функция возможна?

            Yes.
            Take a look at the easy2's wild (query) parameters, you can get anything from the database field.
              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.
              • 30593
              • 119 Posts
              goldsky, я плохо понимаю в SQL,

              Взял для примера:
              [!easy2? &gid=`3` &where_file=`id, less, 50 AND size, less, '15000' OR size, greater, '90000' OR name,equal,'ANDROMEDA' OR name, equal, 'BORG'`!]

              Мое условие:
              id, tv.myDate <= 5 дней от сегодняшнего числа, то вывести на экран фото из tv.image из дочерних родителя с id = 3 [ed. note: Trent last edited this post 14 years, 8 months ago.]
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                Hello russian friends,

                I could not help Trent for the cyrillic problem, since he upgraded from 1.3.5 to 1.4.10-rc3.
                Easy 2 just could not write the right character.
                Could you please help me out to fix the problem?
                I believe, it's all about encoding.

                But where?
                Thx ahead.
                  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.
                  • 31066
                  • 2 Posts
                  надо сделать так, чтоб по нажатию на обычную ссылку открывалось окно easy2 с картинкой, как будто я нажал на thumbnail. подскажите, что-то совсем не пойму..
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    @UnitZ,
                    Just create the new template.
                    See the example in the assets\modules\easy2\templates\default\

                    You can create chunk, or just passing the template file's path if you like to do it file-based.
                      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.
                      • 31066
                      • 2 Posts
                      О, спасибо большое.
                      Еще одна проблема - в E2G 1.4 не показываются изображения с русскими именами, 1.3 показывал. Сайт на utf-8. Может как-то можно автоматически транслитировать имена файлов при закачке? Как я понял, Transalias мне в этом поможет, но что-то не пойму как его прикрутить? Или как починить вывод файлов с русскими именами?