Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: How is Slimbox2 sorting images?

$
0
0
Hi!

If I am not mistaken, no sorting is implemented in Slimbox2 (or it sorts by item IDs, which is transparent to the user).

You can however, extend the Slimbox2 function with the sorting order.
  1. In the C1 Console on the "Functions" perspective, expand XSLT Functions > Composite > Media > Image Gallery
  2. Edit the Slimbox2 function.
  3. On the Function Calls tab, select the Order By parameter.
  4. For its "Parameter Type" click Constant.
  5. In the "Parameter Value", select the field you want the imagesto be ordered by, for example, "Title" or "Filename".
  6. Save your changes.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>