0
我想为Drupal Views的面包屑做路径。我没有与这么多的经验,但是我的代码是这样的:Drupal中的面包屑/视图
function CLIENTNAME_preprocess_breadcrumb(&$variables) {
if (!empty($variables['breadcrumb'])) {
// Adding the title of the current page to the breadcrumb.
$variables['breadcrumb'][] = drupal_get_title();
}
}
这样做的目的是确保所有的意见都在家下来的直接路径。
相反,它没有显示最后几步(我可以进一步解释如果需要的话)
为什么会这样发生?