I would like to use Tinymce http://tinymce.moxiecode.com/
instead of the built in wysiwig editor, can you please point me in the right direction to replacing the editor?
The current editor is ahhh!!
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Downloaded and had a chance to look at TinyMCE - I like it, and I think I'll look at upgrading XDBCMS to use that rather than the one I'm currently using - couple of things though:
1) It doesn't look like the raw HTML editor is working (or at least I can't seem to get it to work) - which is a bit of a shame as it's always nice to know if all else fails you can use that...
2) I know that the licence is LGPL, but I havn't spotted anything about commercial implications - i.e. if someone (at some time) says that 'I'm using xdbcms in a commercial setting', and offers a donation, if anything changes in relation to this program. (Not that this has happened yet of course!)
Other than that, I've been able to configure it so that you can also do a manual font / colour select (yes I know you're supposed to do this through style sheets - but can you imagine declaring every colour you want to use - especially if you're a novice?)
So watch this space - my guess is that the next release (0.6) will deal with menus, and this will probably form the focus of 0.7.... unless something else arises...
- Carl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The program you need to alter is pages_de.php - both the page view/edit and commit facilities are in there - look for the javascript calls that reference 'rte'. (submitForm() etc), the php function RTESafe is used to format the text ready for loading into RTE - that'll need to be removed.
Hope this helps....
- Carl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Carl,
Great work, I like the keep it simple idea you have but don't forget about the rest of us that like to use style sheets and enter in raw html into a text box!! You really need an option that allows people who are logged in to your program the choice of editor depending on their level of expertise.
I'd like to enforce that, however, not being IE compatible could seriously harm the uptake of xdbcms. I'm going to have to think it through, and see if there is a way I can include both editors, and give the user the option.... hmmmm
Carl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to use Tinymce
http://tinymce.moxiecode.com/
instead of the built in wysiwig editor, can you please point me in the right direction to replacing the editor?
The current editor is ahhh!!
Simon
Simon, In what browser is "The current editor is ahhh!! " how about a bit more info?
Hi Simon,
Downloaded and had a chance to look at TinyMCE - I like it, and I think I'll look at upgrading XDBCMS to use that rather than the one I'm currently using - couple of things though:
1) It doesn't look like the raw HTML editor is working (or at least I can't seem to get it to work) - which is a bit of a shame as it's always nice to know if all else fails you can use that...
2) I know that the licence is LGPL, but I havn't spotted anything about commercial implications - i.e. if someone (at some time) says that 'I'm using xdbcms in a commercial setting', and offers a donation, if anything changes in relation to this program. (Not that this has happened yet of course!)
Other than that, I've been able to configure it so that you can also do a manual font / colour select (yes I know you're supposed to do this through style sheets - but can you imagine declaring every colour you want to use - especially if you're a novice?)
So watch this space - my guess is that the next release (0.6) will deal with menus, and this will probably form the focus of 0.7.... unless something else arises...
- Carl.
Sorry, missed your original question...
The program you need to alter is pages_de.php - both the page view/edit and commit facilities are in there - look for the javascript calls that reference 'rte'. (submitForm() etc), the php function RTESafe is used to format the text ready for loading into RTE - that'll need to be removed.
Hope this helps....
- Carl.
Hi Carl,
Great work, I like the keep it simple idea you have but don't forget about the rest of us that like to use style sheets and enter in raw html into a text box!! You really need an option that allows people who are logged in to your program the choice of editor depending on their level of expertise.
But if you like tinymce you may like this a lot better as it has support for colour and fonts, and is similar to MS-Word in feel!
http://sourceforge.net/projects/itools-htmlarea/
Choice is good :)
Thanks
Bill
Hi Bill,
To true, I always like the idea of being able to go back to the HTML source...
Looking (briefly) at html area, it doesn't appear to do as much as tinymce - which does bring in style sheets.
It seems though that tinymce's HTML edit function has a problem with IE5 and firefox, the raw html edit function works under XP.
As a matter of interest, the current editor does has the ability to show / edit raw HTML (it's a check box at the bottom left of the editor window)...
- Carl.
Hi Bill,
Interesting to note that tinymce has a bug that it doesn't work properly under IE6..?
Carl.
Carl,
Good reason for them to move to
http://www.mozilla.org/products/firefox/
:)
Simon
Simon,
I'd like to enforce that, however, not being IE compatible could seriously harm the uptake of xdbcms. I'm going to have to think it through, and see if there is a way I can include both editors, and give the user the option.... hmmmm
Carl.
Carl, if you are going to provide a choice. Can you have a choice of no editor eg: just a plain HTML entry box.
Thankyou
Gio
As of version 0.07, users now have the choice of plain editor, RTE or tinyMCE.
Carl.