SectionInclude

Summary: Adds a sectioninclude markup that works like include but you can click to edit the included page.
Version: 2016-06-11
Prerequisites:
Status: stable
Maintainer: ccox
Categories: Includes, Editing
Users: (view? / edit)

How can I include a page in another page and edit it like a section?

All sections are optional, you can remove those that do not apply to your recipe, and add new ones.

Description

Markup to include pages like they are sections, with click to edit.

Installation

Download sectioninclude.phpΔ and add include_once("cookbook/sectioninclude.php"); to your config.php

The markup essentially houses an included page inside of a div. An edit link is present if the user has edit authority.

Change log / Release notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

Comments

See discussion at SectionInclude-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.