Hi, I'm working an a site-specific admin interface. I want to give the logged-in user the possibility of "moving up" or "moving down" an article by switching its score with its predecessor resp. its successor within a topic. That's the way it's done in nadmin as well: all articles have a score from 0 to N-1 in a topic with N articles. Is there a way to find out the "index" of an article within a topic, if they're for example, retrieved by mgd_list_topic_articles_all and access its predecessor or successor via this "index"? Can I retrieve the articles under a topic by its score? (something as mgd_list_articles_with_score?) Or is there no other way than fetch them one by one, and copy their id's, scores in a user-defined array, so I can afterwards find out and modify the right articles with mgd_update_article_score (int id, int score)? Maybe some people had this problem before?
Regards, pascal __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
