FUEL CMS User Guide : Version 1.3.2


Validate Module Documentation

This Validate module documentation is for version 1.0.

Overview

The Validate module allows you to validate your HTML, check for invalid links and check the file size weight of your pages.

Validate Configuration

The following configuration parameters can be found in the modules/validate/config/validate.php configuration file. It is recommended that you copy the config file and place it in your fuel/application/config directory which will override the defaults and make it easier for future updates.

Property Default Value Description
toolbar
array(
'toolbar/html' => 'Validate HTML',
'toolbar/links' => 'Validate Links',
'toolbar/size_report' => 'Page Weight',
)
the inline editing toolbar for doing validation for HTML, links and page weight
validator_url
'http:validator.w3.org/check'
validator url
valid_internal_server_names
array('localhost', '192\.168\.:any')
a list of valid internal domains. Can contain regular expression or :any, :num wildcards
size_report_warn_limit
100
sets the warning limit of the filesize of a resource in KB
default_page_input
''
default value for page input field... must be delimited by \n
curl_timeout
10
number of seconds before the curl request times out

Libraries