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

mooney101
13 years, 12 months ago
I would like to remove the "back to top" and "home" button form the pda template but I don't know how. Thank You
mooney101
13 years, 12 months ago
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">

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.