Quote:
Originally Posted by leagcyteam2
Why can't I click on the Order #'s on version 4.0.19?
It won't let me view the orders. I have gone through the thread and not seen a solution.
Please advise what I should change in the code to be able to view each order (by clicking the order #)
Thanks!
|
This is for the 4.X modifications. I'm using 4.1.6 and have no clue what would be needed for other versions.
For those that 'lost' their hyperlinks here is the code to get them working again:
To enable the hyperlink for order numbers on about line 72 find :
Code:
<td {include file="main/orders_colors.tpl"}>#{$orders[oid].orderid}</td>
replace with :
Code:
<td {include file="main/orders_colors.tpl"}><a href="order.php?orderid={$orders[oid].orderid}">#{$orders[oid].orderid}</a></td>
To enable the hyperlink for the date the order was placed at about line 93 find:
Code:
<td {include file="main/orders_colors.tpl"} nowrap="nowrap">{$orders[oid].date|date_format:$config.Appearance.datetime_format}</td>
replace with:
Code:
<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>
Nice mod.
Zoe