Technical Details
Forum version : #phpBB3
Position : Administrator
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer
Who the problem concerns : All members
Forum link : ( link is hidden, you must reply to see )
Description of problem
I want to add a new button to the SCEditor. I have referred to some discussion in this and other sites related to the subject but I can't find a solution. I'm not very proficient with coding, so I will state the problems I've been facing and will also give you the description of what I want from said button.As i stated above, having looked through some threads other users have posted, I have found two types of scripts I could work with.
First one is this
https://help.forumotion.com/t132795-add-button-on-sc-editor
Second one is this
http://www.punbb.biz/t319-javascript-how-to-add-buttons-in-your-sceditor
Having followed the instructions in said topics, I can't even get the button to appear!! Am I doing something wrong?
What do I need to do in order to at least make these non-complicated buttons to appear on the editor's toolbar and also function properly?
Now, let me describe the use I want for the custom button I want to add. I want it to mimic the dropdown effect the "URL" button has and also want it to have multiple text areas. Basically, I want to create a form, which the user fills out. When finished, user clicks the insert button and the text he filled is added to the main text area, modified to include some explanatory text. For example, there will be three fields called "number of goals","number of assists", "number of fouls" where the user inserts whatever and then, after clicking insert, whatever the user typed appears in this way: "Goals-3 Assists-2 Fouls-10".
So, I kindly ask from you to explain the way I can make a drop down with multiple text fields. Please keep in mind that the scripts I tried above for some reason don't work for me. It would help me very much to know If I made a mistake or it is the scripts fault.
Thank you in advance for your response!