Navigation
Preparing your site for proper editing in the Manager interface
Getting ready
To get started you will need the code from Metamorph Glowing in the previous recipe, or any other existing Elements and Resources that need refactoring.
How to do it...
1. Create Chunk Elements for your Header, Navigation, Marquee, and News.
2. Create Template Variables for values that will change in your Elements. Use placeholders in your Resources and Elements to indicate where you wish the Template Variables (TVs) to appear.
How it works...
Before your site is ready to be used, we need to make some changes to where our html code is stored in our Manager. First we will create a Chunk Element for our Marquee section and Navigation. We will also create a Chunk for our Header, which will contain the Navigation and Marquee, and a Chunk for our News section.
Create a Template Variable to store your Footer snippet. Create a Template that includes your Chunk and Template Variable Elements in the same order. Now we are ready to create new pages! Duplicate your Resource and make changes as needed. Make sure to publish your Document if you wish for it to be accessible.
There's more...
To work quickly with Evolution, you will need to familiarize yourself with the way the content is managed. This will go a long way in maintaining your code base as your application grows.
Template Variables can store html for rendering content outside of your page [*content*] tag. Placeholders