<?php include $CFG->wwwroot.'/file.php/1/bxslider/text-1.php' ; ?>
However, this isn't working. And yet, if I put the text-1.php in the theme folder and call it in the simple way <?pnp include 'text-.php' ?> it works just fine.
What I'd like to know is why does it work in one location and not the other? Yet all the php books I've read tell me it should work from any directory, providing the path is correct. So I am guessing I'm doing something wrong here. But what???
This is really strange, since I can get images to show up in the header which use the same path eg:
<img src="<?php $CFG->wwwroot ?>/file.php/1/bxslider/image-1.jpg" />
but not...
<?php include $CFG->wwwroot.'/file.php/1/bxslider/text-1.php' ; ?>
Mary