Count, Orderby and Sort in GX2 entries tag? 
Posted: 25 January 2008 11:52 AM   [ Ignore ]
Newbie
Avatar
Rank
Total Posts:  5
Joined  2008-01-25

Hello and this is my first post in this forum having to do with the gallery:extended:entries tag.

1) It seems that the parameters “sort” and “orderby” are not available in the tag?

2) It also seems that the variables {count} or {total_count} are also not available in the tag?

3) Is there any other way I can sort, order, or count the entries via the tag?

The reason why I am asking is because I have a template two tags pulling from the same gallery and same type.  One tag is for a larger image version, and the other tag is for the thumbnails.  On this same page I have a javascript that dynamically updates the larger image with the proper image whenever one clicks on a thumbnail.  Guess it is easier to just show you:

http://www.zlokk.com/index.php/products_dev/detail/53/category/2/#

Now the issue here is that the first image in the thumbnails is the same as the first image that is shown in the larger image section.  I need a way to tell the tag to reverse the display of the thumbnails so that the first image shows last.  I also need a way to tell the tag that if there is only one image, do not show any thumbnails.  This is where the parameters “sort” and “orderby”, as well as the variables {count} or {total_count} would be extremely helpful.  Being mindful that documentation may be lacking in some areas, I already tried these parameters and variables to no avail.

So… Is there a way, or do I need to put in a feature request?

 Signature 
Profile
 
 
Posted: 25 January 2008 12:11 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

Sinthramyr,

I’m sorry to tell you, but these parameters/variables are currently not yet available, although they are on the top of the list to get implemented.
They should be available sometime in the near future. smile

I apologize for the inconvenience.

Hehe, if it makes you feel any better, I think your site looks very acceptable the way it’s currently set LOL

 Signature 
Profile
 
 
Posted: 25 January 2008 02:05 PM   [ Ignore ]   [ # 2 ]
Newbie
Avatar
Rank
Total Posts:  5
Joined  2008-01-25

Thanks, Pie Man, for the quick response.  It is not a very high priority for me, just an annoying little detail that I guess can wait.  grin Any idea how soon the “near future” is?  heh heh…

 Signature 
Profile