Well, I made it work, but my
unsuccessfull_orders-opencart.xml,
beeing one of my ~55 Admin VqMod Extensions, changed the
VqMod SEARCH-LINE Anchor Content, and so kept the VqMod from work:
Code: Select all
<search position="replace"><![CDATA[
<td class="left"><?php echo $order['status']; ?></td>
]]></search>
to the Search Line Replacement Content of the other VqMod,
so I had to QUICKFIX-change the SEARCH Link Line Content,
to make the
color-status VqMod look like this,
in all it's SEARCH
Sections:
Code: Select all
<search position="replace"><![CDATA[
<td class="left"><?php if($order['status']){ echo $order['status']; } else { echo '---'; } ?></td>
]]></search>
to avoid this VqMod-Manager Error Message:
Code: Select all
REQUEST URI : /shop/admin/index.php?route=sale/order&token=afa ......
MOD DETAILS:
modFile : /home/jacobch/www/ocshop_li/shop/vqmod/xml/color_status.xml
id : Color Code
File Name : admin/view/template/sale/order_list.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <td class="left"><?php echo $order['status']; ?></td>
I also renamed te color-status.xml to zz_color-status.xml, to be INDEXED/LISTED
after the other VqMod, just to make sure, that it will FIND the correct Anchor Link !
---
Meaning, that you have to check in your Extensions, if something ELSE already
uses this VqMod
SEARCH ANCHOR TAG Line, and so prevents your VqMod
from doing it's Job:
<td class="left"><?php echo $order['status']; ?></td>
Just to give you some ideas...
Good Luck!
Ernie
---
PS: I changed some colors and added STRONG Tags, to make it more 'visible' for the lower Image
---
