Added: siteaccess support for template override
Fixed: compatable with 5.2($module will be null in 5.2)