1
DriedGraze
Text/image formatting in news
  • 2006/8/3 18:17

  • DriedGraze

  • Just popping in

  • Posts: 63

  • Since: 2006/3/21


Can anyone enlighten me as to how I go about formatting a news item? I would like to have the text 'wrap' around a photo.

2
snow77
Re: Text/image formatting in news
  • 2006/8/3 19:06

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


hmm, I don't know really know what you are looking after. I have added a 1 pixel border to every image (plus a small margin so that the images don't get too near the text) that appears inside each news item this way inside the style.css, there are other style combinations that could suite your needs:

.itemBody img
{margin: 5px; border: 1px solid #000000;}

the wrapping part can be handled easier using koivi (there could be other better text editors, I am rather unhappy with koivi with the way it handles html), yet, koivi is easy to integrate. Do you have it?

3
DriedGraze
Re: Text/image formatting in news
  • 2006/8/4 11:28

  • DriedGraze

  • Just popping in

  • Posts: 63

  • Since: 2006/3/21


In AMS preferences it has the option to change to Koivi but when I edit the article, there seems to be no change to the XOOPS Default editor....? Is it installed already?

I can get borders etc by first creating the article in Dreamweaver but it just doesn't wrap the text properly.

Cheers.

4
snow77
Re: Text/image formatting in news
  • 2006/8/4 15:41

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


koivi doesn't come with the XOOPS package, you have to install it, you can get it HERE

There are instructions to it:
1.Copy wysiwyg folder into your XOOPS "class" folder

2.Replace your system_imagemanager.html template with the new one. (you would have to update the system module after this).

Maybe this can make it easier to manage your content.

5
Djiman
Re: Text/image formatting in news
  • 2006/8/4 17:23

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


The css is a good and fast method-- you may also consider.

VSPACE and HSPACE vertical and horizontal space, --should do the trick

If you want to wrap text around any image --- any editor will do that- the end result will be similar.

Just take it easy:

6
DriedGraze
Re: Text/image formatting in news
  • 2006/8/15 10:35

  • DriedGraze

  • Just popping in

  • Posts: 63

  • Since: 2006/3/21


Thanks guys!

Login

Who's Online

323 user(s) are online (248 user(s) are browsing Support Forums)


Members: 0


Guests: 323


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