Моя проблема была зарыта в плагине TransAlias, а конкретно в Remove Periods. Ставим в No и происходит чудо. Надеюсь это кому-то поможет.
уважаемый goldsky, хочу сделать вывод слайдера (slider-rotator), который берет изображения из 5 дочерних документов, ближайших к сегодняшней дате. Дата в дочерних берется из [+myDate+].
такая функция возможна?
-
☆ A M B ☆
- 3,112 Posts
Quote from: Trent at Feb 04, 2012, 11:29 AMуважаемый goldsky, хочу сделать вывод слайдера (slider-rotator), который берет изображения из 5 дочерних документов, ближайших к сегодняшней дате. Дата в дочерних берется из [+myDate+].
такая функция возможна?
Yes.
Take a look at the easy2's
wild (query) parameters, you can get anything from the database field.
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.
goldsky, я плохо понимаю в SQL,
Взял для примера:
[!easy2? &gid=`3` &where_file=`id, less, 50 AND size, less, '15000' OR size, greater, '90000' OR name,equal,'ANDROMEDA' OR name, equal, 'BORG'`!]
Мое условие:
id, tv.myDate <= 5 дней от сегодняшнего числа, то вывести на экран фото из tv.image из дочерних родителя с id = 3
[ed. note: Trent last edited this post 14 years, 8 months ago.]
-
☆ A M B ☆
- 3,112 Posts
Hello russian friends,
I could not help
Trent for the cyrillic problem, since he upgraded from 1.3.5 to 1.4.10-rc3.
Easy 2 just could not write the right character.
Could you please help me out to fix the problem?
I believe, it's all about
encoding.
But where?
Thx ahead.
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 с картинкой, как будто я нажал на thumbnail. подскажите, что-то совсем не пойму..
-
☆ A M B ☆
- 3,112 Posts
@UnitZ,
Just create the new template.
See the example in the assets\modules\easy2\templates\default\
You can create chunk, or just passing the template file's path if you like to do it file-based.
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 не показываются изображения с русскими именами, 1.3 показывал. Сайт на utf-8. Может как-то можно автоматически транслитировать имена файлов при закачке? Как я понял, Transalias мне в этом поможет, но что-то не пойму как его прикрутить? Или как починить вывод файлов с русскими именами?