Dialog box editing interface in 5.7
Permalink
Hi Guys,
I'm trying to implement a dialog box similar (pretty much the same but with my own package dialog view) as the Add Groups on the dashboard user page. I've disected the source code and got it working with the built in groups page on my own single page in the dashboard but i can't figure out how to get the URL to my package's dialog view file.
I see the code in the users/search.php code is this:
I tried a few combinations of modifying the url (/ccm/package/developer_crm/dialogs/customer/search) and (/package...) and (/developer_crm/...) but to no success as the dialog box does not even open up to say the page couldn't be found. any ideas on the proper URL I should be passing?
I'm trying to implement a dialog box similar (pretty much the same but with my own package dialog view) as the Add Groups on the dashboard user page. I've disected the source code and got it working with the built in groups page on my own single page in the dashboard but i can't figure out how to get the URL to my package's dialog view file.
I see the code in the users/search.php code is this:
I tried a few combinations of modifying the url (/ccm/package/developer_crm/dialogs/customer/search) and (/package...) and (/developer_crm/...) but to no success as the dialog box does not even open up to say the page couldn't be found. any ideas on the proper URL I should be passing?
Can you explain this in more detail?
Thank you in advance!
Thank you in advance!
If you got it working, could you please share an exemple?
Thank you in advance!
Thank you in advance!
Hey MarcAndre,
Did you have success implementing your custom dialog? I am trying the same, but struggling with the dialog view / controller..
Any Advice / Code examples?
Best
Jan
Did you have success implementing your custom dialog? I am trying the same, but struggling with the dialog view / controller..
Any Advice / Code examples?
Best
Jan
For example, /package_handle/views/box_functions.
Also, you need to create a controller for this dialog box, which will be registered with
in controller, you jusr have to use this: