CPostingTemplate::IsExists( string path = "" );
The method IsExists checks whether the folder of the template physically exists.
Parameter | Description |
---|---|
path | Relative path to the template folder. |
Returns true if the specified folder exists, or false otherwise.
<? if (!CPostingTemplate::IsExists("bitrix/php_interface/subscribe/templates/news")) echo "The specified template does not exist."; ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |