Closed (won't fix)
Project:
Related links
Version:
5.x-1.0-beta
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2007 at 23:25 UTC
Updated:
19 Dec 2007 at 17:29 UTC
The related links block seems to show up in both the node pages and the node edit pages. I don't know if this is done by design, but in my opinion, the block doesn't need to show up in the edit page. This could become confusing for users.
Comments
Comment #1
niklp commentedI reported this here (or on another module, I forget) - I was told to simply disable the block's appearance using block visibility settings.
However, I agree that this is confusing - also there may be occasions where the visibility settings need to be calculated in such a way that makes this either difficult or impossible.
The short term solution is to either set the block visible via "Show on only the listed pages" and provide a list of acceptable pages, or select "Show on every page except the listed pages" and put "node/*/edit" in the textbox. Furthermore, if you have the module set up so that it only appears on certain content types' pages, this serves as a further aid to controlling visibility of this block.
Hope that helps (although it doesn't cure the problem).
Comment #2
Zen commentedBesides the fact that I don't see how this is confusing to users, this is also a form of over-engineering that I dislike which usually opens a bunch of holes later on. For e.g., if the block is only displayed on node/x to avoid displaying it on node/x/edit, then it will also not be displayed on node/x/some-other-tab which will be irreversible without hacking the code. Same scenario applies to setting it to _not_ display for node/x/edit.
Drupal provides admins with a flexible solution to control block display. There's no reason why modules should mess with it.
-K