Sub-Navigation in Berlin

I'd like to alter the sub-navigation in Berlin to match my custom main navigation. Can this be done just in the html, assuming it's a pretty straightforward unordered list? Could someone give me the file path where the following html is? I can't seem to find it.

<ul class="navigation">
<li class="nav-home current">Home
<li class="nav-browse-items">Browse Items
<li class="nav-browse-collections">Browse Collections
<li class="nav-browse-exhibits">Browse Exhibits
<li class="nav-about">About
<li class="nav-lesson-plans">Lesson Plans
<li class="nav-contact-us">Contact Us

What do you mean by the "sub-navigation?"

Do you mean the small navigation on the bottom of every page?

Thanks for the quick response. I do mean the small navigation that appears at the bottom of the page. (I suppose sub-navigation would technically be nested in the main navigation--sorry about the confusion.)

Depending on the theme, it will be in a file called footer.php in a directory called /common/

If that directory doesn't exist in your theme, you can create it at the root of your theme, then copy Omeka's core footer.php file found in /application/views/scripts/common into the common folder you created in your theme.

Thanks so much. I'm comfortable with HTML and CSS, but don't yet know enough PHP to work with the footer file.

I am working in the Berlin theme, and have customized the main navigation on my page using the admin board so that the tabs read "Browse" instead of "Browse Items" and "Themes" rather than "Browse Collections".

I'd like to change the navigation in the footer so that it has the same wording as the main navigation.

Any guidance on this would be much appreciated!

You'll want to do the steps above about moving footer.php into a common folder in Berlin.

Then, look for these lines, and replace the PHP with whatever you need.

<ul class="navigation">
    <?php echo public_nav_main(array(__('Home') => uri(''), __('Browse Items') => uri('items'), __('Browse Collections') => uri('collections'))); ?>
</ul>

I found the file, altered it, and put it in a new common folder in the following path: themes/berlin/common/footer.php

Unfortunately, it doesn't seem to be working. Could I be missing something?

I have previously made a custom.php file to alter the display of the DC fields (here is the forum: http://omeka.org/forums/topic/re-naming-dc-fields). Could this be part of it? (i.e. is Omeka calling this file first?)

I have this up and running now--I had the uri pointing to the new name I wanted rather than the link and was overthinking what could be wrong! My apologies.

However, there are still some pesky extra links hanging in that I haven't called up in my new footer. Any ideas why this is happening?

Thank you!

Using nav instead of public_nav_main will only display the links you've specifically asked for.

public_nav_main allows plugins to add entries to the navigation, that's probably what you're seeing.

What would be the best way to fix this? Is there a file I can alter to customize the main navigation, and get rid of the plugin?

Thanks! Karen

You're talking about extra unwanted links in your newly-updated footer navigation, right?

Simply calling nav() instead of public_nav_main() in footer.php should get rid of those extra links.

that did it! Thank you so much!

Depending on the theme, it will be in a file called footer.php in a directory called /common/

If that directory doesn't exist in your theme, you can create it at the root of your theme, then copy Omeka's core footer.php file found in /application/views/scripts/common into the common folder you created in your theme.

http://shopdoxachtay.com/