i've installed cck from cvs. I made a node called "module review." how do i add 'previous page", "next page" and "add a child page" links to the node? Ideally I'd like to have "add a sibling page" link as well. This is functionality provided by the book module (except for the sibling page link). I looked at the pages in the handbook, 37767, 45050 but I don't know how to adapt them for cck. also, one of them says it only works for nodes promoted to front page, which I don't want.
I could hack book.module and rename it "modulereview" except I want about 5 fields. If it's easy to add 3 fields to book.module (all of them short text) and someone can explain how I can do that also.
I posted this question at
http://drupal.org/node/54984 but no one answered. I posted it later in the day and I have this hypothesis that I get more answers if I post early in the day so I'm trying now.
thank you.
Comments
You might just use the book module outline function to adapt
your CCK content This may not be what you want exactly, but its an easy work around with out trying to code an individual cck node type, You can simply select the add to outline and toda = now your newly created content is a book. You can also use the new Category module ( http://drupal.org/node/39683 ) which will make almost any node type outlinable to a category, in this way you might get better results because you can add "sub categories as CCK node types" to an existing CCK node type if it has a category type outline allready, the only down side with the book outline is that you can't simply create and add new cck's content with out posting it and than re-editing it to add a book outline to it, but if your using the category module and adding it to a category outline, which you have already outlined a previous CCK content type. than you simply select add to category while creating your new node. Hmmm maybe a bit confusing,
I suguest you just check out the new Category module as it has lots of options you may be interested in, though keep in mind its still somewhat prebeta, and only works with CVS 4.7
One more module worth mentioning is tagnode which works with
categories and node types. you can find it here ...( http://drupal.org/node/32905 )
thx
thank you. i've been afraid of the category module because of the dire warning on the download page. but i'll give it a spin. have you used it and tagnode?
Yep used them both
and new features all the time with Cat module.
I install it and test it on a new cvs rev, from time to time just to test the new features, compatibility, etc. I find it helpful to have a few test sites for beta modules. Very cool for future knowledge of what will be possible.
If you think about it Drupal 47's compatibility with these modules may also change on and off a bit over the next few months, for instance I just found out the image module needs updating now for 47.B6, but worked fine with 47 B4.
CCK is also very pre beta and will receive a lot of new features and updates in the upcoming months. ( Test for future relevance ) this really may be the best practice for some time, If a rev, gets to out of wack, I will just install a new rev, or future RC, and start over, as there is still a lot of fixes and improves happening all the way around.
I don't like tagnode as much, as it requires that categories use extra tags to do the display work, though it's worth investigating if you have the time.
http://animalsoftheworld.net comming soon