|
Cookbook /
BreakPageSummary: Breaks pages into sections with inserted markers and displays one section at a time
Status: Stable
Version: 2004-10-20(breakpage.php, 2006-10-28(breakpage2.php), 2005-08-18(break_page.php)
Prerequisites: pmwiki-2.1
Maintainer: jr
Discussion: BreakPage-Talk
Categories: CMS
Download: breakpage.phpΔ
break_page.phpΔ (with editable sections)
Questions answered by this recipeHow can I break long pages into smaller page chunks which can be sequentially displayed as 1, 2, 3, ... DescriptionBy installing breakpage.phpΔ you can add section break markers
Release Notes break_page.phpΔ
Current status (jr 18 Aug 2004):
Alternative: break-page.phpΔThis script uses section break markers of form ==== to create editable page sections, but does not display only one section at a time. In addition optionally headers can be used to form automatic editable sections on the page. Important: Klonk has forked SectionEdit from this script. It is recommended that you switch from break-page to SectionEdit. Though you will get support for break-page all current development resources are going into SectionEdit. Should this go in the Superseded section? - Martin Fick
Changes from the break_page.php script:
if ($action != 'edit') return; into if ($action != 'edit' && $action != 'editpage') return; Version 1.4+ has an auto section function: every header should get an edit section link, if you put $BreakPageAuto = true; in your config.php before the include line. To avoid auto sections for a side (i.e. SideBar) put (:nosections:) on it. If you use auto sections the ==== does only go until the next header element. If an introducing ==== is missing in the header section it is set for the user automaticly. Schlaefer August 31, 2005, at 01:50 AM See SectionEdit
ContributorsSandboxCommentsSee discussion at BreakPage-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. |