Hi, as stated here:
www.kunena.org/forum/kunena-4-0-support-...5-ux-feedback#163457
I think the window for adding attachments is 'to big' and intrusive as replyies with attachments are only a small part of all replies.
I have experimented and was able to make the attachment "div" togglable.
When entering the reply editor it is hidden by default (as not everybody wants to always add an attachment).
The text Attachment is now a button.
When clicking this button the visible state of the attachment window is toggled (show / hide)
The code is as follows:
Code:
<script type="text/javascript" language="JavaScript">
function ToggleDisplay(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).st$
else { document.getElementById(d).style.display = "none"; }
}
</script>
and
Code:
<button onclick="javascript:ToggleDisplay('kpost-attachments-window')" name="attachment" class="btn"><?php echo JText::_('COM_KUNENA_EDITOR_ATTACHMENTS'); ?></button>
I gave the div that holds the attachment window the id "kpost-attachment-window"
Please note that I am not a developer

this is just a code mock-up for UX testing :woohoo:
This is what it looks like: 1. hidden, 2. show