kev wood Posted November 3, 2008 Share Posted November 3, 2008 i have created a content management system for a website that i am building but i want to add some text formatting options to it like the ones that are above. i only what to add things like bold, italic, underline and things like that, there is no need to add hyper links or email links. so my question is does anybody know of any good free wysiwyg editors that i can add to my text box's. Quote Link to comment https://forums.phpfreaks.com/topic/131183-cms-system/ Share on other sites More sharing options...
Adam Posted November 3, 2008 Share Posted November 3, 2008 Quick google search found .. http://www.openwebware.com/ .. looks like a good deal! Quote Link to comment https://forums.phpfreaks.com/topic/131183-cms-system/#findComment-681078 Share on other sites More sharing options...
JasonLewis Posted November 3, 2008 Share Posted November 3, 2008 I would suggest TinyMCE, it's basic and you can add/remove buttons that you might or might not want. Quote Link to comment https://forums.phpfreaks.com/topic/131183-cms-system/#findComment-681082 Share on other sites More sharing options...
RichardRotterdam Posted November 3, 2008 Share Posted November 3, 2008 these are just two relevant link on this forum there are more http://www.phpfreaks.com/forums/index.php/topic,194820.0.html http://www.phpfreaks.com/forums/index.php/topic,201206.0.html the solmetra thing I've havent seen before but it looks pretty damn good Quote Link to comment https://forums.phpfreaks.com/topic/131183-cms-system/#findComment-681086 Share on other sites More sharing options...
runnerjp Posted November 3, 2008 Share Posted November 3, 2008 why not just make your own?? <?php $output = file("news.txt"); $output = explode("|", $output); //if the log were contained as "author|article|anything_else" $find = array( "'\[b\](.*?)\[/b\]'is", "'\[i\](.*?)\[/i\]'is", "'\[u\](.*?)\[/u\]'is", ); $replace = array( "<strong>\\1</strong>", "<i>\\1</i>", "<u>\\1</u>", ); preg_replace($find,$replace,$output); echo $output[1]; //[1] because article is portion 2 of the log (see above comment)(and, yes, 1) //this example not tested, but should work and you get the just... ?> Quote Link to comment https://forums.phpfreaks.com/topic/131183-cms-system/#findComment-681092 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.