Page 1 of 1
Photos sequence order
Posted: 04 Jan 2015, 01:05
by kungphoto
Hi Karl,
just receive your PM, you say
For now, you can try to use sort:asc or sort:desc in your page gallery setting:
does it only work on next ver of X3? because it seem not working on my website..
gallery: sort:desc assets:engagement wide hover-scale grid:160,1 crop:1,1
but nothing change
Re: Photos sequence order
Posted: 04 Jan 2015, 01:17
by Bulletproof IT
Example from documentation
GALLERY
tooltip:title,descripton crop:1,1 sort:desc sort:asc hide text-center hr(horizontal rule) title-xsmall title-small title-large title-xlarge frame hover title-clamp:1 description-clamp-3 landscape portrait]
I could not find any other examples of SORT and other instances of options available for use within the gallery or menus etc...
It only talks about the numeric prefix and the Gallery example above.
We really need to have EVERY variable/option available for use on each page and the available options / settings for it. But the documentation is a Work-In-Progress.
But Karl probably won't have time to dedicate to *everything* being included in the documentation until X3 goes live and publicly available.
Re: Photos sequence order
Posted: 04 Jan 2015, 01:21
by Bulletproof IT
@Kungphoto
Actually, look in your examples.
\3.examples\3.variations\6.utilities\page.yml (Examples)
\3.examples\4.other\blog\page.yml
\3.examples\4.other\1.settings\page.yml (Folder Examples)
I hope that helps with sufficient examples of SORT: usage.
@KARL
You may want to fix the following mistake.
# sort:asc // Sort items in ascending order.
# sort:desc // Sort items in ascending order. <<--- DESCENDING
Re: Photos sequence order
Posted: 04 Jan 2015, 01:42
by kungphoto
@Bulletproof IT
but why it doesn't working on my website??
on all 3 pages under Engagement
www.kungchan.com
Re: Photos sequence order
Posted: 04 Jan 2015, 03:28
by Bulletproof IT
Paste the code and what "entity" you are putting it under.
The example in on the documentation website only includes 1 example.
tooltip:title,descripton crop:1,1 sort:desc sort:asc hide text-center hr(horizontal rule) title-xsmall title-small title-large title-xlarge frame hover title-clamp:1 description-clamp-3 landscape portrait]
This was under the Gallery. The gallery is the Thumbnail view of the images.
Tool Tip had the property.
Perhaps replicate what the documentation is showing you and see if you can do the same thing. Make sense?
So do the same in the doc's and if it still does not work then you know there is a problem!
Good luck!
Re: Photos sequence order
Posted: 04 Jan 2015, 04:01
by kungphoto
sort:desc assets:engagement wide hover-scale grid:160,1 crop:1,1
sort:desc assets:engagement text-center scrollnav screenbox-90 screenbox-80
sort:desc assets:engagement contain slideshow autoplay startFullscreen loop
My file no. is A_001.JPG, A_002.JPG, A_003.JPG, ..... and so on
www.kungchan.com
Re: Photos sequence order
Posted: 04 Jan 2015, 06:24
by mjau-mjau
Sorry, I checked and this setting was only added to folders and not available to "gallery" yet. You can download the following file
module.gallery.html, and replace
/templates/partials/module.gallery.html on your server, and then you can use sort:desc inside the gallery option.
The "sorting" in X3 is currently just a quick-fix solution, because we want to work with a consolidated approach soon, which will offer more sorting option combinations:
name/date/size/shuffle/ascend/descend
Re: Photos sequence order
Posted: 04 Jan 2015, 07:01
by kungphoto
Re: Photos sequence order
Posted: 04 Jan 2015, 07:13
by mjau-mjau
I tested that it works, but you may need to make a CHANGE on the page to force a refresh of cache so that the page is rebuilt from fresh template. Also, try sort:asc and sort:desc just to see if there is a difference in output.
Re: Photos sequence order
Posted: 04 Jan 2015, 08:46
by kungphoto
OKAY! it finally work, thx Karl