<![CDATA[ Finding The Ultimate Template Variable for Easy 2 Gallery - My Forums]]> https://forums.modx.com/thread/?thread=50727 <![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-465771 goldsky May 08, 2013, 10:12 PM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-465771 <![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-464970 1.4.12-pl, on php 5.4
and receive error:
Illegal string offset 'src'	 
  Error type/ Nr.:	Warning - 2	 
  File:	/home/clients/minefield_ftp0/domains/formafit48.ru/html/assets/modules/easy2/includes/models/e2g.snippet.class.php	 
  Line:	1385	 
  Line 1385 source:	 $ssCheckDuplicate[$v['src']] = $v['src'];


p.s. Hosting www.ipipe.ru]]>
doc777 May 01, 2013, 07:23 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-464970
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296743 In e2g I have root directory with 5 img
In root i have folder f1 with img
In root I have folder f2 with 3 img

If I select in this template only folder f1 and f2, it shows correctly images from those folders on page
If I select f1 and some image from f2 folder, it shows only all images from root
If I select some images from f1 and some image from f2 fodler, it shows only all images from root
If I select root and any other folder or image, it shows only all images from root
It means, that this tv shows images correctly only if I select folders (other then root)]]>
kudykam Nov 03, 2010, 05:11 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296743
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296742 http://modxcms.com/forums/index.php/topic,55353.0.html
You can test this on the localhost first, since you may forget on choosing your own settings]]>
goldsky Oct 06, 2010, 08:56 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296742
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296741 Quote from: mmice at Oct 03, 2010, 01:26 PM

Hi, Goldsky! How is it going?

Sorry do distirb you, - but may be (as a temporal solvation for my need) you could point some string at the code, - where i could place a filter like (show only event’s after current date). It would be enough for current project.

Thank you!
Actually it’s too complicated to be said as a patch. The changes are scattered in every where.
Just give me more time, now I only need to complete the User Mgmnt, then it’s done.]]>
goldsky Oct 04, 2010, 01:24 PM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296741
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296740
Sorry do distirb you, - but may be (as a temporal solvation for my need) you could point some string at the code, - where i could place a filter like (show only event’s after current date). It would be enough for current project.

Thank you!]]>
mmice Oct 03, 2010, 08:26 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296740
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296739 mmice Oct 01, 2010, 02:06 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery?page=2#dis-post-296739 <![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery#dis-post-296738 I just succeeded adding &where_* filter, well, which in my opinion it’s even better and easier than Ditto, because you don’t have to remember number, it says as you say it: less, greater, equal

  • &where_dir
  • &where_file

example call:

[!easy2? &gid=`2` &where_file=`id, less, 50 AND size, less, ’15000’ OR size, greater, ’90000’ OR name,equal,’ANDROMEDA’ OR name, equal, ’BORG’`!]
The names were the tests of the content string against the operator string (AND & OR).
I will let you know when the package is updated.]]>
goldsky Sep 30, 2010, 08:57 PM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery#dis-post-296738
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery#dis-post-296737
- it’s through Ditto, so that i shall make modx page as the announce (and it’s still a problem to show attached by TV easy2 thumb by means of Ditto)
- i can use this one thing: http://modxcms.com/forums/index.php?topic=53338.0 - it allows to filter topics by TV
- the only addition is: adding date TV, and also we can add holiday\no_holiday TV

But it’s so hard and sure not straight )))
Hope, you can help with something to do it through easy2 only )]]>
mmice Sep 30, 2010, 04:53 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery#dis-post-296737
<![CDATA[Re: Finding The Ultimate Template Variable for Easy 2 Gallery]]> https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery#dis-post-296736 Have you any suggestions for the case?

Refreshing: the case is to call easy2 by date(current). So that, if pagination used, - easy2 call shows the page, where files are nearest to the date.]]>
mmice Sep 30, 2010, 02:10 AM https://forums.modx.com/thread/50727/finding-the-ultimate-template-variable-for-easy-2-gallery#dis-post-296736