Add a "BUmp" Button in the Editor |
OverviewDescriptionWith this tutorial you will add a new button that will insert bump or any other text you want when you click on it.DemonstrationTechnical limitations› This tutorial is dedicated to the forums powered by Forumotion free forum service› Requires to be the Founder of the #Forumotion Forum › It only works with PhpBB3 Forumotion forums' version. InstallationIntroductionDo you wanted to add an new button in the SCeditor of your forum, that inserts automacally a text when you click on it? Well, you are in the correct tutorial.Javascript & jQueryFor the next step you need to go towards Administration Control Panel (ACP) Modules HTML & Javascript Javascript codes management and create a new code - upon verifying that Javascript codes management is enabled.
Javascript CustomizationIf you want to change the icon of the button, change this:
And if you want to change the text that will be inserted when you click on the button, find this:
Final considerationsBe careful editing the script. Don't forget any quotes or semi colons to make it all work good.Notes
|
This resource belong to this community unless differently stated. No reproduction possible without our agreement, in accordance with article L122-1 of the CPI. |