Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence du fichier templates/protostar/error.php

Espaces de nommage

 Joomla\Site
 

Variables

 $app = JFactory::getApplication()
 
 $user = JFactory::getUser()
 
 $params = $app->getTemplate(true)->params
 
 $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') else
 
if($params->get('googleFont')) h2
 
if($params->get('googleFont')) h3
 
if($params->get('googleFont')) h4
 
if($params->get('googleFont')) h5
 
if($params->get('googleFont')) h6
 
if($params->get('googleFont')) site title
 
</style > endif
 
if($params->get('templateColor')) a
 
 $module = JModuleHelper::getModule('mod_search')
 
 $loop = $this->setError($this->_error->getPrevious())
 
 endwhile
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $itemid

$itemid = $app->input->getCmd('Itemid', '')

◆ $layout

$layout = $app->input->getCmd('layout', '')

◆ $loop

$loop = $this->setError($this->_error->getPrevious())

◆ $module

$module = JModuleHelper::getModule('mod_search')

◆ $option

$option = $app->input->getCmd('option', '')

◆ $params

$params = $app->getTemplate(true)->params

◆ $sitename

$sitename = $app->get('sitename')

◆ $task

$task = $app->input->getCmd('task', '')

◆ $user

$user = JFactory::getUser()

◆ $view

$view = $app->input->getCmd('view', '')

◆ a

if ( $params->get( 'templateColor')) a
Valeur initiale :
{
color: <?php echo $params->get('templateColor')
JFactory::getDocument() -> addStyleDeclaration(<<< CSS #dragarea color
Definition: plugins/installer/packageinstaller/tmpl/default.php:142
$params
Definition: templates/protostar/error.php:18

◆ else

if ( $params->get( 'logoFile')) elseif ( $params->get( 'sitetitle')) else
Valeur initiale :
{
$fullWidth
Definition: protostar/offline.php:20

◆ endif

endif

◆ endwhile

endwhile

◆ h2

if ( $params->get( 'googleFont')) h2

◆ h3

if ( $params->get( 'googleFont')) h3

Référencé par modChrome_rounded().

◆ h4

if ( $params->get( 'googleFont')) h4

◆ h5

if ( $params->get( 'googleFont')) h5

◆ h6

if ( $params->get( 'googleFont')) h6

◆ title