2
Hello Ashit
I found the Xoopscode tags worked as I had expected them to, but to format text using the menus and buttons the procedure is a little strange. You need to:
1) Select the style first from the format option menus and buttons.
2) Enter the text that you want to appear in that style in the small text field (next to the 'add' button).
3) Press the button to add the formatted text to the post. I would like to say 'at the current cursor position', but it adds it to the end of any existing text.
If you want to manually add the codes, the options appear to be these (shown minus their respective closing tags):
[size=large] the size value shown in the SIZE menu.
[color=003300] the colour Hex number (minus the #).
[font=Georgia] the font name as shown in the FONT menu.
[b] Bold
[i] Italic
[u] Underline
[d] Strikethrough
[url=http://www.mysite.com]The link text
[email]me@mysite.com
[img]www.mysite.com/photo.gif
[img align=left]www.mysite.com/photo.gif
[img align=right]www.mysite.com/photo.gif
[code]Some computer code
N.b. the 'quote' tag doesn't appear to need a closing tag.
I believe some modules also allow HTML to be added manually to the XOOPS DHTML textarea field. They will have an option to 'Allow HTML'. For complex formatting, columns, tables, adding margins around pictures etc, you would need to use a wysiwyg editor in place of the XOOPS DHTML editor. Plenty of discussion on that here if you search.