#2 Jan 19, 2010 20:54
1. Is there a way to display all untagged posts? I tried taking the tag name out of the URL, and that just displays all posts.
Once you get item IDs you can use ItemList and set_filters
2. How can I get to the variable containing the table prefix? I assume it's out there somewhere, as it's in the config file and I was able to find other data in the config file (host name, database name, etc) under $DB, but I can't track down the table prefix.
Use T_ prefix in your queries, it will be automatically replaced with the real tables prefix