Line 258 undefined function. Of course this only arises if one uses the http://github.com/EugenMayer/yaml_theme

Comments

drupaledmonk’s picture

forgot to mention the file. content_moderation.module

eugenmayer’s picture

Status: Active » Patch (to be ported)

Good catch, thank you!


function content_moderation_yaml_theme_layout($layout, $available) {
  global $theme;
  if(module_exists('impressive_media')) {
    $node = _impressive_media_get_cur_node();
  }
  else {
    $node = node_load(arg(1));
  }

  if (!_content_moderation_moderate_node_type($node->type)) {
    return;
  }
  // TODO: make this configureable
  return '2col_right_13';
}
eugenmayer’s picture

Status: Patch (to be ported) » Fixed

will be included in 1.5. Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.