Exit design area
The exit design area tells the system to stop printing the remaining content of the design parse file at the point where the exit design area is rendered.
This design area can be used in conjunction with other design areas using condition set variables.
For example, the Easy edit suite interface uses this design area within a Show if design area using the
An example of this is shown:
<MySource_AREA id_name="exit_area" design_area="exit" print="no"></MySource_AREA> <MySource_AREA id_name="simple_edit_EES" design_area="show_if"> <MySource_SET name="condition" value="simple_edit_mode" /> <MySource_THEN> [EES code] <MySource_PRINT id_name="exit_area" /> </MySource_THEN> </MySource_AREA> [FRONT END code]
When this design is viewed in
_edit mode, the Show if condition will be met, and the design will be parsed up to the point where the exit design area has been printed.
If the Show if condition is not met, the design will print the front end design code as normal.
The code that is required for the exit design area is shown:
<MySource_AREA id_name="exit_area" design_area="exit" />