Thanks.
But, where in the code below (the php file) do I make a change to anything?
<?php
/**
- @package Joomla.Site
- @subpackage Templates.t4_blank
*
- @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
- @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$user = JFactory::getUser();
$this->language = $doc->language;
$this->direction = $doc->direction;
// Getting params from template
$params = $app->getTemplate(true)->params;
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$sitename = $app->get('sitename');
if($task == "edit" || $layout == "form" )
{
$fullWidth = 1;
}
else
{
$fullWidth = 0;
}
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $this->title; ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/error.css" type="text/css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700&display=swap" type="text/css" />
<link href="https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
</head>
<body class="page-error">
<div class="main">
<div class="error">
<div id="outline">
<div id="errorboxoutline">
<div class="error-code"><?php echo JText::('TPL_ERROR_CODE'); ?></div>
<div class="wrap-text">
<div class="error-message">
<h2><span><?php echo $this->error->getMessage(); ?></span></h2>
<?php if (JFactory::getConfig()->get('devmode')): ?>
<p><code><?php echo $this->error->getFile() ?> (<?php echo $this->error->getLine() ?>)</code></p>
<?php endif ?>
</div>
<div id="errorboxbody">
<p><?php echo JText::('TPL_FOLLOWING_PAGES'); ?></p>
</div>
<a class="button-home" href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::('TPL_LAYOUT_HOME_PAGE'); ?>"><?php echo JText::('TPL_LAYOUT_HOME_PAGE'); ?></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>