Active
Project:
Links Package
Version:
6.x-2.x-dev
Component:
Code: links_related.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2010 at 19:23 UTC
Updated:
23 May 2010 at 19:23 UTC
I was embedding some related links in a node and had a hard time getting it to be displayed after my custom text and images. The reason is that weight is set in links_related_nodeapi and is lighter than CCK fields. There is an noce solution for this inspired by http://www.lullabot.com/articles/great-pretender-making-your-data-act-field. Then it will be possible to reorder Related links in your node content output where you want.
/**
* Implementation of hook_content_extra_fields.
*/
function links_related_content_extra_fields() {
$extras['links_related'] = array(
'label' => t('Related links'),
'description' => t('Releated links.'),
'weight' => 100,
);
return $extras;
}