com_category subcategorias

  <?php $Titulocategoria =  $this->category->name; 

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

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

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

?>

 <?php 

defined('_JEXEC') or die;

 

JHtml::_('bootstrap.tooltip');

$class  = ' class="first"';

$lang   = JFactory::getLanguage();

$user   = JFactory::getUser();

$groups = $user->getAuthorisedViewLevels();

?>

 

 <!-- ============================================================================ -->

    

 

<?php if (count($this->children[$this->category->id]) > 0) : ?>

<?php $contadorForEach = 0; ?>

<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>

    <!-- =============================== items============================== -->

<?php echo JHtml::_('content.prepare', $child->description, '', 'com_content.category'); ?> 

<?php echo $this->escape($child->title); ?>

<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($child->id)); ?>

 

        <!-- ============================================================================ -->

 

<?php $contadorForEach = $contadorForEach + 1; ?>

<?php endforeach; ?>

<?php endif; ?>