Navigation displaying backwards

Permalink
Please, please, please can anyone help? I want to do something that should be fairly simple, but it's just not working.

How can I display the exact same navigation at the top of the page as at the bottom?

I have the following code in both places:

<?php
$a = new Area('header nav');
$a->display($c);
?>

Works perfectly in the header, but in the footer the links all appear in reverse order. Any help would be much appreciated - thank you!

 
cannonf700 replied on at Permalink Best Answer Reply
cannonf700
I don't think you can use the exact same code twice on the page. Try changing your code to something like this:

<?php
$f = new Area('footer nav');
$f->display($c);
?>

That should do it.
tonyswaby replied on at Permalink Reply
Yeah, I would have said use generic location names, i.e. Top panel, Bottom panel, side panel etc. Doesn't matter what you put in them, it can be exactly the same thing.
cinegrad replied on at Permalink Reply
Thanks so much, folks! I really appreciate the help!