|
Multiple seed test
This page is to demonstrate how to call multiple "seeds" into a single page.
Look at the source view in your local folders. The location is generator/test/multiple.php. You'll find some HTML comments and see the code that calls the content blocks to the page.
In this page there are three "seeds"
- Main seed (which is containing this content).
- The content that gets injected here is based on the name of the page it's placed on.
- The seed to the left contains the menu.
- I just copied the code for the menu into a content block named side.htm.
You can find it in your page list when logged into the on-line editor.
- The seed at the bottom contains the footer.
- I just copied the code from the foot of the other pages into a content block named foot.htm.
You can find it in the page list when you're logged in to the on-line editor.
By using this method it's very easy to call multiple segments of content into a page. it works well for file lists, news boxes, and other page elements you want to repeat consistently throughout a site while allowing users to edit it as well.
 |