Item15040: add include cover

pencil
Priority: Enhancement
Current State: Waiting for Release
Released In: 2.1.7
Target Release: patch
Applies To: Extension
Component: PatternSkin
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
This is a simple skin cover "include" that uses an %INCLUDE instead of a %TEXT to render the wiki text. That way you may hide additional wiki applications beyond a %STOPINCLUDE.

This is simpler than having to hide any named sections inside <verbatim class="foswikiHidden">...</verbatim>.

See UserRegistration

Example wiki text:

visible text
visible text
visible text
%INCLUDE{"%TOPIC%" section="foo"}%

%STOPINCLUDE%

Enable include cover: 

    * Set COVER = include

%STARTSECTION{"foo"}%

... wiki app code hidden in normal view ...

%ENDSECTION{"foo}%

-- MichaelDaum - 14 Sep 2021

 
Topic revision: r1 - 14 Sep 2021, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy