http://www.animecards.org/encyclopedia/publishers
*sigh*
I want to use the book module because of it's nifty navigation features. However, I am creating an encyclopedia that users will have to contribute to; the data should be uniform based on the encyclopedia section. For example, for publishers, the title should be the company name, there should be links to the company website, and some notes.
I thought I would get away with it by just using book pages and inserting a template, but the suggestion came up to use CCK.
I have been thinking about using CCK for a while, but I do want that easy to add part... I want it to be easy for users to contribute. If this doesn't work out I will go back to the template idea.
Anyway, I set up a CCK type node called publishers. I set up a view called publisher list, it prints out a list of the node titles of every node that is a publisher type.
I inserted that view into the book. http://www.animecards.org/encyclopedia/publishers
I created a node of type publisher, and inserted it into the book.
You will see the word Amada linked to 3 times here. 1 is the link generated by the view module, it is inserted into the book page. 2 is the normal book page. 3 is the publisher type node.
All I want to do is hide 2 and 3, because it will be redundant. I don't want to touch the add child page, or change any functionality. I just want to hide the child pages on THIS page. I will probably want the child pages to show up on the parent page, so I don't want to disable them for all books, or all of one book, just certain pages in one book.
Ideas? Did a search, but nothing came up.
I think I should be able to theme it away (display none?), but how do I make it specific to a certain page?
Anisa.
Comments
The child pages and the
The child pages and the before next links are part of the book-navigation class.
I only wanted to get rid of the child pages on 1 page, so I embedded this:
This creates an extra line in my theme, because the child pages were surrounded by an hr, but it works for me!
http://www.animecards.org/encyclopedia/publishers
Anisa.
-----------------------------------------------------------
Kindness builds stronger bonds than necessity.
www.animecards.org - 16,000 card scans and counting!
-----------------------------------------------------------
what did you embed?
It seems that a code is missing in your post.
Durval Tabach
Durval Tabach
Oh, dear, I see what you
Oh, dear, I see what you mean.
But now I have completely forgotten, and since you replied, I can't edit my post, I'm sure it's somewhere in there.
I believe what I did was simply turn a tag to display none on that page...
Let's see...
ってとこかなー.
Hope it helps! ^.^
Anisa.
-----------------------------------------------------------
Kindness builds stronger bonds than necessity.
www.animecards.org - 18,000 card scans and counting!
-----------------------------------------------------------