The sort order for my active resource section isn't in alpha or numerical order... It isn't even in the order that they pages were created... How do I sort the list at all???
I guess it is v4. They should be sorted by purchase date. This order can be changed. You have to customize /amember/application/default/views/blocks/member-main-resources.phtml change this block: PHP: <?php foreach ($resources as $r): if ($l = $r->renderLink()) : ?> <li><?php echo $l; ?></li> <?php endif ; endforeach ?> PHP: <?php usort($resources, create_function('$a, $b', 'return strcmp($a->getLinkTitle(), $b->getLinkTitle());')); ?> <?php foreach ($resources as $r): if ($l = $r->renderLink()) : ?> <li><?php echo $l; ?></li> <?php endif ; endforeach ?>
That worked- thanks. (just copy and paste that 1st line above the existing code). I'd request this be added as an option in the GUI of the links page. Sort by Title / Access Date Or a sort order field like you have in products. David
Was this ever implemented? I'm not seeing any options to sort active resources. I even uploaded my files in order of how I wanted them sorted and it still sorted them randomly on the member page. wtf?
Unfortunately, this option has not been implemented yet, it is in development for next major release. If you need this ASAP, please contact us via helpdesk and we will try to give you solution for your case.