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 ? |
Re: Admin Quick Find Togglable Panel
Have you got Webmaster mode enabled? Perhaps that's why.
|
Re: Admin Quick Find Togglable Panel
Quote:
|
Re: Admin Quick Find Togglable Panel
Not sure what's going on there then, ought to work fine on your live site...
|
Re: Admin Quick Find Togglable Panel
Quote:
No idea exactly Also can you please tell me how to display quick find toggle panel only Admin page & not on every pages ? Bcoz I have around 2500+ manufactures so I don't want to load them on each and every page every time. Just need to use toggle panel from admin's home only. ;-) |
Re: Admin Quick Find Togglable Panel
Re. your error, I would check the error logs in var/log
If you want to display it on admin homepage only, in step 2, I think you can use... Code:
{* Quick Find Admin Panel *} |
Re: Admin Quick Find Togglable Panel
Quote:
Thanks it worked perfectly :D/ Quote:
PHP Warning: Unexpected character in input: ' in /home/user/public_html/store/var/templates_c/bb2137ca057b8814db40b23a8d677d43/%%8B^8B4^8B45DCD5%%orders_list.tpl.php on line 126 which tpl/php file I should trace to find "character in input" error ? Any idea ? |
Re: Admin Quick Find Togglable Panel
skin/common_files/main/orders_list.tpl
|
Re: Admin Quick Find Togglable Panel
1 Attachment(s)
Quote:
I checked the code & could not find anything suspicious:( |
Re: Admin Quick Find Togglable Panel
1 Attachment(s)
New version that remembers the quick view panel state with a cookie... just replace skin/common_files/quick_find.tpl with attached.
|
Re: Admin Quick Find Togglable Panel
really nice!
Just one thing, on my site the Products pulldown triggers a search which returns all items. |
Re: Admin Quick Find Togglable Panel
Use this all the time - awesome :)
|
Re: Admin Quick Find Togglable Panel
1 Attachment(s)
New version, which can be fluid or fixed width, plus the toggle button is moved to the admin top header menu...
1) Upload attached quick_find.tpl to skin/common_files 2) At the end of skin/common_files/head_admin.tpl INSERT... Code:
{* Quick Find Admin Panel *} BEFORE... Code:
<li class="orange"> Code:
{* Quick Find Admin Panel *} Note the options at the top of quick_find.tpl Quote:
|
Re: Admin Quick Find Togglable Panel
^ updated for the RMA module / returns.
|
All times are GMT -8. The time now is 03:47 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.