Guys, what is the correct way to generate a url for an image field through JavaScript ?
I wanted to generate a Dashlet with the image , but do not know how this works in REST .
Guys, what is the correct way to generate a url for an image field through JavaScript ?
I wanted to generate a Dashlet with the image , but do not know how this works in REST .
offtopic:
Hello!
Which plugin generates the dashlet with the 7 status in the top right side? "Fase de Construcao de Empreendimento"
Thx fort the answer!
A.
offtopic:
Hello!
Which plugin generates the dashlet with the 7 status in the top right side? "Fase de Construcao de Empreendimento"
Thx fort the answer!
A.
Hi,
Arpad, I have not used a plugin made with css and javascript, you have a tutorial on YouTube that shows step by step.
Hi Bruno,
I guess that are two ways to manupulate this image element.
1. First method would be to copy generic image field file from: clients/base/fields/image/image.js
into your custom module: custom/modules/EMP_Enpreendimentos/clients/base/fields/image/image.js
and to add a custom code for this images case.
2. Second way would be to use in the _renderHTML() function in this record.js from EMP_Enpreendimentos:
custom/modules/EMP_Enpreendimentos/clients/base/views/record/record.js
and when page was rendered, than apply a custom manipulation of DOM code, possible also with a seTtimeout() combination