Re: [development] development] Book to Book-Pages... Many to many
Dan- Funny enough, I'm writing a "skeleton outline" module for D5 right now to address a similar problem. The skeleton module (when finished) will let you define an outline for new books, including default node content and settings for each book page. Then you will be able to create new "instances" of each skeleton as a new book. The result is cloned nodes across several books, which sounds like your goal. Send me a note offlist and I can send you some code. - Ken Rickard agentrickard ------------------------------
Message: 6 Date: Fri, 8 Jun 2007 14:02:11 -0600 From: "Daniel Hilton" <dunghopper@gmail.com> Subject: [development] Book to Book-Pages... Many to many relationship?? To: development@drupal.org Message-ID: <3902af2f0706081302h719ada2et13f5b7dbea3e53c0@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Here's my situation:
I'm in the process of importing dozens of paper (Word document) manuals into my Drupal intranet site as books.
One of the main goals of this project is to reduce redundancy... in the word-document / file share set up, each manual is duplicated five times, once for each region in which my company operates. Some of the documents are identical across all regions, yet we still maintain 5 copies of the document. (Yikes!) Others are unique to a region (thus the separate copies of the manuals).
This brings us to my dilema: It seems that the book module won't allow the same node to be placed in multiple books, meaning my goal of redundancy reduction is out the window!
Does anyone have any suggestions about how to accomplish the functionality I'm looking for (adding a single node to multiple books)?
I'm sure I could hack the book module to make it work, but I've really been trying not to tamper with core modules.
Has there been any discussion on this topic before? Does anyone wish to discuss the possibility of adding this to the book module officially?
Thanks for any input.
Dan
Ken, 2 questions... 1) Why does your email client (which appears to be gmail) change the subject on threads? Not a big deal, but it tends to branch the discussion when viewed by thread... http://lists.drupal.org/pipermail/development/2007-May/ 2) Are you working with joshk <http://groups.drupal.org/user/429> who is on a "quest to bring book.module to the next level as outline.module in Drupal 6.0"? http://groups.drupal.org/node/4118 - Kevin Reynen On 6/8/07, Ken Rickard <agentrickard@gmail.com> wrote:
Dan-
Funny enough, I'm writing a "skeleton outline" module for D5 right now to address a similar problem.
The skeleton module (when finished) will let you define an outline for new books, including default node content and settings for each book page. Then you will be able to create new "instances" of each skeleton as a new book. The result is cloned nodes across several books, which sounds like your goal.
Send me a note offlist and I can send you some code.
- Ken Rickard agentrickard
------------------------------
Message: 6 Date: Fri, 8 Jun 2007 14:02:11 -0600 From: "Daniel Hilton" <dunghopper@gmail.com> Subject: [development] Book to Book-Pages... Many to many relationship?? To: development@drupal.org Message-ID: <3902af2f0706081302h719ada2et13f5b7dbea3e53c0@mail.gmail.com > Content-Type: text/plain; charset="iso-8859-1"
Here's my situation:
I'm in the process of importing dozens of paper (Word document) manuals into my Drupal intranet site as books.
One of the main goals of this project is to reduce redundancy... in the word-document / file share set up, each manual is duplicated five times, once for each region in which my company operates. Some of the documents are identical across all regions, yet we still maintain 5 copies of the document. (Yikes!) Others are unique to a region (thus the separate copies of the manuals).
This brings us to my dilema: It seems that the book module won't allow the same node to be placed in multiple books, meaning my goal of redundancy reduction is out the window!
Does anyone have any suggestions about how to accomplish the functionality I'm looking for (adding a single node to multiple books)?
I'm sure I could hack the book module to make it work, but I've really been trying not to tamper with core modules.
Has there been any discussion on this topic before? Does anyone wish to discuss the possibility of adding this to the book module officially?
Thanks for any input.
Dan
On 6/8/07, Ken Rickard <agentrickard@gmail.com> wrote:
The result is cloned nodes across several books, which sounds like your goal.
Here's the magic question: Are the nodes in each "instance" really clones, as you described, or are they actually just a single node? I'm hoping for the latter: I need to be able to edit the node once, and have it changed in every book or outline it lives in. Something like symbolic links, in filesystem terms. Let me know which way it works. Thanks for the fast reply! Dan
Will the html2book module accomplish (or come close) what you need? http://drupal.org/project/html2book -- Cheers, Bill Daniel Hilton wrote:
On 6/8/07, *Ken Rickard* <agentrickard@gmail.com <mailto:agentrickard@gmail.com>> wrote:
The result is cloned nodes across several books, which sounds like your goal.
Here's the magic question: Are the nodes in each "instance" really clones, as you described, or are they actually just a single node? I'm hoping for the latter: I need to be able to edit the node once, and have it changed in every book or outline it lives in. Something like symbolic links, in filesystem terms.
Let me know which way it works. Thanks for the fast reply!
Dan
-- Bill Fitzgerald http://www.funnymonkey.com Tools for Teachers 503.897.7160
participants (4)
-
Bill Fitzgerald -
Daniel Hilton -
Ken Rickard -
Kevin Reynen