![]() | ![]() | ![]() | ![]() | ![]() |
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:
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
![]() | ![]() | ![]() | ![]() | ![]() |