logo       

[bug] Book block doesn't show up for node/view: msg#01038

php.drupal.devel

Subject: [bug] Book block doesn't show up for node/view

Project: Drupal
Version: cvs
Component: book.module
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: Steven
Updated by: killes@xxxxxxxxxxxx
Status: active

Can't we access the un-aliased url somehow? This is also a problem when
setting up block paths in general.

killes@xxxxxxxxxxxx



Previous comments:
------------------------------------------------------------------------

January 22, 2004 - 16:51 : Steven

When viewing a book page through /node/view/, the book block doesn't
show up. Using /book/view/ does work.

Sounds like a tricky thing to fix though.

e.g.:
http://drupal.org/book/view/1 [1]
http://drupal.org/node/view/1 [2]
[1] http://drupal.org/book/view/1
[2] http://drupal.org/node/view/1


------------------------------------------------------------------------

February 10, 2004 - 13:05 : weitzman@xxxxxxxxxxxx

could be fixed with the much discussed 'global context' feature which
will tell modules about the node currently being viewed


------------------------------------------------------------------------

February 25, 2004 - 00:20 : bmann@xxxxxxxxxxxxxxxxxxx

Also doesn't show up if a book node is accessed through an alias.

One possible fix will be to check the node type instead of the URL.
This will only work with nodes that have actually been created as book
pages, not for other types of content that have been organized in a
book.

Looking at the database, couldn't we just see if the current node id
exists in the book table? If it does, then it's part of a book.


------------------------------------------------------------------------

February 25, 2004 - 13:42 : weitzman@xxxxxxxxxxxx

we could check the book table. but where and how to do so? we don't want
to create a special case for books in the core engine.


--
View: http://drupal.org/node/view/5347
Edit: http://drupal.org/project/comments/add/5347





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise