disable return button on mobile
PostPosted: 15 May 2017, 06:20
by hostmarcel
hello good day :)
my question is:
how can i disable this button in the mobile version?
i made it into an android app but i want them to stay in the app not being able to exit.
thanks in advance!
regards,
Marcel
Re: disable return button on mobile
PostPosted: 15 May 2017, 14:12
by Jason
In the /public/mobile/index.php file. I haven't tested this, but probably just remove this line:
- Code: Select all
<a data-role="button" id="home-button" data-iconshadow="false" data-iconpos="notext" data-ajax="false" data-theme="b" href="<?php echo $home_url; ?>" data-icon="home" data-shadow="false" data-corners="false"></a>
Re: disable return button on mobile
PostPosted: 16 May 2017, 14:16
by hostmarcel
Jason wrote:In the /public/mobile/index.php file. I haven't tested this, but probably just remove this line:
- Code: Select all
<a data-role="button" id="home-button" data-iconshadow="false" data-iconpos="notext" data-ajax="false" data-theme="b" href="<?php echo $home_url; ?>" data-icon="home" data-shadow="false" data-corners="false"></a>
that jason worked perfectly!
thanks a lot :)