I have noticed that when Sh404Sef is switched on Toggle Sidebar on form.php will redirect to index.php (home) when clicked.
Possible solution:
define following variable;
<?php# define this variable above form$editurl = $_SERVER;?>
and then use same in the following code
<div id="k2ToggleSidebarContainer"> <a href="<?php echo $editurl;?>#" id="k2ToggleSidebar"><?php echo JText::_('Toggle sidebar'); ?></a> </div>
Possible solution:
define following variable;
<?php# define this variable above form$editurl = $_SERVER;?>
and then use same in the following code
<div id="k2ToggleSidebarContainer"> <a href="<?php echo $editurl;?>#" id="k2ToggleSidebar"><?php echo JText::_('Toggle sidebar'); ?></a> </div>