Navigation: Pages & Categories
I am having trouble rearranging the navigation to suit my needs. Here is the goal:
1. CMS Pages (created via CMS > Manage Pages ) should appear as the primary navigation in the menu across the top.
2. Top-level categories should appear as a navigation list in the left sidebar. (This is different than the “layered navigation” which is really a filter not a simple navigation list).
It should be possible to do this without hard-coding the links into the PHTML (as proposed elsewhere). The PHP found in catalog/navigation/top.phtml that generates a unorder-list of categories to be placed in the menu bar should be easily repurposed to do both goals listed above. That codes is as follows:
<?php foreach ($this->getStoreCategories() as $_category): ?>
<?php echo $this->drawItem($_category) ?>
<?php endforeach ?>
So how do I call the list of pages to assemble as a list using similar PHP code?
And how can I use this code to generate left sidebar navigation composed of categories?
Thank you for suggestions.