Activating Top Menu for Mobile site

  • WDCTA
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago #21020 by WDCTA
In the instructions, it shows that position "USER 2" will show on an iphone browser, however, when looking at the module positions for Mobility, there is no such USER 2 position on the template at all.
demo.hotjoomlatemplates.com/mobility/index.php/iphone-ready


The position for the top menu is USER 3 per the module position map shown here:
demo.hotjoomlatemplates.com/mobility/index.php/module-positions

Please tell me how I can get the mobile site to display the top menu.

Thank you.

Please Log in to join the conversation.

More
11 years 7 months ago #21030 by ivan.milic
User 3 is alwaus shown, top menu should be in user 3

Please Log in to join the conversation.

  • WDCTA
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago #21042 by WDCTA
Our top menu is in position "user3" but it does not show up on the mobile site. Per the demo page:

This template will automatically "recognize" iPhone's browser and and use layout that's appropriate for this device. Only the most important features will be presented:

header area
main content area
footer links


So the main menu is not included, only the very top logo/header? Maybe this is our confusion.

Please Log in to join the conversation.

More
11 years 7 months ago #21058 by ivan.milic
???

Please tell me how I can get the mobile site to display the top menu.


top menu is always visible(user3), user2 is visible only on mobile device in footer

Please Log in to join the conversation.

  • WDCTA
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago #21074 by WDCTA
So why is our top "main" menu not appearing on the mobile site?

www.wdcta.org
if you go to this site on a mobile phone, NO menu appears. In fact, the site cannot be navigated because no menus are available.

demo.hotjoomlatemplates.com/index.php?template=mobility and go to Iphone Ready
The image shows USER2, Main Content, and Footer as showing on the Iphone Mobile site. However, per the template module positions, USER3 is for the main menu.

So again, How do we get our main menu to appear on the mobile site? Our main menu is in USER3 position per the module position map provided in the demo.

Please Log in to join the conversation.

More
11 years 7 months ago #21094 by ivan.milic
open inedex.php of template:

....
<?php if ($current_browser == true) { ?>
<div class="wrapper_iphone">
<div class="logo"><a href="index.php"><img src="<?php echo $this->baseurl ?>/templates/hot_mobility/images/logo.png" width="320" height="120" alt="joomla iphone" /></a></div>
<div class="clr"></div>
<div class="footer"><jdoc:include type="modules" name="user2" /></div>
<div class="clr"></div>
<div class="content_iphone"><jdoc:include type="component" /></div>
<div class="footer"><jdoc:include type="modules" name="footer" /></div>
</div>
<?php }else{
....

change it to this:

....
<?php if ($current_browser == true) { ?>
<div class="wrapper_iphone">
<div class="logo"><a href="index.php"><img src="<?php echo $this->baseurl ?>/templates/hot_mobility/images/logo.png" width="320" height="120" alt="joomla iphone" /></a></div>
<div class="clr"></div>
<?php if ($showuser3) { ?>
<div id="topmenu">
<div id="topmenu_pad">
<jdoc:include type="modules" name="user3" style="none" />
</div>
</div>
<?php } ?>

<div class="clr"></div>
<div class="footer"><jdoc:include type="modules" name="user2" /></div>
<div class="clr"></div>
<div class="content_iphone"><jdoc:include type="component" /></div>
<div class="footer"><jdoc:include type="modules" name="footer" /></div>
</div>
<?php }else{
....

Please Log in to join the conversation.

Time to create page: 0.432 seconds
Powered by Kunena Forum