Hello. First, if anyone is in the Los Angeles area and would like to get together for food/grog/and Drupalspeak, let me know. I'd be happy to participate in a Los Angles group. :)
To cases. I'm trying (not too successfully) to create a kind of table of contents for my visitors that lists postings (nodes) by title only (with a click to the the posting). I have created a Page with this snippet:
[code]
$result = db_query_range("SELECT n.created, n.title, n.nid, n.changed
FROM node n
WHERE n.status = 1
ORDER BY n.title
ASC ", 0, 10);
while ($node = db_fetch_object($result)) {
$output[] = l(($node->title), "node/".$node->nid);
}
return theme_item_list($output);
[/code]
Works well as I changed what was "ODER BY n.created" to title. However, it lists everything, and that's good for admin purposes but for visitor purposes I would like to focus in on only the relevant postings and to that extent, I have installed Flexinode to create a specific content type called Abstracts. I did this because our site is only about Abstracts so "story" was confusing and I didn't see where I could edit that to say "Abstracts" instead of "story". So Flexinode is great and everything appears to be fine in that regard with a new content type called Abstracts.
My issue is, apropos the above snippet, what someone clicks the respective link, they see a list of all content. My preferred objective is to limit this list to "only" the Flexinode content type of Abstracts (flexinode-1). I know from reading the forum that I can /flexinode/list/1 but that seems to give the postings, not merely the the clickable title (as would be a table of contents)..