Problema con artículos.

#115559
jotaSLJuan Javier
Participante

He estado mirando el código y no encuentro nada, ando un poco perdido porque tampoco se que parte del código necesitas.

Lo que si me e dado cuenta es que al cambiar el nombre de un archivo php se ve bien. Supongo que porque no se aplican los estilos porque los títulos y el resto de módulos cambian. Aqui te dejo ese codigo php por si te sirve de algo:

<?php
defined('_JEXEC') or die;

/**
* This is a file to add template specific chrome to module rendering. To use it you would
* set the style attribute for the given module(s) include in your template to use the style
* for each given modChrome function.
*
* eg. To render a module mod_test in the submenu style, you would use the following include:
*
*
* This gives template designers ultimate control over how modules are rendered.
*
* NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same
* two arguments.
*/

/*
* themeHtml5 (chosen themeHtml5 tag and font headder tags)
*/
function modChrome_themeHtml5($module, &$params, &$attribs)
{
$moduleTag = $params->get('module_tag');
$headerTag = htmlspecialchars($params->get('header_tag'));
$headerClass = $params->get('header_class');
$bootstrapSize = $params->get('bootstrap_size');
$moduleClass = !empty($bootstrapSize) ? ' span' . (int) $bootstrapSize . '' : '';
$moduleClassSfx = htmlspecialchars($params->get('moduleclass_sfx'));

if (!empty ($module->content))
{
$html = "";

if ((bool) $module->showtitle)
{
$html .= "{$module->title}";
}

$html .= $module->content;
$html .= "";

echo $html;
}
}

function modChrome_html5nosize($module, &$params, &$attribs)
{
$moduleTag = $params->get('module_tag');
$headerTag = htmlspecialchars($params->get('header_tag'));
$headerClass = $params->get('header_class');
$bootstrapSize = $params->get('bootstrap_size');
//$moduleClass = !empty($bootstrapSize) ? ' span' . (int) $bootstrapSize . '' : '';
$moduleClassSfx = htmlspecialchars($params->get('moduleclass_sfx'));

if (!empty ($module->content))
{
$html = "";

if ((bool) $module->showtitle){
$html .= "{$module->title}";
}

$html .= $module->content;
$html .= "";

echo $html;
}
}

function modChrome_modal($module, &$params, &$attribs)
{
$moduleTag = $params->get('module_tag');
$headerTag = htmlspecialchars($params->get('header_tag'));
$headerClass = $params->get('header_class');
$bootstrapSize = $params->get('bootstrap_size');
// $moduleClass = !empty($bootstrapSize) ? ' span' . (int) $bootstrapSize . '' : '';
$moduleClassSfx = htmlspecialchars($params->get('moduleclass_sfx'));

if (!empty ($module->content))
{
$html = "

Esta web utiliza cookies propias y de terceros para su correcto funcionamiento y para fines analíticos y para mostrarte publicidad relacionada con sus preferencias en base a un perfil elaborado a partir de tus hábitos de navegación. Contiene enlaces a sitios web de terceros con políticas de privacidad ajenas que podrás aceptar o no cuando accedas a ellos. Al hacer clic en el botón Aceptar, acepta el uso de estas tecnologías y el procesamiento de tus datos para estos propósitos. Ver
Privacidad