ft_include_modules

This function is used to access your module content (functions, Smarty plugins and language file content) in Form Tools pages within the main script (i.e. within any page that wasn't written by you!). The function takes either a string or an array of strings - each string the folder name of the module you wish to import. Generally, it's used in conjunction wit the ft_check_module_enabled() function (described below) which first verifies the module is installed and enabled. Example usage:

if (ft_check_module_enabled("pages"))
  ft_include_modules("pages");
Edit Page