Closed (won't fix)
Project:
Forward
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2006 at 17:41 UTC
Updated:
1 Feb 2012 at 21:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
promesIn module "forward.module" in: function forward_link($type, $node=0, $main=0)
Change these lines as given:
line 637 + 638:
if ($type == 'comment') {
old:
$forward_link_type = 'comment';
new:
$forward_link_type = t('comment');
line 642 thru 644:
old:
$forward_link_type = $node->type;
}
else $forward_link_type = 'page';
new:
$forward_link_type = t($node->type);
}
else $forward_link_type = t('page');
Thanks for a perfect module.
Joep
Comment #2
jaydub commentedI wrote a patch to make this change. Also, I added in code to extra the content type's 'pretty' name. I am working with CCK types and the content names are not very user friendly ie content_directory_listing...so the attached patch also shows the content type label in the 'Forward this ... X' part of the links array.
Comment #3
john.oltman commented4.x version no longer supported.