Ugh, what a horrible subject for this thread.
I have several categories on my site. I'm setting it up so that if you click on a "news" item, the item is displayed using viewnews.cgi and the "news" style. If you click on an "article" item, the item is displayed with viewnews.cgi using the "articles" style. All well and good and easy to do after reading the docs.
Now, I"d like to make a "recent submissions" list that would link to the 10 most recent items from the news and articles categories (and any other categories I add). However, I need to make the "recent" news style detect the category and choose an appropriate news style to insert into the hyperlink. I know there's some if/then scripting I can do, but I'm not sure where to begin. I don't really know cgi.
I figure if I could figure out how to do that, I could probably do a listing of submissions filtered by author as well. I couldn't find a tutorial on this, so I apologize if I'm missing something obvious. Thanks.
EDIT: okay, I guess I did miss something obvious, the style doc under official files. I might actually be able to figure that If stuff out after all.