PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: /GetEnv[Next]: /Hook
\ -> PPWIZARD Command Line -> Switches -> /HideCmd

Switch /HideCmd:HideTemplate

This is a PPWIZARD command line switch.

This allows you to hide ppwizard commands, macros references or in fact anything between start and end tags that you specify.

This could be useful for a number of reasons but probably the most common would be to hide ppwizard tags from a WYSIWYG html editor or browser. This would allow you to view the template of the web page without distractions (the browser will not display comments!).

The "HideTemplate" indicates both the start and end markers with "{?}" marking the position of the hidden command, exceptions are:

  1. HTML[]
    This is shorthand for "<!--[{?}]-->". This is basically HTML comments with extra square brackets.

I highly recommend that you do not try to use the SSI format as this can only confuse people.

Example - Use of switch

In this case we wish to hide all ppwizard items within "<%" and "%>" tags, the curley codes are used so as to be able to safely specify the "<" and ">" characters (redirection characters in most operating systems) on the command line.

/HideCmd:{x3C}%{?}%{x3E}

To an ASP/JSP friendly GUI tool ppwizard commands would be handled better.

Example

In the following example "HTML[]" was used for a template:

<!--[#define X Value4X]-->

<P>1<!--[<?Hash>]-->2<!--[<?Hash>]-->3<!--[<?Hash>]-->4<!--[<?Hash>]-->5


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: /GetEnv[Next]: /Hook


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am