- Posts: 12
- Thank you received: 0
OS Property support center
SOLVED Energy Certificate Rows: Background Colour
- David
- Topic Author
- Offline
- New Member
-
Less
More
8 years 3 months ago - 8 years 3 months ago #92998
by David
SOLVED Energy Certificate Rows: Background Colour was created by David
Hi, my site is serving the Irish region where there are 15 bands of energy rating.
OS Property allows me to enter these bands and the 15 rows appear.... but only the first 9 have background colours allocated.
Where in the code can I add colours for the remaining rows?
Many thanks
OS Property allows me to enter these bands and the 15 rows appear.... but only the first 9 have background colours allocated.
Where in the code can I add colours for the remaining rows?
Many thanks
Attachments:
Last edit: 8 years 3 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- David
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
8 years 3 months ago - 8 years 3 months ago #93129
by David
Replied by David on topic Energy Certificate Rows: Background Colour
Bump - surely someone has experience of this issue? I just need a pointer to what files to edit.
Thanks.
Thanks.
Last edit: 8 years 3 months ago by David.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
8 years 3 months ago #93269
by Mr. Dam
Replied by Mr. Dam on topic Energy Certificate Rows: Background Colour
Hi David,
You can modify the file:
root > components > com_osproperty > helpers > common.php
Function: drawGraph
to add background for your EPC graph
Thanks
Dam
You can modify the file:
root > components > com_osproperty > helpers > common.php
Function: drawGraph
to add background for your EPC graph
Thanks
Dam
The following user(s) said Thank You: David
Please Log in or Create an account to join the conversation.
- David
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
8 years 3 months ago #93299
by David
Replied by David on topic Energy Certificate Rows: Background Colour
That's perfect Dam. To anyone reading this later I simply added more background colours to the $energy_bg array.
Many thanks again.
Many thanks again.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.