Field PHP Code in Entity_1 (Users)

Post Reply
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Field PHP Code in Entity_1 (Users)

Post by pepe »

Hi Sergey,
I am using the field type PHP Code in a number of entities. In Settings, I can switch the Debug Mode ON/OFF and everything works accordingly. In addition, I can echo output to the screen after SAVE button has been clicked.
In entity_1 for USERS, this feature seems not to work. The Debug Mode does not show the code and values. Echo does not display any output. The window which I expected to be seen after SAVE has been clicked does not open in either case.
Thank you for your help.
Regards, Pepe
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Field PHP Code in Entity_1 (Users)

Post by support »

Can't reproduce this issue. I have added next:

Code: Select all

echo 'OK';
exit();
And it works. There is now restriction by User entity.
Post Reply