i find the "back to top" item in /components/com_k2/templates/default/item.php
below is the codeI want to change back to top function to back to previous, I try to use
$_SERVER
but can't be work, please help.................
below is the code
<div class="itemBackToTop">
<a class="k2Anchor" href="<?php echo $this->item->link; ?>#startOfPageId<?php echo JRequest::getInt('id'); ?>">
<?php echo JText::_('K2_BACK_TO_TOP'); ?>
</a>
</div>$_SERVER
but can't be work, please help.................