--
-- content_template__get_path/2
--
create or replace function content_template__get_path(
  integer,
  integer
) returns varchar as $$

declare
  template_id            alias for $1;  
  root_folder_id         alias for $2; -- default content_template_globals.c_root_folder_id
                                        
begin

  return content_item__get_path(template_id, root_folder_id);

end;$$ language plpgsql;