&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 или прохождение валидации?
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.
Hi, goldsky!
How about Integrating YAMS with Easy 2 Gallery?
Lol... pick a strawberry or a cherry ?
Я обновил галерею, перенес уже настроенные шаблоны. Для 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 или прохождение валидации?
« 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!]
try this
[!easy2?gid=5&h=160&w=120&limit=1!]
Может проблема в том, что MySQL установлен не на localhost?
or this
[!easy2?gid=`5` &h=`160` &w=`120` &limit=`1`!]
` is a backtick, below your [Esc] button.
[!easy2? &gid=`5` &h=`160` &w=`120` &limit=`1`!]
аssets/modules/easy2/templates/default/gallery_1.htm
Попробовал, проблема осталась. Никаких изменений.
try this
or this
[!easy2?gid=`5` &h=`160` &w=`120` &limit=`1`!]
[!easy2? &gid=`5` &h=`160` &w=`120` &limit=`1`!]
Пытаюсь использовать галерею, получаю вот такую ошибку:
« 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?
При установке MODx указал параметры MySQL предоставленые хостером. Все установилось без проблем и работает.
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?