Jump to content

Using the UBB code editor plugin with the atkFckAttribute

From NusaATK
Revision as of 17:52, 22 October 2008 by Mhorning (talk | contribs)

ATK Howto: Using the UBB code editor plugin with the atkFckAttribute

Complexity: Medium
Author: Mike Horning <mhorning@ibuildings.co.uk>

List of other Howto's

This how to describes how to enable the UBB code editor plugin in the atkFckAttribute. When this is done, instead of html tags being inserted into the text as per with the normal with the Fck editor , UBB code BB square tags are inserted instead.

What is UBB code

For those of you who don't know what UBB code is here is a definition.

UBB Code is a variation on the HTML tags you may already be familiar with. Basically, it allows you to add functionality or style to your message that would normally require HTML. You can use UBB Code even if HTML is not enabled for the forum you are using. You may want to use UBB Code as opposed to HTML, even if HTML is enabled for your forum, because there is less coding required and it safer to use (incorrect coding syntax will not need lead to as many problems).

The basic UBB editor supports bold , underline , italic and hyperlink

[b]Bold text[/b] [i]italic text[/i] [u]underlined text[/u] [url=http://www.google.com]hyperlink[/url]

So how does it loook

Once you have enabled the ubb editor it looks like this


By pressing on the BBCode button the underlying format is visible

And this is how you do it

Fckeditor wiki

Additional information can be found on the fckeditor wiki.

The following is the guide to installing plugins into the Fck editor http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Customization/Plug-ins