Keyword

Toggle sidebar error when Sh404Sef is switched on

  • saman thenuwara
  • saman thenuwara's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 5 months ago #95811 by saman thenuwara
Toggle sidebar error when Sh404Sef is switched on was created by saman thenuwara
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>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum