I had to use Views override to show Taxonomy nodes with a pager. But there is noway to set block to display on the pager page somehow...
My taxonomy page alias is /actualites, so before i set the block to display on /actualites and actualites/* (The second is used by subterm alias), now with the pager i can't find a work around.
I've tried actualites* and actualites?page=* which of course didn't work.
I've tried to set a php conditions
//passage du term dans les variable de la page
if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))) {
$tid = (int)arg(2);
$term = taxonomy_term_load($tid);
$vars['term'] = $term;
$parent = taxonomy_get_parents($term->tid);
$id_actualite = '6';
if (array_key_exists($id_actualite, $parent) || arg(2) == $id_actualite) {
return True;
}
}
Which worked for all the pages BESIDE the pager one.
And i've tried displaying the block on all page and managing it through template, but again for the pager page there is NO block in that region.... even when the block is set to show on all pages...
I'm kinda lost there...
EDIT: If i make a basic block with just text he show up just fine, it's only View block that i ue to display a menu that doesn't show... I've deleted and recreated it and it s still the same.
The block shows on ALL other pages beside the pager one.
Comments
Might be related to this:
Might be related to this: http://drupal.org/node/828730
I removed the pager option on the view generating the menu and now it displays correctly.
thx!
thank you, the solution works. its actually logical: there are no pages in a block-view
Worked in D7 too.
Thank you very much WilliamB, I have faced this in drupal 7 too.
Your solution woreked here too.