19
Quote:
morris wrote:
First, I highly appreciate what you and the whole XOOPS development team is doing to create an extremelty good CMS.
Thank-You from everyone on the core team and who work with XOOPS
Quote:
Second, I don't really understand what you are saying with this: If you notice that Chapi's version modifies core files to correct this problem and rightly so.
What does "rightly so" mean? (I'm dutch!)
Chapi had released the updated News module with the spaw editor as an addition to it. Chapi had to change the core code to allow for these changes or it would not have worked as it should.
The problem is not the editor but in the way that the news module handles the data before saving to the database. All data if filtered throu the textsanitizer class and the problem is that the current news module converts linebreaks with all the data and this breaks the HTML (ie adds more breaks to the code everytime you save/update the news story).
What chapi has done was to change the news module core code to correct this by not using the function that converts the linebreaks during the save.
He was right to change the code to allow for this.
Quote:
The main reason why I mentioned Chapi's patch is to tell people that Chapi's module is working perfectly for news messages. So if one would only use the wysiwyg editor for news stories (the only module I really use) than Chapi's patch is more than enough and eassier to install.
Most of this I have answered above. The main difference here is that the spaw module is a module on its own and will require you to get it to work with other modules and thus making it more flexable in that you can use it with any module. I agree, that this is not the option I would like, but as this module is not core there was no way I was going to change many lines of code in all the modules.
Quote:
Third, If I want to change the forum's default editor to Spaw, which file do I have to change?
I would advise against using this editor for the forums, using spaw for your admin side is ok but to give users the ability to post via this method will open up your website to possible security issues. So therefore I am reluctant to give out this information at this time.