Hi

Just a simple Question:
How can I link a child page to multiple parent pages?
Example: On all main book pages there needs to be a link (in the book menu) to the same child page.

Is this possible with the book, story or page module?

Regards J!

Comments

jorisx’s picture

It sounds so simple, but I can't seem to find a sollution...
Anyone?

Http://www.reloadmedia.com

jorisx’s picture

I've found this project: http://drupal.org/node/5901
Is there any one who has sollution for adding nodes to multiple parents? (in books)

Http://www.reloadmedia.com

jorisx’s picture

Hi,

nobody replies so I ask my question again and explain a bit more :-)

I've this site where there are some book pages with child pages
The primary menu links to these book pages

But some of the child pages need to be linked to 2 or more book pages...

is this possible/how can I fix this

Regards, J!

Http://www.reloadmedia.com

cameron32’s picture

Hey J, I know what you're going through with posting a thread where the only person who responds is YOU! : )

I'm new to Drupal myself, but I think that one solution may be to use the url alias function in combination with the menu admin to make an alias for the child page which you then add to the menu you want it to appear on, then add it to the menu.

The alias might not even be necessary, though. You should be able to go into admin > menu and add an item to multiple menus...but I haven't tested that.

Good luck,
Cameron

jorisx’s picture

Thanx,

I thought there wooud be a really simple sollution. This seems to work!
Super!

Http://www.reloadmedia.com

glass.dimly’s picture

To clarify...

Create a dummy child page at the place you wish you had your child page. Then, install this module: http://drupal.org/project/path_redirect
and create a URL redirect from your dummy page to the real page. That way, your menu link shows up automatically in the book navigation structure.

Peace
Jeremy

mooffie’s picture

It's not a good idea to use redirection. It will redirect you to the other book, which has different structure. You want to remain in this book. So create a dummy child page, and, after installing the 'InsertNode' filter module, type '[node:123 body]' into this dummy's body. It will embed node #123 in it.

kopo88’s picture

That leaves you with duplicate content on your site, which search engines tend not to like.

r0bm1lls’s picture

I have moved over to using the node_hierarchy module. This does very similar things to book pages but is better integrated into Drupal's menu system and allows multiple parents.