View Single Post
  #14  
Old 08-22-2007, 05:10 AM
 
Andrew Gadsden Andrew Gadsden is offline
 

Member
  
Join Date: Aug 2006
Location: Portsmouth, UK
Posts: 20
 

Default Re: Direct access to orders and items

4.1.8

I put Audioline's handy mod into one of the standard menu boxes as follows:

1. Create new file admin/quick_find.tpl
Code:
{capture name=menu} <form action="order.php"> Order no<input type="text" name="orderid"><input type="submit" value="find"> </form> <br /> <form action="product_modify.php"> SKU<input type="text" name="productid"><input type="submit" value="find"> </form> {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_quick_find menu_content=$smarty.capture.menu }
2. INSERT
Code:
{ include file="admin/quick_find.tpl"}
after
Code:
{ include file="admin/menu_admin.tpl" } <br />
(or wherever you like)

3. Create a new language variable lbl.quick_find with whatever name you choose. (eg "Quick Find")

Click image for larger version

Name:	quickfind_screenshot.jpg
Views:	303
Size:	16.5 KB
ID:	534

Thanks Audioline.
__________________
Andrew Gadsden
xcart 4.1.8 [unix]

http://www.allabouttea.co.uk

The home of Tea on the Web - forum members please use code XCART-77 for a 10% discount!
Reply With Quote