I'm trying to create custom block.tpl.php file for theming menus. I want to add a line of HTML code in div class="block-content".
I managed to do this for custom menu "Test" with template file "block--menu--menu-test-menu.tpl.php" in my custom theme folder where I suppose "--menu--" is name of the module and "menu-test-menu" is menu_name of menu as I see in Configuration manager. So, theming of custom menus is OK, tpl file with such file name is working.
But when I am trying to do the same for Primary navigation with template file "block--menu--main-menu.tpl.php" there is no effect on Primary navigation block code in web page.
Is there some difference between system Primary navigation menu block and custom menu blocks custom template names?
I found a workaround - I created a new custom menu called Main menu and use it instead of Primary navigation.
Custom template for this menu is named "block--menu--menu-main-menu.tpl.php" and it works.
But it should be possible to have custom block template for Primary navigation. May be I do not know right pattern for naming such template.
Thanks a lot!
And good luck for the Forum!