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.

CommentFileSizeAuthor
#1 janode.module.patch03788 bytesAjK

Comments

AjK’s picture

StatusFileSize
new788 bytes

Doh! 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

AjK’s picture

Status: Active » Fixed
AjK’s picture

Assigned: Unassigned » AjK
sokrplare’s picture

Man, you're fast! Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)