fettlebox Posted June 27, 2012 Share Posted June 27, 2012 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 More sharing options...
Dirty Butter Posted June 27, 2012 Share Posted June 27, 2012 This is normal behavior, but frankly it's never gotten in my way. There probably is a way to disable it in the code, but not from Admin. Maybe someone else can suggest how to do that. Link to comment Share on other sites More sharing options...
fettlebox Posted July 28, 2012 Author Share Posted July 28, 2012 Not a problem now I'm home & using a 22" screen & a scroll mouse! I started the store setup on my small netbook. Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 28, 2012 Share Posted July 28, 2012 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 More sharing options...
fettlebox Posted July 28, 2012 Author Share Posted July 28, 2012 Thanks (& to Bsmither) - I'd prefer it to be gone Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 28, 2012 Share Posted July 28, 2012 I haven't tried it. If it works for you I'll mark this thread as Resolved. Link to comment Share on other sites More sharing options...
bsmither Posted July 28, 2012 Share Posted July 28, 2012 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 More sharing options...
fettlebox Posted July 29, 2012 Author Share Posted July 29, 2012 With pleasure. Will likely be a few days as I'm focusing on getting ready for our opening on Wednesday. Link to comment Share on other sites More sharing options...
fairview Posted February 4, 2013 Share Posted February 4, 2013 Hi - I have removed the flyout - would rather have changed it to a click event but didn't find I could make it work according to the code from dirty butter - could be I am using 5.2.1 now. Any suggestions? thanks, Sue Link to comment Share on other sites More sharing options...
bsmither Posted February 4, 2013 Share Posted February 4, 2013 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 More sharing options...
fairview Posted February 4, 2013 Share Posted February 4, 2013 thank you. works great. Link to comment Share on other sites More sharing options...
kalyncomputers Posted February 7, 2013 Share Posted February 7, 2013 Thanks for this, I was finding the flyout box intensly irritating as I am working my way through populating a new install with over 1000 products. Tim Link to comment Share on other sites More sharing options...
firetrader Posted May 23, 2013 Share Posted May 23, 2013 FANTASTIC Thanks BSmither ! Link to comment Share on other sites More sharing options...
vidmarc Posted July 12, 2013 Share Posted July 12, 2013 Another thumbs up to bsmither from me. Link to comment Share on other sites More sharing options...
Al Brookbanks Posted December 16, 2013 Share Posted December 16, 2013 This has been changed in the CubeCart code in the default package. Link to comment Share on other sites More sharing options...
Recommended Posts