You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a View engine that wraps the built in CI engine and allows the use of components and layouts. Components can be used to create pieces of the site that are common to many areas of your site/application. Layouts allow you to define a single file as a shell for your site to work inside of.
Installation:
Download PHXView zip and unpack.
Copy PHXView.php to your application/libraries folder.
Create the following folders: application/components, application/layouts, application/views/components, application/views/layouts
class Test extends Controller
{
function index()
{
$this->load->phxview->RenderView('testphxview');
$this->load->phxview->RenderLayout('deafult.php');
}
}