added new get_parent_template_path() method to extensions registry