Hi,
I hope I'm right here.
I create a page with drupal. After that I'd like to make a book out of the page, so I go into the page and modify it the a "inhaltsverzeichnis" a "create a new book". After that the URL is wrong. Its not the [menupath] anymore as I enered it in pathauto. It's going for the path to the book which is not the path in the menu.
If I create a book from the beginning on, the URl is right, its the menupath.
Is that a bug? Thanks
Comments
Comment #1
chris_bbg888 commentedhmm no idea? thks
Comment #2
chris_bbg888 commentedok guys,
here come a few more information. I tested it in another drupal installation, and I have the same problem.
the problem doesnt accure in the following situation: I'm changing a "page" to a book on the first hierarchy like
before : URL.de/page/other_pages/....
after: URL.de/book/other_book_pages/...
the problem accures in the following situation: I leave the first site as a page and under this I have a book
before URL.de/page/other_pages/....
after: URL.de/page/book/Other_book_pages
please help me I have that lik a 1000 times on my site...thank you
Comment #3
gregglesWhat is the problem? The only difference I see is the capital O for Other and the lack of ... afterward. You have left bits and pieces of the problem, but a complete description. Here is an example:
1. My pattern is X
2. Create a book page with title Y and get an alias of book/y
3. Create a book page with title Z and get an alias of book/z
4. Edit book page Y so it is a child of Z and get an alias of book/z/y
5. (more stuff)
Expected results:
something
Actual results:
something else
Comment #4
gregglesComment #5
chris_bbg888 commentedok, I guess that wasnt the best description. I try it again.
1. I enter in pathauto the pattern [menupath]
2. I create a page with the hierarcy Url.de/page (1st level after the domain)
I get the URL: ULR.de/pagename
3. Now I create another page that is below the at 2. created page
Hierarcy: Url.de/page/page
I get the URl URL.de/pagename/pagename
4. Now I change the at 3. created page to a book. The result is a URL like:
URL.de/bookname
What I want is a URL like URL.de/pagename/bookname
So the problem is that a book always makes the URL on the 1st level after the domain, no matter if it's very low in the hierarcy.
By now I think that has nothing to do with pathauto. I think the book always thinks it's on the first level , so pathauto is just looking at whats written in the breadcrumb. As I think its a kind of bug in the book module I posted it there http://drupal.org/node/681300.
Thanky you, I'm a little surprised that I'm the first one who seems to have the problem
Comment #6
gregglesWhat is your pattern for book pages?
Comment #7
chris_bbg888 commentedthats also [menupath] . I entered this everywhere.
Comment #8
dave reidBooks need to use [bookpath].