View Single Post
  #149  
Old 02-10-2009, 04:37 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Color coded order status...

You don't have links because you removed them....

Code:
{* Colors modification MOD *} <tr{cycle values=", class='TableSubHead'"}> <td width="5"><INPUT type="checkbox" name="orderids[{$orders[oid].orderid}]"></td> <td {include file="main/orders_colors.tpl"}>#{$orders[oid].orderid}</td> <td nowrap> {if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Module ne "")} <INPUT type="hidden" name="order_status_old[{$orders[oid].orderid}]" value="{$orders[oid].status}"> {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]"} {else} {include file="main/order_status.tpl" status=$orders[oid].status mode="static"} {/if} {if $active_modules.Stop_List ne '' && $orders[oid].blocked eq 'Y'} [img]{$ImagesDir}/no_ip.gif[/img] {/if} </td> <td {include file="main/orders_colors.tpl"}>{$orders[oid].firstname} {$orders[oid].lastname} ({$orders[oid].login})</td> {if $usertype eq "A" and $single_mode eq ""} <td> {$orders[oid].provider} </td> {/if} <td {include file="main/orders_colors.tpl"} nowrap>{$orders[oid].date|date_format:$config.Appearance.date_format}</td> <td {include file="main/orders_colors.tpl"} nowrap align="right"> {include file="currency.tpl" value=$orders[oid].total} </td> </tr> {* Colors modification MOD *}

should include <a href="order.php?orderid={$orders[oid].orderid}">#{$orders[oid].orderid}</a>

Code:
<tr{cycle values=", class='TableSubHead'"}> <td width="5"><input type="checkbox" name="orderids[{$orders[oid].orderid}]" /></td> <td {include file="main/orders_colors.tpl"}><a href="order.php?orderid={$orders[oid].orderid}">#{$orders[oid].orderid}</a></td> <td {include file="main/orders_colors.tpl"} nowrap="nowrap"> {if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode ne "")} <input type="hidden" name="order_status_old[{$orders[oid].orderid}]" value="{$orders[oid].status}" /> {if $orders[oid].goid ne ""} {assign var="is_gcheckout_orders" value="1"} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]" extra="disabled='disabled'"} {else} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]"} {/if} {else} <a href="order.php?orderid={$orders[oid].orderid}"><b>{include file="main/order_status.tpl" status=$orders[oid].status mode="static"}</b></a> {/if} {if $active_modules.Stop_List ne '' && $orders[oid].blocked eq 'Y'} <img src="{$ImagesDir}/no_ip.gif" style="vertical-align: middle;" alt="{$lng.lbl_blocked}:{$orders[oid].ip}" title="{$lng.lbl_ip_blocked|substitute:"ip":$orders[oid].ip}" /> {/if} </td> <td {include file="main/orders_colors.tpl"}>{$orders[oid].firstname} {$orders[oid].lastname} ({$orders[oid].login})</td> {if $usertype eq "A" and $single_mode eq ""} <td {include file="main/orders_colors.tpl"}>{$orders[oid].provider}</td> {/if} <td {include file="main/orders_colors.tpl"}nowrap="nowrap"><a href="order.php?orderid={$orders[oid].orderid}">{$orders[oid].date|date_format:$config.Appearance.datetime_format}</a></td> <td {include file="main/orders_colors.tpl"}nowrap="nowrap" align="right"> <a href="order.php?orderid={$orders[oid].orderid}">{include file="currency.tpl" value=$orders[oid].total}</a> </td> </tr>
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote