I’m working on a practice site right now to become acclimated with EE. The idea of a completely programmer-independent site (i.e. one that anyone can maintain easily once it has been coded) really appeals to me so I’ve been trying to make things as simple as possible.
On my practice site, I have one main index page. On this page is a menu of sorts that links to the respective pages. The code is as follows:
{exp:weblog:entries weblog="articles" orderby="menu_item" sort="asc"}
{article_url}
{/exp:weblog:entries}
The code on my “articles” template is:
{exp:weblog:entries weblog="articles"}
{synopsis}{main}
{/exp:weblog:entries}
So, a menu item (link) is dynamically generated for each weblog entry in the weblog “articles”. This works great and allows me to have multiple pages running off just one template. It also allows a user to create a new page as well as a corresponding menu item, complete with link. Definitely what I’m going for.
However, what I’d like to do is have the complete menu on all the pages generated by the “articles” template and weblog. Using the same code as above, the “menu” that is generated on each “articles” page consists only of the link to the current page. This makes perfect sense since the rest of the content on the page is limited to one weblog. My question is: is there a way to include the full menu generated on the static home page on the generated pages? I know I could hardcode the menu and use it as an {embed}, but I really like how easy it is to update it in its current form. Any help would be appreciated. Thanks!