Tuesday, January 2, 2007
You can include the content of one page in another page by typing the following right into the editor:
[[include:SomePage]]
Just replace "SomePage" here with the name of the page you want to include.
The most common use of includes is to reuse a peice of content in several places on your site. When you edit the included page, it will automatically update in all of the pages that include it.
You can also use includes to place Javascripts that are managed in plain text edited pages into the content of a page that uses the rich text editor.
Just like bracketted links, you can force an include tag to display as it is instead of getting processed as an include by using a ~ character, like this: [[include:IgnoreThis]]. When you save the page, the ~ will not display.