Jump to content

How to Change Side Search fly-out to Click in admin panel


fettlebox

Recommended Posts

Hi,

I'm currently running the free version of V5 while I set up my store.

In the admin panel I have a box that flys out from the rhs when moused over for customer/order/product searches. It getting in the way of me populating my store & I can't find any way to switch it off. Is this just a feature of the free version I'll loose when I upgrade or is there a way I can get rid of it?

Many thanks

Link to comment
Share on other sites

  • 1 month later...

There is a way to stop it, though, that someone offered. I'll try to find it and post here.

Bsmither helped someone else with this, in case you still want to do it for times you use the smaller screen.


This is what was changed as it pertains to your comment about the flyout:

jsadmin.js

Line 299:

From: $('#sidebar_control').click();

To: $('#sidebar_control').mouseover();

Add After line 301:

document.location.hash=target;

Change mouseover back to click and that solves that.

Link to comment
Share on other sites

Would you please try this: In the file adminskinsdefaulttemplatesmain.php,

find near line 86, this: <div id="loading_content">

Above it, add this: {/if}

Then, find near line 56, this: <div id="sidebar_contain">

Above it, add this: {if $SIDEBAR_CTRL}

What this does is add a bit of display logic that Smarty will use to determine if the sidebar should be displayed. Since CC5 has yet to have the feature of setting the variable $SIDEBAR_CTRL to true, Smarty says this is not true and won't display the HTML between the {if} and {/if}.

Let us know how that works for you.

Link to comment
Share on other sites

  • 6 months later...

To make the sidebar flyout a click event in CC521, in /js/admin.js at around line 250,

Change:

$('#sidebar_control').mouseover(function(){

To:

$('#sidebar_control').click(function(){

 

Also near line 294-295,

Change:

        if (target == '#sidebar') {
            $('#sidebar_control').mouseover();

To:

        if (target == '#sidebar') {
            $('#sidebar_control').click();
 

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...
  • 5 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...