We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7571
    • 135 Posts
    Я обновил галерею, перенес уже настроенные шаблоны. Для IE6 удалил все _1, в настройках прописано &tpl= assets/modules/easy2/templates/default/gallery.htm
    Тем-более у меня для каждой галереи прописано:
    &tpl=`assets/modules/easy2/templates/default/gallery.htm` &dir_tpl=`assets/modules/easy2/templates/default/directory.htm` &thumb_tpl=`assets/modules/easy2/templates/default/thumbnail.htm` &css=`assets/modules/easy2/templates/default/styleIE.css`
    Я так понимаю, нужно выбирать или IE6 или прохождение валидации?
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      Quote from: kalina at Nov 30, 2010, 12:38 PM

      Hi, goldsky!
      How about Integrating YAMS with Easy 2 Gallery?
      I was able to create the integration. But it needed a package update from PMS (the author), because I needed a YAMS’s CONSTANT for front-end.
      As you have already read the board here, I’ve make a successful connection, but then, he’s gone.
      Puff*.
      I terminated the effort, since I didn’t want to get trapped by YAMS’s own technical problem if it’s published.

      Quote from: Djeak at Nov 30, 2010, 02:02 PM

      Я обновил галерею, перенес уже настроенные шаблоны. Для IE6 удалил все _1, в настройках прописано &tpl= assets/modules/easy2/templates/default/gallery.htm
      Тем-более у меня для каждой галереи прописано:
      &tpl=`assets/modules/easy2/templates/default/gallery.htm` &dir_tpl=`assets/modules/easy2/templates/default/directory.htm` &thumb_tpl=`assets/modules/easy2/templates/default/thumbnail.htm` &css=`assets/modules/easy2/templates/default/styleIE.css`
      Я так понимаю, нужно выбирать или IE6 или прохождение валидации?
      Lol... pick a strawberry or a cherry ?
        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.
        • 33069
        • 4 Posts
        Пытаюсь использовать галерею, получаю вот такую ошибку:
        « MODx Parse Error »MODx encountered the following error while attempting to parse the requested resource:
        « PHP Parse Error »
         
        PHP error debug
          Error: 	mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)	 
          Error type/ Nr.: 	Warning - 2	 
          File: 	/home/u236045/termit3.ru/www/assets/modules/easy2/includes/classes/e2g.snippet.class.php	 
          Line: 	2789	 
          Line 2789 source: 	$q = mysql_query($s); 	 
         
        Parser timing
          MySQL: 	0.0036 s	(5 Requests)
          PHP: 	0.0379 s	 
          Total: 	0.0415 s

        Вызов делаю так:
        [!easy2?gid=5&h=160&w=120&limit=1!]

        Может проблема в том, что MySQL установлен не на localhost?
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          Quote from: Yarryk at Dec 01, 2010, 12:21 AM

          [!easy2?gid=5&h=160&w=120&limit=1!]

          Может проблема в том, что MySQL установлен не на localhost?
          try this

          [!easy2?gid=`5` &h=`160` &w=`120` &limit=`1`!]
          or this

          [!easy2? &gid=`5` &h=`160` &w=`120` &limit=`1`!]
          ` is a backtick, below your [Esc] button.

          Welcome to MODx.
            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
            goldsky
            Значит дело именно в этом?
            Чтобы пройти валидацию нужно :
            аssets/modules/easy2/templates/default/gallery_1.htm
            ?
            Только дело в том, что у меня и валидацию не проходит и галерею не показывает в IE6 =)
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              @Djeak,
              please, try to match up the ’classes’ with the css file.
              I made the gallery_1 related with the CSS3 file.
                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.
                • 33069
                • 4 Posts
                Quote from: goldsky at Dec 01, 2010, 01:34 AM

                try this

                [!easy2?gid=`5` &h=`160` &w=`120` &limit=`1`!]
                or this

                [!easy2? &gid=`5` &h=`160` &w=`120` &limit=`1`!]
                Попробовал, проблема осталась. Никаких изменений.
                  • 11055 ☆ A M B ☆
                  • 3,112 Posts
                  Quote from: Yarryk at Dec 01, 2010, 12:21 AM

                  Пытаюсь использовать галерею, получаю вот такую ошибку:
                  « MODx Parse Error »MODx encountered the following error while attempting to parse the requested resource:
                  « PHP Parse Error »
                   
                  PHP error debug
                    Error: 	mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)	 
                    Error type/ Nr.: 	Warning - 2	 
                    File: 	/home/u236045/termit3.ru/www/assets/modules/easy2/includes/classes/e2g.snippet.class.php	 
                    Line: 	2789	 
                    Line 2789 source: 	$q = mysql_query($s); 	 
                   
                  Parser timing
                    MySQL: 	0.0036 s	(5 Requests)
                    PHP: 	0.0379 s	 
                    Total: 	0.0415 s

                  Вызов делаю так:
                  Может проблема в том, что MySQL установлен не на localhost?

                  Sorry,
                  You don’t have MySQL on your localhost?
                  Yes, you should have it first, but how could you run MODx?
                    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.
                    • 33069
                    • 4 Posts
                    Quote from: goldsky at Dec 01, 2010, 02:24 PM

                    Quote from: Yarryk at Dec 01, 2010, 12:21 AM

                    Пытаюсь использовать галерею, получаю вот такую ошибку:
                      Error: 	mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)	 
                      Error type/ Nr.: 	Warning - 2	 
                      File: 	/home/u236045/termit3.ru/www/assets/modules/easy2/includes/classes/e2g.snippet.class.php	 
                      Line: 	2789	 
                      Line 2789 source: 	$q = mysql_query($s); 	 
                     

                    Вызов делаю так:
                    Может проблема в том, что MySQL установлен не на localhost?

                    Sorry,
                    You don’t have MySQL on your localhost?
                    Yes, you should have it first, but how could you run MODx?
                    При установке MODx указал параметры MySQL предоставленые хостером. Все установилось без проблем и работает.
                    Парметры MySQL:
                    ------
                    Сервер: u******.mysql.masterhost.ru
                    Имя базы данных: u******
                    Логин: u******
                    Пароль: ************
                      • 11055 ☆ A M B ☆
                      • 3,112 Posts
                        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.