Adding a custom "Choose" button to the file manager
Permalink
To make the File Manager "idiot" proof, I'd like to add a choose button at the top next to the drop down box.
If your immediate response to this is "why?", please re-read the first paragraph. Moving on...
I've found where in the code I need insert the button. I have come up with the code below, but I still can't figure out what other values I need to actually make it function as a "choose" button.
Any help is much appreciated. Thank you.
If your immediate response to this is "why?", please re-read the first paragraph. Moving on...
I've found where in the code I need insert the button. I have come up with the code below, but I still can't figure out what other values I need to actually make it function as a "choose" button.
<a href="javascript:void(0)" id="choose" class="ccm-button-left accept btn primary"><span><?php echo t('Choose')?></span></a>
Any help is much appreciated. Thank you.