{jr_theme_php_include}
{jr_theme_php_include} is used for including other PHP pages into the current Jamroom Profile template. Note that this function cannot be used to include URL's into the template. The PHP include() function is run with EVERY load of the artist page, and will (by default) look for files located within the Artist/Theme directory. This is because this function inserts the raw PHP code necessary to run the include() directly into the rendered output that is copied into the Profile directory.
|
Note: This Template function ONLY WORKS within Jamroom Artist/Member Theme templates - it will not work in the Jamroom Skin Templates located in the jamroom/skins directory. |
Parameters
Name |
Type |
Required |
Default |
Description |
file |
string |
yes |
n/a |
the location of the PHP file to include into the current template. |
Example
Example {jr_theme_php_include} function including the "side.php" file from the Artist/Member directory.
{jr_theme_php_include file="side.php"} |
|