I was successful in implementing JCE in MyBlog. I was not able to implement all of the features such as the Advanced Link, Image Manager, or Spell Checker, but for the most part, I have most of the buttons I need. I am not sure if this will work for anyone else, this is only what has worked for me.

Open up yourjoomladirectory/components/com_myblog/templates/admin/write.html

Open this write.html in a code editor. Go to line 21. Change the line from this:

Following on from a thread on Azrul's Blog, I've knocked together a patch to get My Blog working again, and to additionally enable the JCE editor.I've also enabled the advanced functions in JCE - see here, highlighted in yellow:

Enabling advanced features is slightly more convoluted, but basically requires editing write_1512.html to enable them in JCE.If you require this functionality, drop me an email at vijay AT_SYMBOL vijay555.com and I'll send you a copy of my file.I'm not posting it here right now, pending slightly further testing by Patrick et al!

I was asked to address an issue where some of the JCE stuff is "offscreen" within the My Blog editor, eg specifically for the Image Editor, dialog buttons being offscreen.

I've looked into it and made some CSS changes, and further changes to the template file, to make the "Fullscreen" mode much more fullscreen.This is done by removing the useless My Blog blended borders, and enlarging the My Blog editor to take up much more of the screen space (almost 100%, leaving a bit off to account for scrollbars etc). In fullscreen mode, the Toolbars are also compressed to two rows only, from four. I've measured and this should fit on a NetBook screen and above. If you have a resolution below 1024x600, you're probably in trouble.

Note, the specific issue, that the JCE image editor requires a resolution over 600pixels high (Netbook land) can also be fixed by forcing the editor to over 100% high so it works for netbooks.This can be done by editing the CSS (in addition to write_1512.html), or using something like Stylish on Firefox. As this makes working with My Blog on normal screens bigger than Netbook resolution quite tedious (you have to scroll up and down to see the whole of the My Blog editor), I don't suggest enabling this by default.

Screenshot of my "super" fullscreen mode:

As before, I'll supply the required files to those who ask, as they're still experimental IMHO.

JORD noticed a small issue related to writing blog entries from the front end, when not logged into the backend. I'd never noticed this because I never use the front end to write entries.I've fixed this, so if anyone who's downloaded the files from me wants the minor fix, let me know.Future updates will already have this in.

V

Showing enlarged (non fullscreen) editor, and enlarged dialog area in front end mode.

I would like to thank you on behalf of all of us in this topic. It is GREAT seeing people like you helping out people like me. I have tried and tried, and couldn't figure it out. I would greatly appreciate the files to make this work. I tried doing what you said above just to get JCE to show, but it isn't working. So, maybe the files will . I have sent you an e-mail at the above address.

For those that have had some issues with the mods to write_1512.html not "taking", please note that 1512 is only used in versions of Joomla equal to or over version 12: this decision takes place in the file\Joomla\components\com_myblog\task\write.php

So if modifying write_1512.html has no effect, than somehow you're using a version of Joomla under 12. And you shouldn't be! Upgrade now, for security (and compatibility) reasons!

However, if you're happy to take the risk, you can take my write_1512.html, rename it to write.html, and overwrite your own write.html file (taking a backup first, of course!). This should allow my mods to click in, whatever version of Joomla you're running!

I enclose the file for general use, for now. Please post feedback on how you get on, good or bad.

V

You do not have the required permissions to view the files attached to this post.

A couple of minor issues were pointed out, so I've re-uploaded a slightly newer version.If it was working before, it should continue to work:- I've "prettied" up the HTML/PHP a bit- I've added a little version display in the top right- The placing of the JCE loader was not optimal. It's hopefully "more" optimal now!

V

PS I've also enclosed the CSS overrides I use to improve the screen area. Use Stylish in Firefox to enable, or manually modify the MyBlog CSS files.

PPS I don't remember fixing anything, but it seems to be working ok in IE. I might just be lucky. Please test:Note, both Image Manager and Image Manager Extended seem to be working in both Browsers.

You do not have the required permissions to view the files attached to this post.

I'm enclosing a marginally updated patch file.It merely removes a reported bug in IE (and maybe Firefox) that "tinyMCE_GZ" is not found. As we're not using tinyMCE, I've "nulled" that bit of the original script.

People have reported some issues in Firefox, and IE. I've tried it successfully on IE8 and Firefox 3.5. Please report your own successes or failures, either direct to me (preferable), or on here.Note, as I'm using it on a development site, I don't have CSS or PHP compression or caching enabled. Please try toggling these settings also.

V

You do not have the required permissions to view the files attached to this post.

@jasperli: my css tweaks, for fullscreen browser etc?I've posted them above in one of the zips.

How you implement them depends on your browser etc - personally I use stylish on Firefox so I can switch them on and off easily, but if you want them to be permanently implemented you have to follow the instructions above and merge the mods with the original Azrul css files.

I just wanted to thank you for providing this essential patch! It took me a long time to find a solution, but I guess perseverence pays off in the end. It's just a shame that the good folks over at Azrul.com haven't documented this or any other workable fix for this very common problem.

I was trying to upload a picture via the JCE WYSIWYG Editor and the bottom of the pop-up is not accessible as it stops at the base of the Editor page. Consequently, I can't get to the buttons and features at the bottom.

I've just installed the latest jce package and vijay's modified write_1512 file and it seems to be working fine in My Blog. I did have one hiccup when I clicked something in the screen and everything in the text edit window went to html. I closed and reopened and it worked OK again.

This is exactly what we've been looking for! However, I dropped the write_1512.php file into the appropriate directory, myBlog's editor now loads JCE correctly, but when I try to edit an entry that was created without JCE, it doesn't pull any of the content, it's a completely blank article.

Great, many THANKS for this!! :-) It seems to work great for me. It can also load data created without JCE. I am using J1.5.15, JCE 1.5.7 and MyBlog 3.0.331. There are just a few advanced option like template and image caption that are missing.

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum