Including Blocks on other servers

Old Version

This documentation is for version Framework 4.1. When developing new sites, please refer to 5.0 Framework Documentation.

Skill Level: 
Advanced

It can be a problem keeping the navigation and other UNL Framework blocks consitent when your site is spread across multiple servers, and not entirely in UNLcms. If you have a portion of your site located elsewhere you can use the following URLs on your UNLcms site to access those resources for inclusion via file_get_contents (php) or similar.

<yoursite>/sharedcode/navigation_links
<yoursite>/sharedcode/related_links
<yoursite>/sharedcode/contact_us

For use with UNLedu 4.0 and below only:

<yoursite>/sharedcode/footer_content
Contributed By: 
IIM