Add custom button to the Editor
3 posters
Page 1 of 1
Add custom button to the Editor
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!
Re: Add custom button to the Editor
Something like this: https://help.forumotion.com/t131789-add-a-form-on-creation-of-a-new-topic?highlight=form ?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Add custom button to the Editor
I knew someone would post this. I want to further clarify; Yes, the functionality is about the same but there are reasons I would rather not disclose right now that I want this done with the addition of a button.
Re: Add custom button to the Editor
Hi there,
The JavaScripts provide the code for the function on the button to work and provide an ID for the button on the editor to appear. However, they mainly show up like you want it via the CSS coding on the Stylesheet.
The JavaScripts provide the code for the function on the button to work and provide an ID for the button on the editor to appear. However, they mainly show up like you want it via the CSS coding on the Stylesheet.
Re: Add custom button to the Editor
I understand that the first script i linked requires requires CSS. The thing is even with using CSS I can't get the button to appear on the editor. That is the problem.
Re: Add custom button to the Editor
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Add custom button to the Editor
You can lock the topic, I think I have found an error on my part. Sorry to bother you and thank you for the feedback!
Re: Add custom button to the Editor
Locked as Requested
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Drop Down Custom Nav Button
» Announcment, Expand forum button, Custom like button, Hover over image
» BBcode button in editor
» Editor Button for just one forum
» Add emojis button to the editor
» Announcment, Expand forum button, Custom like button, Hover over image
» BBcode button in editor
» Editor Button for just one forum
» Add emojis button to the editor
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum