Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

SortOrder in Configuration


Reply


664 Views

Avatar
ivo

Community Member, 19 Posts

21 July 2010 at 10:01pm

hi all, hi Uncle Cheese
i was searching for an option to define the sortorder of the images from the ImageGallery for the frontend.

thanks to the forum i set it in the config file to:
SortableDataObject::set_sort_dir("DESC");

In Model for ImageGalleryPage there is also an option for the sortOrder which is as default: SortASC.

Wouldnt it be easy to include a choice for that in the Configuration Tab?