I'm trying to understand drupal's theming system and I thought I was doing quite well when, all of a sudden, I tried to create a custom template for the mini pager of the views module. I'm struggling to understand the right naming convention for the file, altough I've read alot during the past two days.
Here is what I've done: Test template name: myzen
overridden the function myzen_views_mini_pager in my template.php This works like a charm, the debugger hits the bps, if any.
I tried to inspect the "Theme information" in the advanced section of the view edit page but I failed to see something related to the mini pager.
I tried to follow this tutorial and I used the dprint trick to list the possible options and I found this:
Array ( [0] => views_mini_pager__evento_view__block 1 => views_mini_pager__block [2] => views_mini_pager__default [3] => views_mini_pager__default [4] => views_mini_pager__evento_view [5] => views_mini_pager )
according to the tut and to what I found I tried to guess the template name, which should be: views-view-mini-pager--evento-view--block.tpl.php but this, obviously, fails. I tried like hundred of other combination (removing the block part, changing the - with _, using only pager instead of mini-pager etcetcetc) and nothing worked.
fun fact is that I can actually make a template for views-view--evento-view.tpl.php (which override the whole view, of course).
Can you help me in figuring out the right naming convention for the mini pager template in that specific block only?
Thank you!