When I change the theme .info file name to anything but framework.info, the secondary tabs disappear, although this code in page.tpl.php remains untouched:

        <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>

This means that I can't use secondary tabs after renaming the theme based on Framework to my own name.

You can show secondary tabs here:

admin/build/themes/settings

(it should show these items: Global settings, and then the list of your active themes).

Comments

peterjmag’s picture

You most likely have to change the function names in template.php to reflect the new theme name. Secondary tabs aren't working for you because the function framework_preprocess_page needs to become [your-theme-name]_preprocess_page. Just go through and change all instances of framework_ in template.php to your new name.

Hope this helps!

rzelnik’s picture

Status: Active » Closed (works as designed)

Thank you Peter for your response. You are right - the function names should be changed. I have also changed the function names in template.block-editing.inc and in page.tpl. It works well now. Anyway it's easier to leave the theme name untouched.