Placing Secondary Links in a Block

When designing a custom theme I sometime want to put the set of secondary, or sub-page links, inside of a block in the sidebar. The secondary links are the children of the primary links, which you designate when creating the links.

Category / Taxonomy term links list

If you, like me, thought that you could use the "views" module to create a list of all of the taxonomy terms in a certain category - you can't. Views only displays lists of nodes. So, here is the snippet of code that you need to create to that list of links (you could put it in a block):

 
 
Copyright 2008 Journey Multimedia, Inc. || 1947 13th Avenue Unit A, Greeley CO, 80631