public function initializeLayout($page, \LayoutModel $layout)
	{
		static::$pageLayout = $layout;

		if(!static::isEnabled())
		{
			return;
		}

		// reset default framework
		static::$pageLayout->framework = null;

		$templates = $GLOBALS['BOOTSTRAP']['templates']['dynamicLoad'];

		// only load these templates if layout uses it because default templates are changed
		foreach ($templates as $path => $templates)
		{
			foreach ($templates as $template)
			{
				\TemplateLoader::addFile($template, $path);
			}
		}
	}