Knowledge Base

Answers to Common liveSite Questions

Back to Knowledge Base

Site Design

How do I include a file using Dynamic Regions?

You may have trouble using PHP include statement when trying to include a file using the Dynamic Region feature. This is because normally a PHP include will look for the included file within the path of the file that called it.

Since the file /livesite/functions.php will actually be calling the include, you may have to escape to the parent directory in order to get back to your web root. Here is an example: 



Add Feedback:
Was this page helpful? Please let us know how we can improve it.
Please login or register to add your feedback.