Back and Home buttons not showing

Cavespider
11 years, 4 months ago
I have 2 installations on Mobile Joomla, on one the 'Back' and 'Home' buttons work fine. The other they are not there.

I can't find any setting for these to turn them on, or off.

It would be good to get these sorted.

Thanks
Cavespider
11 years, 4 months ago
I don't think this forum gets much attention from the developers looking at the other topics.

As I couldn't find a way to switch it on and off I inserted the code into the template

<a class="home" href="/">Home</a>
<a class="back" href="javascript:history.go(-1)">Back</a>


Remember to remove the code that is supposed to do the job because you never know, it might work in some circumtances and you'll get two sets of buttons, so remove this

<?php if(!$MobileJoomla->isHome()): ?>
<a class="back" href="javascript:history.go(-1)"><?php echo JText::_('TPL_MOBILE_IPHONE__BACK'); ?></a>
<a class="home" href="/<?php echo $home; ?>"><?php echo JText::_('TPL_MOBILE_IPHONE__HOME'); ?></a>
<?php endif;?>

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.