Hello
Sorry for late reply, some other tasks on that website were more important and now they want me again to fix this. I've re-checked module settings several times, and so far it seems that:
1. If source is set to "Select specific items",
- mod_sj_k2_slideshowii always sort items by ID ASC,
no matter what's set in "Item ordering"
2. If source is set to "Retrieve items from categories",
- module sorts items correctly, depends what's set in "Item ordering"
I've also checked helper_base.php file and I've found two main queries, one for "Select specific items" mode and one for "Retrieve items from categories" mode.
This function selects which query is executed:
if ($params->get('source') == 'specific')
Query for "Select specific items" mode doesn't have any sorting applied on it:
$db->setQuery($query);
$items = $db->loadObjectList();
Query for "Retrieve items from categories" mode does have sorting:
$query .= " ORDER BY ".$orderby;
$db->setQuery($query, $start, $limit);
$items = $db->loadObjectList();
Conclusion:
Query for "Select specific items" should take items from array constructed from
"Drag and drop to re-order items" setting and use it as ordering.
Btw. My client would like to avoid to give superadmin access to 3rd party.
Joomla 3.2.1
Sj K2 Slideshow II v.2.5 - December 2012
Regards