We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9673
    • 52 Posts
    Спасибо! Это работает.
    Но если вставлять как [ <img src="assets/templates/clearwhite/images/back.png" alt="back" title="back" /> ] тогда отображаются тэги [ ]
    если без них, после сохранения в админке ломается форма.
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      uh... ok.
      Try this:
      Open your gallery template, the default is gallery_1.htm

      <div class="e2g_wrapper" id="[+easy2:wrapper+]_[+easy2:sid+]">
      [+easy2:gallerypluginprerender+]
      [+easy2:permalink+]
      <div class="e2gdir" [+easy2:desc_class+]>
      <div class="e2gtitle">[+easy2:title+]</div>
      <div class="e2gdesc">[+easy2:cat_description+]</div>
      </div>
      <div class="e2g_gallery" id="e2g_gallery_[+easy2:sid+]">
      <div class="e2gback">[+easy2:back+]</div>
      <div class="e2g_crumbs">[+easy2:crumbs+]</div>
      <table class="e2g_prevupnext">
      <tr>
      <td class="e2g_prev">
      <a href="[+easy2:prev_cat_link+][+easy2:prev_cat_permalink+]">
      <img src="[+easy2:prev_cat_symbol+]" alt="[+easy2:prev_title+]" title="[+easy2:prev_title+]" /> [+easy2:prev_title+]</a>

      </td>

      <td class="e2g_up">[+easy2:up_link+]</td>

      <td class="e2g_next">
      <a href="[+easy2:next_cat_link+][+easy2:next_cat_permalink+]">
      <img src="[+easy2:next_cat_symbol+]" alt="[+easy2:next_title+]" title="[+easy2:next_title+]" /> [+easy2:next_title+]</a>

      </td>
      </tr>
      </table>
      [+easy2:content+]
      <div class="e2gpnums">[+easy2:pages+]</div>
      </div>
      </div>
      [+easy2:gallerypluginrender+]

      Revert back the value to be assets/templates/clearwhite/images/back.png
        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.
        • 31264
        • 8 Posts
        Здравствуйте. Мой опыт с easy 2 gallery оказался отрицательным. Я начинающий веб-мастер, поэтому возможно допустил некоторые ошибки при работе с этим модулем. Пробовал работать с версиями 1.3.0 и 1.4.0-pl.
        Версия 1.3.0 после установки просто не заработала. При нажатии на кнопку модуля в админке отображался просто пустой экран.
        Версия 1.4.0-pl в админке работала нормально, но при попытке вывести изображение на страницу появлялось либо пустое место либо вообще ничего. При этом в коде возникала надпись:
        <noscript>
            <div class="jsdisabled">
                <img src="assets/modules/easy2/templates/default/icons/error.png" alt="" />
                <span>Please enable the javascript</span>
            </div>
        
        </noscript>
        

        После удаления модуля у меня вообще сайт лёг и написал во такое:
        « MODx Parse Error »
        MODx encountered the following error while attempting to parse the requested resource:
        « PHP Parse Error »
         
        PHP error debug
          Error: 	include(/home/h14u233/public_html/assets/modules/easy2/plugin.easy2gallery.php) [function.include]: failed to open stream: No such file or directory	 
          Error type/ Nr.: 	Warning - 2	 
          File: 	/home/h14u233/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code	 
          Line: 	1	 
         
        

        Поэтому, если кто- нибудь знает, как нормально сработать с этой галереей, посоветуйте способ. Заранее благодарен.
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          try to save the e2g’s config page first.
            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.
            • 13134
            • 3 Posts
            Всем привет.
            Подскажите, можно ли сделать следующее:создаю галерею (версия easy2gallery 1.3.5) в админке, загружаю 5 фоток, и делаю вызов на странице сайта одной фотки из галереи (превьюшку)и когда по ней щелкаешь открывается увеличенное изображение и есть возможность листать все 5 фоток галереи в увеличенном виде?
              • 31264
              • 8 Posts
              Переустановил easy2 1.4.0. Админка работает, но при выведении изображения опять та же проблема- пустое место, в коде в предполагаемом месте расположения изображения появляется сообщение:
              <noscript>
                  <div class="jsdisabled">
                      <img src="assets/modules/easy2/templates/default/icons/error.png" alt="" />
                      <span>Please enable the javascript</span>
                  </div>
              </noscript>
              

              Подскажите пожалуйста, какой скрипт нужно включить и где.
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                are you using firefox’s NoScript?
                  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.
                  • 31264
                  • 8 Posts
                  Quote from: goldsky at Apr 08, 2011, 04:55 AM

                  are you using firefox’s NoScript?
                  Нет. Этот код появляется не только в FireFox, но и в других браузерах. Возможен ли сбой в работе из-за конфликта MooTools и JQuery? Если да, то как устранить этот конфликт.
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    Sorry, please describe me again back to the beginning:
                    1. Fresh install or upgrade from 1.3.0?
                    2. If it does, how did you do the upgrade? Overwriting all files or deleted-replaced them all?
                    3. What is your snippet call?
                      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.
                      • 31264
                      • 8 Posts
                      Quote from: goldsky at Apr 08, 2011, 06:02 AM

                      Sorry, please describe me again back to the beginning:
                      1. Fresh install or upgrade from 1.3.0?
                      2. If it does, how did you do the upgrade? Overwriting all files or deleted-replaced them all?
                      3. What is your snippet call?

                      1.Новая установка.
                      2. Вызов я делал базовый для проверки работы сниппета [!easy2!]- он отображает пустую область c указанным в моих сообщениях кодом. Вызов [!easy2?fid=`12`!] приводит к такому же результату. Всю информацию по вызовам и параметрам я брал переходя в меню "Помощь" в админпанели модуля.