OS Property support center

EPC Certificates

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago #44716 by Imotrust
EPC Certificates was created by Imotrust
I have a problem, in Portugal is required the EPC Cartificates like this

www.adene.pt/sites/default/files/normas_classe_energetica.pdf

Can you help me to change this?
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #44718 by Mr. Dam
Replied by Mr. Dam on topic EPC Certificates
Hi Pedro,
Unfortunately, we can't change the EPC Certificates for specific country. Specially, the EPC Cerfificates graph of Portugal is complicate. And we believe it can't be generate by image processing tool, it's difficult to generate through PHP code.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago #44724 by Imotrust
Replied by Imotrust on topic EPC Certificates
I only need a field with option:

A+
A
B
B-
....

and it show a image like this


no needs to be generate through PHP code with number or codes...

Can you do this?
Attachments:

Please Log in or Create an account to join the conversation.

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago - 11 years 1 week ago #44725 by Imotrust
Replied by Imotrust on topic EPC Certificates
The official doc is like this:




is like that you have in component but with one more bar and litle change color
Attachments:
Last edit: 11 years 1 week ago by Imotrust.

Please Log in or Create an account to join the conversation.

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago #44748 by Imotrust
Replied by Imotrust on topic EPC Certificates
Sorry,

Can you help me with this?

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #44753 by Mr. Dam
Replied by Mr. Dam on topic EPC Certificates
Hi Pedro,
I have discussed with my team, unfortunately, we believe that we must change quite a lot thing in current EPC graph to suit you need. So we can't implement the modification for you. But we can point the source code and Php function that you can make the modification by your self.
The source code file is used to generate the graph is in:
components > com_osproperty > helpers > common.php
php function : drawGraph
Good luck
Dam

Please Log in or Create an account to join the conversation.

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago #44755 by Imotrust
Replied by Imotrust on topic EPC Certificates
on marker m_energy how can i put one image abobe like this:


Attachments:

Please Log in or Create an account to join the conversation.

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago - 11 years 1 week ago #44756 by Imotrust
Replied by Imotrust on topic EPC Certificates
is there:

}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){

$e_height = 22;

But i dont now how can i put the image

im not a programmer

can you give me the code example?
Last edit: 11 years 1 week ago by Imotrust.

Please Log in or Create an account to join the conversation.

  • Imotrust
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 1 week ago - 11 years 1 week ago #44757 by Imotrust
Replied by Imotrust on topic EPC Certificates
you understand my question?
Last edit: 11 years 1 week ago by Imotrust.

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #44767 by Mr. Dam
Replied by Mr. Dam on topic EPC Certificates
Hi Pedro,
The drawn graph doesn't use the image background. That's the reason i told you it's difficult to modify it. And we haven't developed that kind of code so we don't have code example as you want. If you want us to implement it for you, we must do it again. It will need a bit effort, so if you can pay for the work, we will try to implement it for you.
I will wait for your response.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan