Upgraded to v1.0.1, Now home page content doesn't display

nichelabs
12 years, 8 months ago
I just upgraded to the latest version but now only the menu and modules appear on the home page for all mobile devices. The frontpage articles are missing.

In the settings under General, I have the home menu forced as the homepage and display component is selected. All the individual mobile settings are set to use global. I even tried to change each mobile device to display component but still no content.

All internal pages show content just fine.

You can see the site at pleasantgrovebc.com.
nichelabs
12 years, 8 months ago
Okay nevermind I figured out the problem. It was an issue in my template file. Sorry.
erichf
12 years, 8 months ago
I'm experiencing the same problem. Can you tell me what you had to fix in your template?

Thanks
nichelabs
12 years, 8 months ago
I had customized my template and made modifications to the index.php file. I can't remember why I added this test but it was preventing the new version from displaying the content. Once I removed it from the index.php file the content for the main page started showing
I changed this:
 
<?php if($MobileJoomla->config['tmpl_iphone_componenthome'] || !$MobileJoomla->isHome()): ?>
<div class="container">
<?php $MobileJoomla->showComponent(); ?>
</div>
<?php endif; ?>
 


to this:
 
<div class="container">
<?php $MobileJoomla->showComponent(); ?>
</div>
 


I doubt this will help you since this was specific to changes I had made previously.
erichf
12 years, 8 months ago
I think those lines crept into the template from Mobile Joomla, because I had them in mine as well.

Removing the php lines solved it for me as well.

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.