Логично.. про grid-css как раз там и написано
Quote from: gregst at Dec 28, 2010, 12:44 AM
and i don’t have folder modules/easy2/includes/classes/ =(
попытка нумбер 2
в файле assets/modules/easy2/includes/classes/e2g.snippet.class.php
ps неужели дополнительные тэги настолько сильно мешают?
я ж говорю - поставил &grid=`css` вместо tbody появились div
нет у меня такой папки вообще. assets / modules / easy2 / includes / единственная вложенная папка - slideshow
вот все что в папке includes
папка slideshow
config.libs.easy2gallery.php
e2g_mod.css
index.html
pane.comments.inc.php
pane.config.inc.php
pane.files.inc.php
pane.help.inc.php
pane.imageupload.inc.php
pane.main.inc.php
да, доп теги мешают тем, что перестает работать один скрипт
А версия галереи озвучивалась?
Поиском по файлам найти "$gridClass" или "$grid ==" (кусочек строки, где формируется начало контента) и менять "под свои нужды". Иметь ввиду, что в таком случае CSS-оформление (без внешнего блока e2g..) может "пропасть" =)
Как вариант - ещё можно скрипт исправить...
Удачи
-
☆ A M B ☆
- 3,112 Posts
Quote from: gregst at Dec 28, 2010, 01:07 AM
да, доп теги мешают тем, что перестает работать один скрипт
Do you have the same folders structure like this?
http://code.google.com/p/easy2modx/source/browse/#svn%2Fbranches%2FE2G%201.4.0-rc4
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.
Здравствуйте. При выводе сниппета [[easy2]] на странице появляется след. сообщение:
Parse error: syntax error, unexpected T_ELSE in Z:\home\artsait\www\manager\includes\document.parser.class.inc.php(770) : eval()’d code on line 359
Установка модуля прошла успешно. Версия easy 2 gallery 13.
Как исправить ошибку?
-
☆ A M B ☆
- 3,112 Posts
please explain your server settings, and how you installed the module.
E2G 1.3x needs all the script code (module.easy2gallery.php) inside the module’s code.
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.
Приветствую всех. Нужна профессиональная помощь.
После установки E2G-1.4.0-rc4-r352 не сохраняются настройки конфигурации.
И при выводе галереи через [!easy2!] вот такая ошибка
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: include() [function.include]: Filename cannot be empty
Error type/ Nr.: Warning - 2
File: /home/ulproarc/public_html/assets/modules/easy2/snippet.easy2gallery.php
Line: 56
Line 56 source: include $e2g[’jsdisabled_tpl’];
Установил на локальный сервер - Denwer. Версия Denwer3_Base_2010-11-07_a2.2.4_p5.3.1_m5.1.40_pma3.2.3.exe с установленным пакетом расширений Denwer3_PHP5_2010-11-07_php5.3.1.exe.
Процесс установки:
1. Разархивировал архив в дирректорию с установленным MODx.
2. Создал в MODx новый модуль easy2, в поле "код модуля" вставил содержимое файла module.easy2gallery.php.
3. Обновил окно с MODx, в модулях появилась новая закладка easy2 и создался сниппет easy2 (панели модуля появились, реализуется загрузка фото в assets\images\gallery (путь указал вручную).
4. Вывод сниппета производил непосредственно из окна содержимого страницы.
Код в приложении.
Настройки сервера:
Apache 2 + SSL, PHP 5.3, MySQL 5.1, phpMyAdmin,
Версия MODx:
MODx Evolution 1.0.4
E2G-1.4.0-rc4-r352 by goldsky ставится по-другому. Или это не мне ответ?
1. Unpack archive in root folder of you modx installation
2. If this is your fresh installation: create a new folder ’gallery’, the default path is assets/images/gallery.
You can change this from the default.config.easy2gallery.php (fresh installation) from this value:
’dir’ => ’assets/images/gallery/’,
If this is an upgrade, this module will use the existing config.easy2gallery.php values.
3. Create new module, name it anything (Eg: Easy 2 Gallery), paste
include(MODX_BASE_PATH.’assets/modules/easy2/index.php’);
, click save.
4. Refresh modx manager, then open the module tab.
5. Install following instructions.
6. If install is successful, remove install folder, manually or by clicking delete button. module won’t work if this folder exists.
Модуль работает. Картинки добавляются, но не сохраняется конфигурация (в принципе можно в пхп файлах руками настроить). Но почему не выводятся картинки не понятно.
Дополнение.
Поставил версию 1.3.5 Она явно проще. НО. Конфигурация запоминается.
Так теперь вот такая ошибка вылезает:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: include(/home/ulproarc/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/ulproarc/public_html/manager/includes/document.parser.class.inc.php(746) : eval()’d code
Line: 1