PPWIZARD Manual
[Bottom][Contents][Search][Prev]: /GetEnv[Next]: /Hook

Switch /HideCmd:HideTemplate

This is a PPWIZARD command line switch. You can set up your own default switches in the "PPWIZARD_OPTIONS" environment variable or in project files.

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

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

    <!--[#define X Value4X]-->
    
    <P>1<!--[<?Hash>]-->2<!--[<?Hash>]-->3<!--[<?Hash>]-->4<!--[<?Hash>]-->5
    


[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)
Tuesday January 02 2001 at 7:37am