|
@@ -305,7 +305,6 @@ function tripal_core_node_view_build_toc(&$build) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
// For backwards compatibility we will handle the content type fields
|
|
// For backwards compatibility we will handle the content type fields
|
|
// named 'field_resource_blocks', 'field_resource_titles', and
|
|
// named 'field_resource_blocks', 'field_resource_titles', and
|
|
// 'field_resource_links' these fields can be added on the Drupal content
|
|
// 'field_resource_links' these fields can be added on the Drupal content
|
|
@@ -484,6 +483,7 @@ function tripal_core_node_view_build_toc(&$build) {
|
|
$toc_item_title = $overrides['title'] ? $overrides['title'] : $toc_item_title;
|
|
$toc_item_title = $overrides['title'] ? $overrides['title'] : $toc_item_title;
|
|
$weight = $overrides['weight'] ? $overrides['weight'] : $weight;
|
|
$weight = $overrides['weight'] ? $overrides['weight'] : $weight;
|
|
$hide = $overrides['hide'] ? $overrides['hide'] : $hide;
|
|
$hide = $overrides['hide'] ? $overrides['hide'] : $hide;
|
|
|
|
+ dpm($toc_item_title);
|
|
$toc_item_link = "<div class=\"tripal_toc_list_item\"><a id=\"$toc_item_id\" class=\"tripal_toc_list_item_link\" href=\"?pane=$toc_item_id\">$toc_item_title</a></div>";
|
|
$toc_item_link = "<div class=\"tripal_toc_list_item\"><a id=\"$toc_item_id\" class=\"tripal_toc_list_item_link\" href=\"?pane=$toc_item_id\">$toc_item_title</a></div>";
|
|
|
|
|
|
|
|
|