When a user lands on an answer node in a dedicated page view, there is currently no context to indicate the question that the answer applies to. A simple solution to this would be to change the CCK field settings for the "Question" field to display a link to question on the full page view of the answer node.

Comments

ezra-g’s picture

Status: Active » Needs review
StatusFileSize
new2.08 KB

Discussed with hefox in IRC and we concluded that field access is the best way to go here.

laurentc’s picture

Version: 6.x-1.x-dev » 6.x-2.0
StatusFileSize
new1.84 KB

Update of the patch so it can work with latest commits

ezra-g’s picture

StatusFileSize
new2.14 KB

The patch in #2 is missing the call to menu_get_object(). Attached is a straight re-roll of the original patch applied with patch -p1.

chipcleary’s picture

Status: Needs review » Fixed

Reviewed & validated. Thanks! I've committed this to 6.x-2.x-dev.

chipcleary’s picture

Version: 6.x-2.0 » 7.x-3.x-dev
Status: Fixed » Patch (to be ported)

Now to be ported to 7.x-3.x-dev.

chipcleary’s picture

Version: 7.x-3.x-dev » 6.x-2.x-dev
Status: Patch (to be ported) » Needs review
StatusFileSize
new2.09 KB

Ack. I found an issue with the previous approach. It was interfering with creating new answers ... stopping the node reference link from being filled in.

Small edit included. Added && $op == 'view' to the patch:

Patch updated.

chipcleary’s picture

Status: Needs review » Patch (to be ported)
chipcleary’s picture

Status: Patch (to be ported) » Fixed
StatusFileSize
new12.33 KB

Patch now attached.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.