View Single Post
  #96  
Old 01-22-2006, 01:56 PM
 
DVDirect DVDirect is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 35
 

Default

Hi All,

We added a reference code at the top of the search result for a quick reference.

http://www.dvdirect.com.au/information/colour-code.gif

Insert this code


Code:
{* Colour Key: Begin *} Colour Key: <table width="100%" border="1"> <tr> <td bgcolor="#FFCCFF" name="Pink" width="60" align="middle">Not Finished</td> <td bgcolor="#CCFFCC" name="Green" width="60" align="middle">Queued</td> <td bgcolor="#CCFFFF" name="Blue" width="60" align="middle">Processed</td> <td bgcolor="#CCCCFF" name="Purple" width="60" align="middle">Backordered</td> <td bgcolor="#FFFFCC" name="Yellow" width="60" align="middle">Declined</td> <td bgcolor="#FFCCCC" name="Red" width="60" align="middle">Failed</td> <td bgcolor="#CCCCCC" name="Grey" width="60" align="middle">Complete</td> </tr> </table> {* Colour Key: End *}

in file /main/orders_list.tpl After the following code

Code:
{* $Id: orders_list.tpl,v 1.7.2.2 2004/10/29 07:43:23 max Exp $ *} {assign var="total" value=0.00} {assign var="total_paid" value=0.00} {if $orders ne ""} {capture name=dialog} <DIV align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_search_again href="orders.php"}</DIV> {include file="customer/main/navigation.tpl"}

And then just change the colour codes in /main/orders_colors.tpl


Code:
{* $Id: orders_colors.tpl,v 2.0 2004/10/31 01:27:28 ADPBoss Exp $ *} {if $orders[oid].status eq "N"} bgcolor="#FFCCFF"} {/if} {if $orders[oid].status eq "Q"} bgcolor="#CCFFCC"} {/if} {if $orders[oid].status eq "P"} bgcolor="#CCFFFF"} {/if} {if $orders[oid].status eq "B"} bgcolor="#CCCCFF"} {/if} {if $orders[oid].status eq "D"} bgcolor="#FFFFCC"} {/if} {if $orders[oid].status eq "F"} bgcolor="#FFCCCC"} {/if} {if $orders[oid].status eq "C"} bgcolor="#CCCCCC"} {/if}

Goes without saying that you need to make both colours match.


Cheers,
Andrew
__________________
X-Cart v4.0.15
MMPro
EZy Checkout
Rewards Points
Heavily modified back end
Reply With Quote