How to pull module title from a specific position - Joomla! Forum - community, help and support


i pull name module when placed in position:

code: select all


<div id="module title">module title here</div>
<div id="module">
<jdoc:include type="modules" name="some position" />
</div>



any appreciated.

this how did it.

first make new function.

code: select all

function modchrome_functioname($module, &$params, &$attribs)
{
   if (!empty ($module->content)) :
       if ($module->showtitle) : ?>
          <div id="module title"><?php echo $module->title; ?></div>
            <?php endif; ?>
       <div id="module"><?php echo $module->content; ?></div>
            <?php endif;
}


then in index make new div this.

code: select all

<div id="some name"><jdoc:include type="modules" name="some position" style="functioname" /></div>


thats how solved problem





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support