By Jordan Weinstein on Friday, 01 March 2019
Posted in Technical Issues
Replies 1
Likes 0
Views 843
Votes 0
Hello,

The login form on Komento appends the #commentform at the end of the URL so on login redirection, the browser scrolls to the comment form. I would like to remove the hash and just have the page load without scrolling to comments. Which file handles that - I would like to stop that.

Jordan
Hey Jordan,

You may find it in the theme file /components/com_komento/themes/wireframe/login/default.php at line 32,

[gist]
<input type="hidden" name="return" value="<?php echo base64_encode(JURI::getInstance()->toString() . '#commentform'); ?>" />
[/gist]
·
Friday, 01 March 2019 21:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post