Remove Back button and "home" link from upper LEFT section

cunni5ac
12 years, 8 months ago
Hi, 

I have made a custom menu and I need to remove the "home" textual link and the "Back" button off the mobile site. I am using the Iphone Mobile template. How would I go about doing this?

Example:
els.2elearning.com/mobile/index.php/2012-03-13-23-25-14?device=iphone

^Look at upper left of the page

Thank you
cunni5ac
12 years, 8 months ago
Was able to get rid of the buttons, but the words "Back" and Home" are still active. Any one know how to remove these? 

It is a little weird anyway that there will be a back when the Iphone's Safari browser has back included...
cunni5ac
12 years, 8 months ago
Well...If anyone of you that needs help with this subject and no one on the forum helps you (like what happened to me:angry:), go to the en-GB.tpl_mobile_iphone.ini file in your language files and delete the words home and back.

Good luck 
dryabov
12 years, 8 months ago
You chose quite complicated way. I'd edit template's index.php and remove
	<?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;?>

(actually, I'd make a copy of the template and edit the copy, because of mobile_iphone is refreshed on each MJ update)

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.