RAM-CMS BBCode Feature ====================== This file contains info about the BBCode feature. To Enable BBCode support in RAM-CMS set $bbcode to true or 1 in config (Since 0.3.0 BBCode is enabled by default) Note: BBCode constructs are case sensitive! ---------------------------------------------------------------- BBCode Construct -- HTML Construct ---------------------------------------------------------------- [b] [/b] [i] [/i] [u] [/u] [s] [/s] [tt] [/tt] [pre] [/pre]
 
[sub] [/sub] [sup] [/sup] [big] [/big] [small] [/small] [hr]
[center] [/center]
[p] [/p]

[br]
[ul] [/ul] [ol] [/ol]
[li] [/li]
  • [h1] [/h1]

    [h2] [/h2]

    [h3] [/h3]

    [h4] [/h4]

    [h5] [/h5]
    [h6] [/h6]
    ---------------------------------------------------------------- Complex BBCode Constructs and their HTML Equivalents ---------------------------------------------------------------- Internal Hyperlinks ------------------- BBCode: [link]page-name[/url] HTML: page-name OR page-name Note: outcome depends on setting of $nicelinks BBcode: [link=page-name]Click Me[/url] HTML: Click Me OR Click Me Note: outcome depends on setting of $nicelinks Note: do not use this with the default page! use [url=./]Home[/url] or similar instead. HyperLinks ---------- BBCode: [url]http://example.com/REQUEST_URI[/url] HTML: http://example.com/REQUEST_URI Note: relative and non-http URLs are also supported. BBcode: [url=http://example.com/REQUEST_URI]Click Me[/url] HTML: Click Me Note: relative and non-http URLs are also supported. Font Colors ----------- BBCode: [color=blue] [/color] HTML: Images ------ BBCode: [img=imagefile.jpg] HTML: Note: absolute and relative URLs are also supported. Comments -------- BBCode: [!-- This is a Comment -- put anything here --] HTML: Note: This tag does not actually translate the BBCode into the HTML markup. Instead, BBCode comments are stripped out in order to save bandwidth. If you want comments to actually pass through to the client then use HTML comments directly instead.