[SOLVED] Report designer and php code (in a subentity)

Post Reply
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

[SOLVED] Report designer and php code (in a subentity)

Post by Didou12 »

Hi,

I don't know if it's an issue or not, but in the report designer with : html bloc -> subentity -> php code, no available values are displayed in the list (I don't understand because I can access the field, for example, with : $item['field_292'])

Listing are super convenient :)

or maybe this dropdown list is for another purpose and no value are available in my case ?
Last edited by Didou12 on 11 Mar 2023, 22:07, edited 1 time in total.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Report designer and php code (in a subentity)

Post by support »

Not clear what do you mean. Please create example on personal demo https://www.rukovoditel.net/demo.php
and give me the link to the demo. I will look.
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Report designer and php code (in a subentity)

Post by Didou12 »

Yes :)

Sorry, here :

test.admin
admin

https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1866

See attachment too.

thanks
Attachments
erreur.PNG
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Report designer and php code (in a subentity)

Post by support »

Found the issue. File from archive replace to plugins\ext\modules\report_page\views\
Let me know if issue is fixed.
Attachments
blocks_entity_table_form.zip
(1.67 KiB) Downloaded 19 times
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Report designer and php code (in a subentity)

Post by Didou12 »

It works, thank you :D
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Post Reply