I am working with the book review module, a movie review module and a couple of other content modules. But on the main page, it gets confusing as to what node-type it is.
My current solution is to use the taxonomy with names that describe the node-type like this:
"Book Review - Sci-Fi / Fantasy"
"Book Review - Mystery"
"Story - Sci-Fi / Fantasy"
"Story - Mystery"
"Movie Review - Sci-Fi / Fantasy"
I have two problems with this. 1) I don't really want the taxonomy terms to be so long. 2) I'd really like to have the node-type listed separately.
I'd like to do one of these two things:
1) Set up a tree-like taxonomy and display both the parent term and the specific term on posts.
2) Display the node-type in addition to the taxonomy term.
Can anyone help me do one of these two things?
Comments
Reproduce your content types in the vocabulary as parent terms
In the categories settings, set up a main vocabulary to be something like 'content types', then put three terms underneath, Book Review, Story, Movie Review. On 'edit vocabulary', check that all your content types are assigned to the vocabulary. Then you can add Sci-Fi/Fantasy, Mystery, and whatever other genre categories to each of these review types separately. That way, the content type will show up in the breadcrumbs above the post. You have the additional option of how much of this structure you then want to show in the menu.
Mark
______________________________
http://www.wilba.org
Thanks, this was exactly
Thanks, this was exactly what I was looking for too (though I wasn't the thread starter.)
Take out Human Error?
Is there a way to take the human element out of it? In other words, is there a way to have the "content type" automatically assigned without allowing for users to change it?
The thing is, my book review module/node, my movie review module/node and the story/node are completely different nodes. I don't want someone to be able to assign a "story" content type to a movie review node, and so on.
-- Coplan
Figured one possible hack/solution...
figured out one method, but it requires hacking your theme(s). First, I'm using phpTemplate theme engine. I can add the nodetype anywhere in the node.tpl.php file by using the variable: $node->type.
I would still like to know if there's a way to do this without having to hack the theme.
-- Coplan