This topic is locked

insert include file on individual pages (not all)

4/27/2009 5:44:28 PM
PHPRunner General questions
J
jetacera author

What code in 5.0 replaces {include_if_exists_file="include/filename.php"} from 4.2? I don't want the included file to appear on every page, just certain pages, so I need to be able to place it on just the individual template files where it is needed.
Thanks.
Janet

Sergey Kornilov admin 4/27/2009

Try {include_if_exists file="include/filename.php"}