All Questions
4 questions
1
vote
1
answer
205
views
How can I use asset select modal in utility?
I created a custom utility template. Inside the template, I would like to use the built-in asset select modal for the "Add image" button. Any way to do this please?
5
votes
1
answer
220
views
How can I submit a form from a Garnish HUD footer?
I'm working on a Dashboard widget from which users can submit entries for review from a Garnish HUD, like so...
I've started by placing a hidden form next to each little Submit button...
<form ...
3
votes
0
answers
141
views
How can my plugin use Craft's native dragdrop support
I am using a generic Garnish modal from Craft like so:
$container = $('.upload-modal');
$modal = new Garnish.Modal($container, {
autoShow: false
});
I would like to have craft's native drag&...
23
votes
1
answer
2k
views
How can my plugin generate a generic modal window in the Control Panel?
I'm working on a plugin, and it requires a modal to be displayed when the user interacts with a field of my Field Type. When the user finishes interacting with the modal, they would click "Done".
...