Подскажите пжста,
из-за чего происходит такое:
модуль установился с треском, но встал (Easy 2 Gallery 1.4.0 - RC 1 update 246)
фото грузится и все остальное в модуле ок, но при вызове галереи на странице выдается ошибка:
Fatal error: Call to undefined function filter_var() in bla-bla-bla-......./assets/modules/easy2/includes/configs/snippet.params.easy2gallery.php on line 14
А в IE вообще страница пустая из-за этого
-
☆ A M B ☆
- 3,112 Posts
@workot,
Ow... I use the
filter_var function.
I believe, your PHP version is below 5.2.0 ?
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.
PHP Version 5.2.10
MODx - 1.0.4
-
☆ A M B ☆
- 3,112 Posts
you can try to disable this part of code for a while.
i’ll look for another way to sanitize input.
<?php // only highlighting
//if (isset($_GET)) {
// foreach ($_GET as $v) {
// if (!is_numeric($v)) {
// $v = filter_var($v, FILTER_SANITIZE_STRING);
// }
// }
//}
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.
Вот бы было здорово написать плагин для TinyMCE. Нажал на кнопку, выбрал галлерею для публикации или просто картинку и он вставил в текст вызов сниппета. Кто нибудь из присутствующих способен на такое ?
-
☆ A M B ☆
- 3,112 Posts
Quote from: DreamCast at Jul 14, 2010, 06:25 AM
Вот бы было здорово написать плагин для TinyMCE. Нажал на кнопку, выбрал галлерею для публикации или просто картинку и он вставил в текст вызов сниппета. Кто нибудь из присутствующих способен на такое ?
If you place the gallery under the assets/images/[gallery] , TinyMCE can access all images directly.

No more plugin is needed.
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.
eah TinyMCE can access images directly, but i need solution when TinyMCE plugin generate snippet call ([!Easy2gallery &galleryID=`xyz`!]).
-
☆ A M B ☆
- 3,112 Posts
eh?
do you have problem when using the snippet call on TinyMCE?
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.
Quote from: goldsky at Jul 14, 2010, 06:48 AM
eh?
do you have problem when using the snippet call on TinyMCE?
no problems, but you need to write code called hands. want to simplify the task. chose the pictures and he wrote a plugin call snippet
in other words, want to get the call management module galleries directly from the editor
p/s/ google translate
Покопавшись в теме, нашел что подобный вопрос уже поднимался. Самым лучшим обьяснением того что хочется является это
http://code.google.com/p/tinymce-gallery-connection/
переделать бы для easy2gallery и цены бы этому модулю не было.
2goldsky
need something like that:
http://code.google.com/p/tinymce-gallery-connection/
but only to connect timymce and easy2gallery