Page 1 of 1

Change Links In Admin Product List

Posted: Fri Jan 25, 2019 5:52 pm
by GraemeH
Hi,

I have an extension in use (no longer available) that changes the line of an order on the sales order list depending on the current order status, but there are making the [View and [Edit] links hard to see, so I want to change the font colour of them. I have looked through the controller/sale/order, view/template/sale/orderlist and template/stylesheet files and can't see where to change this.

Does anyone know how I can change this. Any help appreciated.

Re: Change Links In Admin Product List

Posted: Fri Jan 25, 2019 7:19 pm
by straightlight
Contact the extension developer to resolved the issue.

Re: Change Links In Admin Product List

Posted: Fri Jan 25, 2019 8:25 pm
by GraemeH
Hi,

Thanks, I have tried with no response, although I'm not sure it really an issue with the extension as its working as it should. I was just hoping there may be a way to change the default colour of the text through the opencart files.

Re: Change Links In Admin Product List

Posted: Sat Jan 26, 2019 5:52 pm
by xxvirusxx
Post a screenshot.

Re: Change Links In Admin Product List

Posted: Thu Jan 31, 2019 11:43 pm
by GraemeH
Apologies for the delay (have been away)

Image link:

www.fixingsmegastore.co.uk/list.jpg

It's the View / Edit links on the far right I'm looking to change.

Re: Change Links In Admin Product List

Posted: Thu Jan 31, 2019 11:47 pm
by xxvirusxx
That module should have a css file.

Re: Change Links In Admin Product List

Posted: Fri Feb 01, 2019 7:41 pm
by GraemeH
It's a single xml file. The only mention of css is as below.

Code: Select all

<file name="admin/view/template/sale/order_list.tpl">
				<operation>
                        <search position="replace" offset="1"><![CDATA[
							<?php foreach ($orders as $order) { ?>
                        ]]></search>
                        <add><![CDATA[
							<style type="text/css">.list tbody td{background:none !important;color:inherit !important;}</style>
							<?php foreach ($orders as $order) { ?>
							<tr style="background:<?php echo $order['background']; ?>; color:<?php echo $order['foreground']; ?>;">
                        ]]></add>
                </operation>
        </file>

Re: Change Links In Admin Product List

Posted: Fri Feb 01, 2019 8:00 pm
by GraemeH
Ignore above - have found file.