When I see the data linked to an object I can choose which fields to see and how to view them with a code to be inserted in the Lizmap plugin in Layers > Activate popup > source Lizmap.
My problem is when I want to see related data by selecting "Display related children under each object (use relations)". I see all data field by field without formatting.
I would like to know how to format also this data viewed with relations in order to select how and which fields to view.
Thanks in advance
Hiya!
This issue has gone quiet. 馃懟
We get a few questions in the bug tracker, so we currently slowly closing issues.
If we missed this issue or if you want to keep it open, please reply here.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Thanks for being a part of the Lizmap community! 馃
@news24lor Did you solve your question? I'm indeed not sure about the behavior.
@news24lor Did you try to create those popups with QGIS HTML Map Tip ? Those are more powerful than Lizmap ones.
Hi @nboisteault
I tried to use HTML QGIS but couldn't get an interesting result. I made the page in HTML with the codes of the fields but since the related data are a lot I can't show them in a LOOP. I tried to insert the HTML in the table of the related data but it doesn't work. Maybe with javascript but I don't know. Do you have some tips to use this internal QGIS function in a complete way?
I said that QGIS HTML Map Tip are powerful because you can use QGIS Expressions (the little epsilon at bottom). I'm sure you'll find what you need in documentation. relation_aggregate function might help you for example.
I made the page in HTML with the codes of the fields but since the related data are a lot I can't show them in a LOOP
Do you mean you where using the auto popup before because you got too many fields to build the HTML manually?
Hi @Gustry
Yes I have many fields but with the advice of @nboisteault I will use relation_aggregate.
It鈥檚 closed for me.
Thanks