slideshowpro album sorting problems

verlierer - June 20, 2008 - 18:27
Project:SlideShowPro
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:minor
Assigned:Unassigned
Status:active
Description

Hello, thank you for your work on this Alex, its been very helpful.

I was having some issues with sorting the order the albums were output in the xml. Basically, no matter what I did in the view filters (or sort,) or what the name and weight of gallery terms were, the albums were output by term id. (ie term id 23,24,25,26....)

I've gotten this to work for me now... but only after I removed this line from the module:

  ksort($albums);

from the code block:
  ksort($albums);
  foreach ($albums as $tid => $images) {
    $output .= _slideshowpro_xml_album($album_terms[$tid], $images);
  }

What is ksort() anyway? I can't find it in the API.
thx

#1

verlierer - June 20, 2008 - 18:28

oh yeah... I'm using 5.7

 
 

Drupal is a registered trademark of Dries Buytaert.