Welcome, Guest
Username Password: Remember me

remove "back to top" and "home button from page pda
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: remove "back to top" and "home button from page pda

remove "back to top" and "home button from page pda 13 years, 1 month ago #3618

  • mooney101
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
I would like to remove the "back to top" and "home" button form the pda template but I don't know how. Thank You

Re: remove "back to top" and "home button from page pda 13 years, 1 month ago #3619

  • mooney101
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
I figured it though I'm not sure if its correct..

orginal index (..templates/mobile_pda/index.php)
$modulepos = $MobileJoomla->getPosition('middle2');
if($modulepos && $this->countModules($modulepos) > 0):
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php
endif;
$modulepos = $MobileJoomla->getPosition('middle3');
if($modulepos && $this->countModules($modulepos) > 0):
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php
endif;

?>
<div class="top">
<a href="#header"><?php echo JText::_('TPL_MOBILE_PDA__BACK_TO_THE_TOP'); ?></a>
</div>
<?php
if(!$MobileJoomla->_ishomepage)
{
?>
<div class="home">
<a href="<?php echo $this->baseurl;?>"><?php echo JText::_('TPL_MOBILE_PDA__HOME'); ?></a>
</div>
<?php
}
?>
</div>
<div id="footer">


what it looks liked fixed

$modulepos = $MobileJoomla->getPosition('middle2');
if($modulepos && $this->countModules($modulepos) > 0):
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php
endif;
?>
</div>
<div id="footer">
The following user(s) said Thank You: kayy
  • Page:
  • 1
Time to create page: 0.07 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.