Admin Quick Find Togglable Panel
1 Attachment(s)
A quick little v4.4.x - v4.7.x admin mod that shows a useful toggleable panel for regularly used admin search sections that might save a few clicks...
The panel can be toggleable (default) or shown at all times and you can show or hide the languages field (see settings at the top of quick_find.tpl). 1) Upload attached quick_find.tpl to skin/common_files 2) In skin/common_files/admin/home.tpl and skin/common_files/single/home.tpl Before... Code:
<table width="100%" cellpadding="0" cellspacing="0" align="center"> Code:
{* Quick Find Admin Panel *} 3) See this post for the manufacturers dropdown. 11th Sept 2017 - Latest version here |
Re: Admin Quick Find Togglable Panel
Installed it with ease. I know it only saves seconds but those seconds will add up to a huge amount eventually! It'll also come in handy when a user calls up as you can quickly search via order ID to locate them.
Changing/Finding products is easier as it saves you a few clicks. It would be silly not to use this mod really as it takes 2 minutes to install and it's FREE. Overall it'll make tasks easier and quicker so I'll be using it a lot. I do suggest to add a 'Search' button though. Thanks Phil, |
Re: Admin Quick Find Togglable Panel
Awesome mod. Easy installation.
Trying to get it to work on 4.5.5 Gold, having two errors. When toggler is set to hide, the click does not actually show anything, instead I'm getting an error in the java code (see below). Also, the manufacturers list is limited to only the # of manufacturers in the "Manufacturers list limit (leave empty if unlimited)" value from the Manufacturers module. Code:
Uncaught TypeError: undefined is not a functionsearch.php?mode=search&page=1:527 (anonymous function)jquery-min.js:2 f.extend._Deferred.e.resolveWithjquery-min.js:2 e.extend.readyjquery-min.js:2 c.addEventListener.C |
Re: Admin Quick Find Togglable Panel
Hi Marcello, perhaps try upgrading your version of jQuery to say, v1.8.3, which should be safe to use.
skin/common_files/lib/jquery-min.js https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js Yes, it will limit the manufs according to the manuf module setting. |
Re: Admin Quick Find Togglable Panel
Quote:
Thanks, upgrading jquery worked! Any ideas how to not use the limited manufacturers shown, and instead use all? |
Re: Admin Quick Find Togglable Panel
Quote:
1) Create & upload new PHP file /modules/Manufacturers/quick_find.php Code:
<?php 2) In /admin/auth.php Before... Code:
include $xcart_dir . '/include/get_language.php'; Code:
// Quick Find Admin Panel 3) In /skin/common_files/quick_find.tpl replace... Code:
{section name=mid loop=$manufacturers_menu} Code:
{section name=mid loop=$manufacturers_quickfind} Updated 8th August 2019 |
Re: Admin Quick Find Togglable Panel
Works like a charm! Love this addition, makes everything so much easier.
|
Re: Admin Quick Find Togglable Panel
We had an issue with this working in IE & FireFox. I think the issue was because of the ToggleClass('expanded'), in IE/FireFox, it requires the div "toggler" to have "overflow:hidden;" in the CSS style.
It wouldn't expand on those two browsers until we added that. Then again, it might have been because we messed with the CSS initially. |
Re: Admin Quick Find Togglable Panel
updated, form action paths tweaked.
|
Re: Admin Quick Find Togglable Panel
Phil,
This is very nice tweak. Saves lots very unnecessary clicks :) I guess it will soon become default x-cart option ;-) I upgraded jquery-min.js to 1.8.3 as mentioned above. Everything is working fine on my test localhost store with XAMPP Just one error shows admin Quote:
I am not able to paste here the entire line no 126 code of file %%8B^8B4^8B45DCD5%%orders_list.tpl.php because of notepad++ shows some nul sign just before "lambda_14($_tmp)); ?>" I have attached screenshot for better review of code. http://www.pixentral.com/hosted/1AxHncXxQlWCc8PONToMT3qKG6stex1_thumb.jpg Do you have any idea why I am getting this error ? |
All times are GMT -8. The time now is 03:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.