Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

List all Weblogs (See related posts)

{exp:query sql="SELECT weblog_id, blog_name, blog_title, blog_url FROM exp_weblogs WHERE weblog_id != '100' ORDER BY blog_title"}
<li><a href="{blog_url}">{blog_title}</a></li>
{/exp:query}


Lists all weblogs in one installation and shows how to exclude one by example.

Comments on this post

iconolith posts on Sep 04, 2008 at 22:01
I was looking for just this very thing. Works like a charm. Thanks!

You need to create an account or log in to post comments to this site.