Version 2 (modified by RottenChester, 10 years ago) (diff)


Macro to Include Another Page in Current Page


This is another version of the include macro. It takes one mandatory item and two optional positional items. The mandatory item is the page name. The optional items are the class of the generated heading and the class of the div surrounding the included page. If the first positional item is missing, no heading will be generated. If the second is missing, no div will be generated.

Bugs/Feature Requests

Existing bugs and feature requests for IncludePagesPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:includepagesplugin here].


You can check out IncludePagesPlugin from here using Subversion, or browse the source with Trac.



The contents of page "Foo" will be included in the page when the plugin is expanded.


The contents of page "Foo" will be included in the page. The title of the page will be included in a header div with the class "headclass", as follows:

      <div id="headclass">Foo</div>
        { contents of Foo }

Contents of page "Foo" are included in the page with a header div with id headclass, in a div with id blockclass. as follows:

    <div id="blockclass">
       <div id="headclass">Foo</div>
         { contents of Foo }


Recent Changes

2910 by Rottenchester on 2007-12-15 19:18:44
Initial import.
2909 by Rottenchester on 2007-12-15 19:18:04
New hack IncludePagesPlugin, created by Rottenchester


Author: Rottenchester