If one wants to have multiple multi-page articles on a site, one seems to be really limited right now. Especially if one wants to have the nodes in an ordered tree and wants to be able to insert new nodes anywhere in that tree and also wants to be able to move nodes from one position to another.
So far I am using node_relativity which allows me to put nodes in a tree, but that tree is only ordered by the nodes id. I also had to heavily modify the output of the module as I need to output a table of contents of the article.
Another module I had a look at is nodeorder. This module offers a nice frontend for ordering nodes but does so in a flat system and for the whole site at once. Also it changes a core table which isn't desirable.
My idea is to write a module that uses the frontend of nodeorder but changes the relativity table instead of a core table to store the ordering information. Also it would use part of the relativity module to generate the tree.
Has something like this been done before? Any ideas or things that I need to take care of?
Thanks,
Niels
Comments
Great Idea
I think this could be a great idea-- the one thing I like about the book structure is the organization. What I do not like is that we cannot use that structure outside of the book module. I would like to see this something like a menu/node weight that could be added to any content-type. Then, you could add a block region-- maybe one that would listen for node and produce the navigation tree and the position of the standing node.
Tech - http://technicalmike.blogspot.com
Rants - http://mikedewolfe.blogspot.com
Etc. - http://mike.dewolfe.bc.ca
Whimsy - http://www.thosedewolfes.com/
My First Drupal site - http://www.comminit.com
Work - https://www.shawndewolfe.com/
Education - https://cinchacademy.com/
Etc. - https://shawn.dewolfe.ca
My First Drupal site - http://www.comminit.com