i'm using the theme_relativity_block_children function in a flexinode template to display its child nodes, but it doesn't show any related actions, even when 'show actions' is checked in its corresponding section in the admin.

is there another function that displays a node's related actions that i'm not aware of?

i'm using drupal 4.7.4...this seemed to be working before in drupal 4.6 and relativity 1.19.2.2.

Comments

jzting’s picture

Status: Active » Closed (fixed)
jzting’s picture

ah, i found the issue. i guess this only affects custom flexinode teamplates. in my template, i was only calling the theme_relativity_block_children function, which doesn't call theme('relativity_links', $types, $node, 'view') at all. i created a new function that included the relativity_links function and and it worked fine:

function theme_relativity_show_actions($node, $fieldset=1) {
  $output = '';

  // output links to attach allowed children types
  if ($types = variable_get('relativity_type_'. $node->type, FALSE)) {
    $output .= theme('relativity_links', $types, $node, 'view');
  }
  return $output;
}