1
ashit
Using DHTML Text Area tags
  • 2005/3/12 9:10

  • ashit

  • Just popping in

  • Posts: 10

  • Since: 2004/12/15


Is there a guide on usage of the standard XOOPS DHTML text area tags.

I ma using Zmagazine on my site and expect members, who are no specialist programmers to submit articles. The articles will essentially contain images along with text. My problem is ensuring the images get aligned with related text and the text properly wraps around the image with some spacing around. Or perhaps a simple two colum layout with images in one and the text in the other.

2
Peekay
Re: Using DHTML Text Area tags
  • 2005/3/13 18:25

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


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.

Login

Who's Online

427 user(s) are online (337 user(s) are browsing Support Forums)


Members: 0


Guests: 427


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits