Welcome, Guest
Username Password: Remember me

Module Title not shown
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Module Title not shown

Module Title not shown 12 years, 10 months ago #4470

  • GuterTag
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
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;

?>

Re: Module Title not shown 12 years, 10 months ago #4509

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
Try to use
<jdoc:include type="modules" name="user1" style="xhtml_m" />

Re: Module Title not shown 12 years, 10 months ago #4514

  • GuterTag
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
It's working. Thanks for the help
  • Page:
  • 1
Time to create page: 0.11 seconds

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.