Module Title not shown

GuterTag
13 years, 5 months ago
Hi,
because our main site has many module position (user1-user17) I have added these module position to the PDA template to test your software. It's working fine but the title of the modules are not shown. When I change the position to, for example, mj_pda_middle the module title is shown on the mobile site. If I use one of the new positions the title is not visible.
So only changing the position will hide/show the title. Is there any filter in the code (it's really not included in the generated html code)?

see m.2-plan.com/free-project-management-software-2-plan-desktop.html
The last paragraph "Copy of Top-down Planning" is a copy of the first one. But only in the last paragraph the title will be shown.

Any idea?
Thanks for your help!!!
thomas

My changes to the original template file:

after
<div id="content">
I have added additional positions
<div id="mj_all_middle">
<div class="moduletable">
<jdoc:include type="modules" name="header"/>
</div>
<span class="article_separator">&nbsp;</span>
<div class="moduletable">
<jdoc:include type="modules" name="user1"/>
</div>
<div class="moduletable">
<jdoc:include type="modules" name="user2"/>
</div>
<div class="moduletable">
<jdoc:include type="modules" name="user3"/>
</div>
<div class="moduletable">
<jdoc:include type="modules" name="user4"/>
</div>
</div>

<?php
$MobileJoomla->showMessage();

$modulepos = $MobileJoomla->getPosition('middle');
if($modulepos && $this->countModules($modulepos) > 0):
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php
endif;

$MobileJoomla->showBreadcrumbs();
$MobileJoomla->showComponent();

$modulepos = $MobileJoomla->getPosition('middle2');
if($modulepos && $this->countModules($modulepos) > 0):
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php
endif;
$modulepos = $MobileJoomla->getPosition('middle3');
if($modulepos && $this->countModules($modulepos) > 0):
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php
endif;

?>
dryabov
13 years, 5 months ago
Try to use
<jdoc:include type="modules" name="user1" style="xhtml_m" />
GuterTag
13 years, 5 months ago
It's working. Thanks for the help

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.