com_content variables

  <?php // variables de Joomla en com_content/category

 

$Titulocategoria =  $this->category->name; 

$Aliascategoria = $this->category->alias;

$TituloSubcategoria =  $this->escape($child->title);

$AliasSubcategoria = $this->escape($child->alias);

?>

 

<?php // variables de Joomla

$images = json_decode($this->item->images);  $introImage   = $images->image_intro; $fullImage   = $images->image_fulltext; // variable imagenes intro y full

$varUrl = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));

$varIntroImageSrc = htmlspecialchars($images->image_intro, ENT_COMPAT, 'UTF-8');

$varFullImageSrc = htmlspecialchars($images->image_fulltext, ENT_COMPAT, 'UTF-8'); 

$varTitulo = $this->escape($this->item->title); 

$varTituloNoespacios = preg_replace('/\s+/', '', $this->item->title); 

?>