Adding WYSIWYG Pro to CodeIgniter |
[eluser]StevenW721[/eluser]
***UPDATE*** Got it working, posted my code below. I've been trying for a while (unsuccessfully) to get WYSIWYG Pro into CodeIgniter 1.6.1 It's set up as one big class so I'm having trouble getting it to work in Codeigniter. Has anyone else out there set it up successfully? I'm sure that since this is not a free software that there's far less people using it but it really is great (when it works). I saw all the tutorials in the wiki for the other popular editors but none seem to relate to this one. Any help would be awesome, I'll post an update if I get it figured out. Thanks!
[eluser]muttlogic[/eluser]
I created a quick plug-in for Expression Engine. While not a direct answer to your question, you can have a look at that code. It may help. http://ellislab.com/forums/viewthread/71154/ -Jeff
[eluser]phpwebdev[/eluser]
try to use fckeditor , there have plugin for integration http://www.fckeditor.net/
[eluser]StevenW721[/eluser]
Thanks so much muttlogic, I was actually able to turn that into a library for CodeIgniter, you're a lifesaver! I'll share my library when i'm done setting it up so others will be able to use it in CodeIgniter as well.
[eluser]kcook123[/eluser]
[quote author="StevenW721" date="1203634083"]Thanks so much muttlogic, I was actually able to turn that into a library for CodeIgniter, you're a lifesaver! I'll share my library when i'm done setting it up so others will be able to use it in CodeIgniter as well.[/quote] Been a year StevenW721, but any chance you could post that library?
[eluser]StevenW721[/eluser]
My bad, totally forgot to post it. Here's a direct copy/paste of the file I use. Just name it Wysiwygproci.php and put in the libraries folder and you should be all set. Code: <?php To call this you'd use the following: Code: $this->load->library('Wysiwygproci'); Where the '15' is the number of rows, made that an option because I found the need to specify the size of these boxes more than once. There's a good amount of custom configurations in there that I decided to leave in just in case it ended up being helpful for someone but a lot of it can be removed if you prefer all the default features. Hope that all makes sense, thanks for the reminder kcook123! Steve
[eluser]StevenW721[/eluser]
Let us know how it goes and if you have any questions, good luck! |
Welcome Guest, Not a member yet? Register Sign In |