Hello! I'm trying to use the include(); function in the page codeblock, but I'm getting a php error "failed to open stream: No such file or directory". The same code works fine if I type it directly in pages.php. Is there something I'm missing? Thanks!
`<?php include("something.php"); ?>`
I could use an if statement in pages.php to print the included code only in my desired page, but I think that's nasty coding.
Comments
`<?php echo $_zp_themeroot; ?>`
There are defines for the various Zenphoto folders. See golbal-definitions.php.