i assign other template than default template used
[site]/templates/[tpl-name]/html/module.php
function modChrome_NAME($module, &$params, &$attribs) {
echo '<.h1.>' . $module->title . '<./h1.>';
echo $module->content;
}
[site]/templates/[tpl-name]/index.php
<jdoc:include type="modules" name="footer8" style="NAME" />
The $module->title function not take charge.
i also edit config advanced on module not take too.
Found alone just do
[site]/templates/[tpl-name]/html/mod_custom/default.php
add
defined('_JEXEC') or die;
$headerTag = htmlspecialchars($params->get('header_tag', 'h1'));
if ($module->showtitle) { echo '<' . $headerTag . '>' . $module->title . '</' . $headerTag . '>'; }
echo $module->content;
Title |
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-12-04 02:04:12 |
Closed_By | ⇒ | elkuku |
Labels |
Added:
000-CMS
|
Hi!
This is the tracker is for the JIssues project.
Please create a new issue on Joomla CMS project tracker here:
https://github.com/joomla/joomla-cms/issues
Thank you!