Hello and thanks for this great CMS. I've just installed it for the first time, and I found out that you can even use BBcode thanks to the bbparser.php file. The problem is: I have tried to write down some BBcode on my news and the code is just written down as normal text. Do I need to enable something?
Thank you.
Before the system included a wysiwyg editor, it used the bbcode parser. Once the wysiwyg editor was added it rendered bbcode obsolete. The reason the bbparser file is still there is for legacy purposes, allowing people who had old versions of the script installed to display their own articles correctly.
Uh, i see. The problem is that I'd need to put easily a picture with wrapped text around, as described in this old thread: http://network-13.com/thread/2444-Positioning-images-and-wrapping-text
Since BBcode is no longer supported, is there a way to do this without using the HTML code? (I'd use HTML without problems, but the news have to be written by a person not so confident with computers :) )
What you could do is use a bit of css to automatically wrap your text around images. The system automatically wraps all news articles within a div called allbody
, to make images float to the left you could use some code like this
.allbody img {
float: left
}
This will target all images you post in an article and float them to the left so the text wraps around them. Not ideal but it should work.
I tried to do this trick, but it doesnt work, the image is still there... i tried to put it both in the style.css file of the CMS and my site style.css file, but nothing happens. :(
I was over thinking this. The wysiwyg editor has the ability to float images. Once you add an image to an article using the editor, if you then double click on that image or right click on it and select Image properties
the window that appears has the option to align the images either left or right.
Chris wrote at 2012-03-23 09:42:06
I was over thinking this. The wysiwyg editor has the ability to float images. Once you add an image to an article using the editor, if you then double click on that image or right click on it and select
Image properties
the window that appears has the option to align the images either left or right.
That's great! Thank you very much :) Often the simple way is the last I try!
have a nice day, and thanks again.