Welcome, Guest
Username Password: Remember me

Back and Home buttons not showing
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Back and Home buttons not showing

Back and Home buttons not showing 10 years, 9 months ago #15195

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

Re: Back and Home buttons not showing 10 years, 9 months ago #15240

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