NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JPMacDonald on December 17, 2012, 06:33:23 PM
-
Bruce,
I've made the 2 changes as outlined in the update documentation but the HTML editor does not appear on the form, just the raw html code.
Probably missing something simple but I can't find it.
Is there suupposed to be a redactor directory like the tiny_mce_jq directory in the web folder?
Regards
Parker
-
>> Is there supposed to be a redactor directory like the tiny_mce_jq directory in the web folder?
no - it's much smaller (good, = faster) so it's in the Scripts folder. (and included in your all.js).
BUT - did you tick on support for it in the WebServer procedure, Scripts tab?
cheers
Bruce
-
"BUT - did you tick on support for it in the WebServer procedure, Scripts tab?"
Yes, forgot that the first time but checked it on and unchecked the TinyMCE option.
On the field I checked Allow xHTML and selected Redactor as the Editor, but no joy :'(
Regards
Parker
-
ok, I think you'll need to experiment a bit to narrow it down.
try going to the webSever procedure, advanced tab, and turn _off_ all the combine and compress options. Report back if that works or not. (It's not a solution, but it is a clue.)
cheers
Bruce
-
Bruce,
Yes, turning off all the compress/combine options did it!
Good call.
Regards
Parker
-
ok, it means there's likely a problem in the gzipall.bat file - for some reason it's not running right on your machine. I suggest the following;
a) delete all the *.gz files in the \web\scripts; web\styles and web\themes\* folders
b) from the command line run gzipall.bat, and see if it gives any errors.
c) turn the "combined" option on first (not compressed) - run the browser, Press F5 on the address bar, and see if that works.
d) if it does tick on "serve pre-compressed files" and repeat.
Cheers
Bruce
-
Bruce,
Followed the instructions and it does seem to work now.
New glitch however, if I put anything in the field using the editor and save the record, I can no longer open the form to edit the record again.
Seems to be Pop-Up related. If I change the form not to use pop-up then the form will open after a change to the data record.
Regards
Parker
-
I reported the same problem in a post a few days ago, so you are not alone. I want to replace TinyMCE with Redactor, since it has problems in IE 9. I'll try Bruce's suggestions as well and report back later today.
Thanks,
Jeff
-
Jeff,
I think we are headed for the same goal, replacing TinyMCE in hope of fixing the IE9 problem where the second update to the field does not get accepted.
I noticed in my current Redactor testing that there is a problem when the form is in Pop-up mode, turns out that my problem with TinyMCE also seems to be pop-up related.
If the form is not in pop-up mode the second and subsequent changes to the field are all accepted.
Perhaps Bruce will find a fix that will correct this for both editors.
Regards
Parker
-
Parker,
I just verified, both TinyMCE and Redactor have issues when used on a popup form, with all browsers I tested. This includes IE9, Firefox 17 and Chrome 23.
The issues are:
1. TinyMCE does not save data with a second update.
2. When using Redactor, the popup form opens as a blank window with just the title bar.
Thanks,
Jeff
-
build 7.01 (which I'm hoping to upload today) should sort out the Redactor problem, and hopefully the TinyMCE one as well.
cheers
Bruce
-
Bruce,
7.01 fixed the intial problem with Redactor but no joy for TinyMCE, the second update to a record when using IE 9 is not accepted in pop-up mode.
With the Redactor editor now if I use the insert image button, it places code in the field and now the record won't open again, just a blank form.
I tried allowing unsafe xHTML but it still will not allow me to edit the record.
Regards
Parker
-
Bruce,
One more Redactor question.
Is there a way to get the content of the field to scroll within a defined area like the TinyMCE editor did?
Right now the field will expand to be as large as the content in the field being edited which can make for a very long web page.
Thanks
Parker
-
And another Redactor question... Can this spell checker http://jquery-spellchecker.badsyntax.co/redactor.html be added to the NT Redactor? Maybe at some point??
Thanks
Skip
-
>> Is there a way to get the content of the field to scroll within a defined area like the TinyMCE editor did?
see http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=4142.0
regarding the spell-checker, yes it's possible, although these days somewhat unnecessary because most good browsers have spell-checking on text boxes on by default. It's also slightly more work than just adding the script, because you need the server-side component as well.
cheers
Bruce