Closed (fixed)
Project:
Janode
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 May 2006 at 20:55 UTC
Updated:
13 Jun 2006 at 22:15 UTC
Jump to comment: Most recent file
Under admin/settings/janode there is a checkbox saying: "Display the link on main node body"
It seems that even when the checkbox is unchecked it still displays the link. I think this is because of this function in janode.module:
/**
* Implementation of hook_view()
*/
function janode_view(&$node, $teaser = FALSE, $page = FALSE) {
$node = node_prepare($node, $teaser);
$http_link_info = theme('janode_http_link', $node);
$node->body .= $http_link_info;
if (_janode_local_settings('show_link_on_teaser')) {
$node->teaser .= $http_link_info;
}
}
It looks, to my untrained eye, as though the teaser checkbox setting is checked, but I don't see similar code anywhere for the body.
I might just be missing it though.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | janode.module.patch03 | 788 bytes | AjK |
Comments
Comment #1
AjK commentedDoh! How did I miss that given I forgot it on the teaser and previously fixed that!
Thanks for pointing out.
Patch supplied for fix and patched CVS
regards
--AjK
Comment #2
AjK commentedComment #3
AjK commentedComment #4
sokrplare commentedMan, you're fast! Thanks!
Comment #5
(not verified) commented