resources /Web Tricks /Include Page Plugin
You can include content from other pages using the Include Page Plugin.
- Writing this in the page
<?plugin IncludePage page=_("lyle/IncludePagePlugin")?>- Will give you this in the output
Included from lyle /IncludePagePlugin
The Include Page Plugin allows one page or a section of a page to be included in another page. This is a great way to only write content once. Take a look at the courses pages for examples. For details on how to use this plugin take a look at resources / WebTricks /IncludePagePlugin.
More Notes
Adding a heading to a page creates an implied section with the content of the heading being the name of the section. In the Include Page Plugin you can include only a specific section. Again take a look at resources / WebTricks /IncludePagePlugin for examples.
Which, as you can see, adds content from the page lyle /IncludePagePlugin. When you add the "quite=1" attribute you hide that the content came from another location, which removes the box, the note in the upper left, and the smaller stylized font deceleration. You can also add a "section" attribute that restricts the inclusion to just that section from the referenced page.
- Writing this in the page
<?plugin IncludePage page=_("lyle/IncludePagePlugin") section=_("More Notes") quiet=1?>- Will give you this in the output
Adding a heading to a page creates an implied section with the content of the heading being the name of the section. In the Include Page Plugin you can include only a specific section. Again take a look at resources / WebTricks /IncludePagePlugin for examples.