We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9085
    • 630 Posts
    В .htaccess попробовать добавить такое:
    php_flag track_errors on

      Правильно заданный вопрос повышает вероятность получения нужного ответа.
      Что-то не работает? Загляните в лог ошибок!
      Есть проблема? "Локализуйте" её!
      Ответы на большинство вопросов по MODx | MODx RTFM | API Evo Revo | галопом по Европам Азиям smiley wikibooks(ru) Ditto(en) | Wayfinder e-book | Заметки и о MODx
      • 25459
      • 5 Posts
      Добавил. В целом - отключил показ ошибок в конфигурации easy2/ Вроде всё работает, но, конечно хочется "полной чистоты"
      set_time_limits то же ругается - попробовал менять значения - нифига. Но это я вроде знал раньше как лечить - тока забыл. Алкоголь делает свое дело..
        Best Regards, Roman Bor
        • 1611
        • 591 Posts
        OK! I’ve got it!

        I have been fixing this problem for 2 month!

        Thats the point:
        I realized that e2g uses modx module to transliterate filenames.
        In 1.0.4 it is Trans Alias module. This module has an option ’remove dots’.

        So, thats was the reason of my problem.

        I think we should change strings like this:
        $nameAlias = $modx->stripAlias($name);

        to preceed only filename without extension.
        Maybe it should be processed in basenameSafe($path) of e2g_Public class
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          well, thx, Andrey.
          Will look the best way for it.
            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.
            • 12982
            • 28 Posts
            Проблtма с выводом слайдшоу.
            MODx 1.0.4
            easy2gallery 1.4.0-rc4-r347
            Обычная галерея выводится нормально. Проблема с выводом слайдшоу
            пишу
            [!easy2? &gid=2 &slideshow=`galleriffic` &ss_config=`example-3` &w=`50` &h=`70` !]

            слайд шоу не выводится
            в коде страницы пишет следующее:
            <noscript>
                <div class="jsdisabled">
                    <img src="assets/modules/easy2/templates/default/icons/error.png" alt="" />
                    <span>Please enable the javascript</span>
                </div>
            </noscript>
            <div class="e2g_wrapper" id="e2g_wrapper_1">    
            </div>
            


            Скрипт не грузит в хедер библиотек этого слайд шоу, даже jquery не подгружает.
            QuickManager+ выключен
            с предыдущими версиями не было таких проблем, кто знает в чем причина?
              • 7571
              • 135 Posts
              Здравствуйте. Подскажите, пожалуйста, как сделать, чтобы при добавлении фоток, они появлялись на первой страницы в галереи, а не на последней.
              Спасибо.
                • 11307
                • 136 Posts
                Привет.

                Мне необходимо получить маленькие фотографии из определенной папки.

                [!easy2? &gid=`2` &w=`917` &h=`400` &tpl=`main_gal`&thumb_tpl=`thumb`!]

                main_gal
                [+easy2:content+]

                thumb
                <img src="[+easy2:src+]" />


                В результате получаю
                <table class="e2g"><tr></tr><tr><td><img src="assets/gallery/_thumbnails/main/img1_917x400.jpg" /></td></tr></table>


                вместо
                <img src="assets/gallery/_thumbnails/main/img1_917x400.jpg" />


                Как с этим бороться?
                  • 11307
                  • 136 Posts
                  Quote from: Djeak at Dec 27, 2010, 01:24 PM

                  Здравствуйте. Подскажите, пожалуйста, как сделать, чтобы при добавлении фоток, они появлялись на первой страницы в галереи, а не на последней.
                  Спасибо.

                  модуль - конфигурация - установки превью - Thumbs order by:
                    • 9085
                    • 630 Posts
                    Quote from: gregst at Dec 27, 2010, 03:53 PM

                    В результате получаю
                    <table class="e2g"><tr></tr><tr><td><img src="assets/gallery/_thumbnails/main/img1_917x400.jpg" /></td></tr></table>

                    вместо
                    <img src="assets/gallery/_thumbnails/main/img1_917x400.jpg" />

                    в файле assets/modules/easy2/includes/classes/e2g.snippet.class.php ~ 217 строка. Похоже, "оно".
                            // START the grid
                            $_e2g['content'] = (($grid == 'css') ? '<div class="' . $gridClass . '">' : '<table class="' . $gridClass . '"><tr>');
                      Правильно заданный вопрос повышает вероятность получения нужного ответа.
                      Что-то не работает? Загляните в лог ошибок!
                      Есть проблема? "Локализуйте" её!
                      Ответы на большинство вопросов по MODx | MODx RTFM | API Evo Revo | галопом по Европам Азиям smiley wikibooks(ru) Ditto(en) | Wayfinder e-book | Заметки и о MODx
                      • 11055 ☆ A M B ☆
                      • 3,112 Posts
                      @inscriptible,
                      try different browser.
                      if it’s still problem, check your Apache’s error log.

                      @gregst,
                      try &grid=`css`
                        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.