We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30593
    • 119 Posts
    goldsky




    итого показывает 22 фото!


    UPD. после загрузки фото, пишет ошибки:
      • 6348
      • 90 Posts
      Quote from: goldsky at Oct 13, 2010, 03:05 AM

      Quote from: daima at Oct 13, 2010, 01:36 AM

      Использую каталоги. Сперва идет каталог serials, в нем каталоги a,b,c,d...z. А в них тоже каталоги. И все равно при первом обращении долго грузится
      How about upgrade to RC2?
      I just updated one of my sites.
      It stores 1881 pics and 258 folders.
      It only takes 5 secs to complete the scanning.
      RC2 не понравилась по дизайну (меню слева) и не сохранялся выбор варианта jquery плагина для просмотра галереи. У меня в RC1 тоже проходит секунд 5 при сканировании
        • 6348
        • 90 Posts
        Quote from: goldsky at Oct 10, 2010, 10:44 PM

        @daima,
        [easy2:cat_alias]
        how many pictures do you have?
        пишу так: $modx->runSnippet(’easy2:cat_alias’, array(’gid’=>$galery)) - после этого галерея перестает показываться. Так - $modx->runSnippet(’easy2:cat_alias’, array(’gid’=>$galery)) работает
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          @Trent,
          may be because the other 3 photos have portrait orientation.
          try to add &ss_allowedratio=`all`

          ss_allowedratio actually calculates the width/height ratio, because the script always generates the original pictures to match with your &ss_w (display’s width) and &ss_h (display height) to have a full size of pictures.

          When you have a display box in landscape orientation and try to show a portrait picture, you’ll get a picture with too much cropping from the top and the bottom.

          See the picture I’ve included in your Help tab as the graphical explanation.
            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.
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            Quote from: daima at Oct 14, 2010, 05:53 AM

            пишу так: $modx->runSnippet(’easy2:cat_alias’, array(’gid’=>$galery)) - после этого галерея перестает показываться. Так - $modx->runSnippet(’easy2:cat_alias’, array(’gid’=>$galery)) работает
            eh?
            what is wrapper snippet?

            EDIT:
            This is how I use that for my own snippet.
            The variables are provided by another function.
            <?php
            $easy2pictures = $modx->runSnippet("easy2", array(
                        "gid" => $docalbumid[$docid]
                        , "customgetparams" => '&docid=' . $docid . '&type=' . $type
                    ));
            echo $easy2pictures;
            
              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.
              • 7571
              • 135 Posts
                Здравствуйте.
                Вопрос по crumbs в галереи.
                Есть страница, на которой сделаны ссылки на две папки галереии.
                Фотогалерея(здесь просто ссылки на дочернии ресурсы):
                [list]
              • Мама-кошка
              (здесь уже снипет для вывода галереи и crumbs)
              • Котята
              (здесь уже снипет для вывода галереи и crumbs)
              [/list]
              Прописываю, чтобы показывалась &crumbs_showHome=`1`. Даю псевдоним главной папки(Easy2): "фотогалерея". В итоге получается: Фотогалерея/Котята.
              При нажатии на Фотогалерею открывается таже самая страница(т.е. таже страница, если я нажму на Котята). Можно ли сделать ссылку именно на страницу где у меня ссылки на две папки галелерии.
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                @Djeak,
                No.
                It’s designed to reject visitor to go to upper folder.
                It’s against the descendant rules of the snippet call.
                I invented this system since 1.4.0 beta 4 or so.
                So, the &gid of the snippet call is the milestone to go forward, but you can not go backward, or even to the sibling folders (by directly changing the link in the address bar).

                And actually, I’ve been thinking to delete the &crumbs_showHome.
                  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.
                  • 7571
                  • 135 Posts
                  Ок, тогда придется удалить &crumbs_showHome. А можно как-то другим способом в crumbs прописать такую ссылку?
                  Да, по поводу prev и next, в каких файлах можно дописать эту функцию?
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    you can disable it from your module settings, find out the crumbs section.

                    gallery.htm
                            <table class="e2g_prevupnext">
                                <tr>
                                    <td class="e2g_prev">[+easy2:prev_link+]</td>
                                    <td class="e2g_up">[+easy2:up_link+]</td>
                                    <td class="e2g_next">[+easy2:next_link+]</td>
                                </tr>
                            </table>
                    
                      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.
                      • 23984
                      • 7 Posts
                      при установки значения 0.5-1.5
                      выдает

                      snippet calls wrong gallery id:1, order, or wrong limit.
                      SELECT * FROM modx1_easy2_files WHERE dir_id IN (1) AND width/height >=0,5 AND width/height<=1,5 AND status = 1 ORDER BY date_added ASC LIMIT 0, 6
                      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 ’5 AND width/height<=1,5 AND status = 1 ORDER BY date_added ASC LIMIT 0, 6’ at line 1


                      при значении &ss_allowedratio=’all’ работают все слайдшоу кроме ’galleryview’

                      при [!easy2? &slideshow=`galleryview`!] растягивает окно сайта без вывода картинок или ошибок