23.10.2013 Views

FOTOWEB 6.0 Reference Manual - FotoWare

FOTOWEB 6.0 Reference Manual - FotoWare

FOTOWEB 6.0 Reference Manual - FotoWare

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Script Settings<br />

FotoWeb’s face out to the clients is through the FWX templates. These templates allow great<br />

customizations, but are also very vulnerable to design errors that may occur during customizations.<br />

The design errors can be anything from usage of a wrong tag at wrong place to simple typos. FotoWeb<br />

supplies a detailed documentation of the tags available in FotoWeb and rules for their usage.<br />

FotoWeb comes with a built-in module that controls the validity of these templates. This module analyses<br />

the templates and reports error details if any. To enhance the security around templates, each template<br />

is validated with this module once after FotoWeb start up and once every time a template is modified on<br />

disk while FotoWeb is running. This process is called Runtime Analysis and can be enabled on this page.<br />

There are multiple ways to handle errors reported by Runtime Analysis as described below. However,<br />

these actions do not modify or correct the errors in the templates themselves. These changes are only<br />

kept in memory until next time FotoWeb is restarted. To permanently remove the errors, you must run<br />

the validation module manually by right clicking the site node and selecting All Tasks | Verify Templates.<br />

Do runtime analysis<br />

This option enables the analysis of template files before they are executed in FotoWeb. This process adds<br />

significant processing to the loading of a template. The process is only done once for every template<br />

(when the template is first loaded). If the template is modified on the disk, it will be reloaded and the<br />

analysis will be performed again.<br />

Auto update<br />

This option enables automatic correction of the templates. All known problems will be automatically<br />

corrected. This ensures that templates written for older versions of FotoWeb can be used on new versions<br />

without any conversion work.<br />

Remove invalid<br />

If enabled, FotoWeb will remove any unknown tags or variables from the code. This may lead to an<br />

incorrect Html page being produced, but FotoWeb will still process the page. If this option is disabled<br />

and an invalid command is found, FotoWeb will report an error to the user.<br />

86 <strong>FotoWare</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!