- Posts: 2
- Thank you received: 0
Kunena 6.3.7 Released
The Kunena team has announce the arrival of Kunena 6.3.7 [K 6.3.7] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
Loved WYSIWYG BBCode editor
I have been playing around with wysibb editor (version 1.5.0) with Joomla 2.5 and the latest Kunena 3.0.5
I have managed to get the editor working on the message text field (to some degree in its default state) without any core hacks to any code (so far - touch wood).
I have it working quite well but the editor icons come through as squares - see attached for what I mean.
Any ideas what might be causing this? Is it the link to the font type that's broken or the icons.png file or something else? I have some time to work on it this week so if I can get some feedback I can contribute to getting a working solution very soon.
I look forward to hearing from anyone.
Thanks,
Dan
Please Log in or Create an account to join the conversation.
That offer is contingent on utilising my professional services.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Regards,
Dan
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- cotswoldphoto
- Offline
- Junior Member
- aka ClevaTreva
cotswoldphoto wrote: It had to take a back seat to my paying work for a few days. I should be able to start at it again tomorrow.
Well, work got to be pretty much full time again. I have gotten so far and unfortunately I don't have the time, and am unlikely to get the time in the coming months. What I propose to do is make a zip file of what I have done, which has a working demo, for any of you who want to take it further. I will make the archive file tomorrow, which is a public holiday here in the UK, and upload it.
I am sorry I didn't have time to finish it
Maybe it will be of use. If no-one picks it up, I may be able to take another look in August.
There is always tomorrow. If there isn't, why worry? The world must be about to end!
Please Log in or Create an account to join the conversation.
- cotswoldphoto
- Offline
- Junior Member
- aka ClevaTreva
I put a demo version of the code so far here:
www.cotswoldphoto.co.uk/kunena_ckeditor/...code/dev/bbcode.html
The top windows show what you would see in the Post textarea in Kunena. The window below is what CK Editor is actually writing (i.e. this should be what Kunena expects to see).
Type in the top window and see the bottom window re-coding it.
In essence, I had it mostly working. Except that Left, right, justify and center paragraphs are done not with tags, but with divs and inline style. As the code strips out divs, that meant going back into the code to alter where it stripped out the divs ... About a week's work I would think.
My problem is that the site this is on has switched from a Joomla + Kunena + Virtuemart platform to a WordPress + bbPress + WooCommerce platform, so that is what I cam coding right now. Going faster than I thought so far.
I will isolate the files I have edited in CK Editor and post these as an archive file as soon as I can.
There is always tomorrow. If there isn't, why worry? The world must be about to end!
Please Log in or Create an account to join the conversation.
- newdaymedia
- Offline
- New Member
- Posts: 2
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cotswoldphoto
- Offline
- Junior Member
- aka ClevaTreva
I will take a look at it this weekend, as a heatwave is expected and I don't go outside during hot weather.
There is always tomorrow. If there isn't, why worry? The world must be about to end!
Please Log in or Create an account to join the conversation.
- newdaymedia
- Offline
- New Member
- Posts: 2
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cotswoldphoto
- Offline
- Junior Member
- aka ClevaTreva
The project, as it were, is in 2 parts. The first is to get the editor working on a dummy page where the editor replaces a textarea on the page by placing an iframe over the textarea (hiding it). What happens is that you edit in the iframe, and the editor code translates that to Kunena bbcode and puts this, as you type, in the now hidden textarea. Similarly, if you are going to edit a post, Kunena puts the bbcode into the textarea, and the editor translates this to WYSIWYG code for the iframe. A 2 way process.
Translating the Kunena bbocde into the editor WYSIWYG oode was not so hard. However, in the editor iframe, you will have html tags (like bold), paragraphs and divs. The divs are used for such things as text alignment, and the div has some inline style. It is this latter div with style code that is hard to do. the current editor, as I have it, simply strips out all divs. It needs to do a select case before doing that, to only conditionally strip out divs.
Maybe inspiration will hit me as I check over the code before uploading it.
The second stage is to then splice it all into the Kunena page code. I am sure others can do this.
There is always tomorrow. If there isn't, why worry? The world must be about to end!
Please Log in or Create an account to join the conversation.