예이 가능합니다 :) 여기에 까다로운 부분이 코드는 쿼리 노드 목록에서 무슨 "기억"데
. 하나의 옵션은 모든 노드 링크에 $ _GET 매개 변수를 추가하는 것입니다. 명확성을 위해
:
당신이
http://www.site.com/results?title=t
에있는 경우 결과의 목록에 지정된 노드에 대한 링크는 다음과 같습니다
http://www.site.com/node/56?title=t
이 될 수 있습니다 링크의 출력을 수정하여 뷰에서 수행됩니다. 너무 열심히해서는 안됩니다.
그런 다음, 빵 부스러기를 수정할 수는
function THEME_NAME_breadcrumb($variables) {
$breadcrumb = $variables['breadcrumb'];
// check to ensure this is the one you want to alter
// Custom rebuild process of breadcrumb with custom links.
if ($breadcrumb[1] == 'your_breadcrumb_id') {
// Keeping the trail/current page as non linked
$links[1] = l(t('results'), 'results', array('query' => array('title' => $_GET['title'])));
drupal_set_breadcrumb($links);
}
}
을
행운을 빕니다 (그 검증되지 않은 구문 내 코드를 확인) template.php이 같은 기능을 추가 할 필요가!
안녕하세요, 감사합니다. 나는 그것을 시험해 본다. – Tuxy