Very quick question: sort weblog entries by status?
Posted: 23 November 2008 02:12 PM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-24-2003

I searched a bit but these are just very common words and no luck after 3 searches to 10 pages each.

I have a small weblog for services, and I thought I would use a custom status to track the real status of the service. I realise that statuses are mostly meant for workflow, but it seemed like a simple way to do it.

Is there a way to order weblog entries by the status value? I would hate to have to use 4 weblog:entries tags with hardcoded status :S

 Signature 

—-
err, what happened to all the posts I did back in 2002/2004? I want my fancier status back smile

http://www.iphi.net
Iphigenie in twitter / blipfoto / google / pownce / diigo / profilactic / mybloglog / and loads more
Superiphi in yahoo / flickr / lastfm / digg / technorati / upcoming and loads more

Profile
 
 
Posted: 23 November 2008 04:59 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2551
Joined  05-07-2007

Greetings!

I think you’d want to use the orderby=”“ parameter, but I do not think it’s going to order by the status.

I’ll double check for you, but I think using the 4 weblog entries tags might be the way you need to go.  If you’re making sure to use the disable parameter, I don’t think you’ll see a noticeable performance hit.

-greg

 Signature 
Profile
MSG
 
 
Posted: 24 November 2008 09:24 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-24-2003

I ended up doing that, and for this small content type there was no penalty

I won’t be using the status field for entry status anymore, will leave it for workflow status. Especially since you have to remember to add the custom statuses to every tag you use, which is probably something you’ll forget everytime you go back to the site after months

 Signature 

—-
err, what happened to all the posts I did back in 2002/2004? I want my fancier status back smile

http://www.iphi.net
Iphigenie in twitter / blipfoto / google / pownce / diigo / profilactic / mybloglog / and loads more
Superiphi in yahoo / flickr / lastfm / digg / technorati / upcoming and loads more

Profile
 
 
Posted: 24 November 2008 10:06 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2551
Joined  05-07-2007

yeah, exactly my thoughts.  I’m glad you have a good working solution now.  I’m closing this one out, but please don’t hesitate to start a new thread should anything else come up!

-greg

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66391 Total Logged-in Users: 52
Total Topics: 84716 Total Anonymous Users: 14
Total Replies: 454696 Total Guests: 181
Total Posts: 539412    
Members ( View Memberlist )