Closed (fixed)
Project:
Subscriptions
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Apr 2004 at 19:23 UTC
Updated:
11 May 2004 at 19:20 UTC
The module is working fine in that it sends the subscriber an email with a clickable address that looks like this: http://mysite.com/?q=node/view/189#555. The problem is that when I click on this link, it does not go directly to the comment but only to the top of the node itself. I notice that the link to a comment from the "administer" page is "?q=node/view/189#comment-555. That seems to take my Explorer 6.0 browser directly to the comment.
Comments
Comment #1
rightchristians commentedI made the following changes to the subscriptions module so that the link in the email is the same as the link found on the administer page:
1) dropped the "#" from the definition of $cid; and
2) changed $body to "url("node/view/$nid#comment-$cid"
My first test worked fine and took me right to the comment with IE 6.0.
Comment #2
rightchristians commentedThe change also works with Netscape 7.1.
Comment #3
TDobes commentedI've committed a similar fix to cvs... thanks for spotting this!
Comment #4
(not verified) commented