Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-07 17:00:22

NicChen00
Member
From: Edmonton
Registered: 2011-08-05
Posts: 15
Website

upm_image sorting

is there a way to sort images so the newest image shows up first instead of last? i looked at the a past posting (
http://forum.textpattern.com/viewtopic.php?pid=197471) and it said you could sort by date but it didn’t say how. a example would be very much appreciated. thanks.

Offline

#2 2011-09-07 18:06:47

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: upm_image sorting

I’d try sort="date desc", looks so brazen familiar.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2011-09-07 18:39:59

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: upm_image sorting

Why you need upm_image? You can make it with <txp:images /> and the attribute “sort”, just as uli wrote.

Offline

Board footer

Powered by FluxBB