Hi Bob,
You can override theme_upload_attachments: http://api.drupal.org/api/function/theme_upload_attachments/6
Put something like the following in your template.php.
YOURTHEME_upload_attachments($files) { // Reverse files $files = array_reverse($files) return theme_upload_attachements($files); }
Good luck, Maarten van Grootel
On Wed, Mar 4, 2009 at 3:43 PM, Bob Smither Smither@c-c-i.com wrote:
Dear List,
I am using D5 and have a page with several attached files (see: http://lrcf.org/Spotlight). When I upload a new file and attach it to the page, it is listed at the end of the list.
Is there a way to reverse this behavior so that the latest uploaded file is always placed at the top of the list?
Thanks,
Bob Smither, Ph.D. smither@c-c-i.com
The Three Great Lies:
- Your check is in the mail.
- I'll respect you in the morning.
- We're from the government and we are here to help you.
====================================================================
-- [ Drupal support list | http://lists.drupal.org/ ]