Alexhoward Posted March 9, 2009 Share Posted March 9, 2009 Hi Guys, I'm creating a blank site, that can be populated from a CMS on the backend What i'd like is a script to let the user style their input text and then display it the same on the front end... A bit like you can do on the input here but without displaying the tags I've searched the net but cannot find anything! And i'm not sure what you'd call it....?? Could someone please point me to a tutorial, or download? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/ Share on other sites More sharing options...
redarrow Posted March 9, 2009 Share Posted March 9, 2009 All you do is enter css/html in the database, and let the user have access to the css/html , via there id. Your need to create a template for the blank screen so your users can change the looks , colors, design. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780647 Share on other sites More sharing options...
br0ken Posted March 9, 2009 Share Posted March 9, 2009 If I'm right then you basically want a HTML Text Editor that you can plug into your site. I use fckEditor. Google it. It's really easy to install and works quite well. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780663 Share on other sites More sharing options...
redarrow Posted March 9, 2009 Share Posted March 9, 2009 caution ....... if you let user's enter html in the database then you can get big problems. database/ web site , security is a big must no. The easy way is to design some nice forms, let the user's choose what form they want, then let them alter the colors,size ect ect. I am telling you this, before tacking the approach off letting people design there creations on your server, and database. be warned takes one mistake and client WIPE OUT the whole database. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780668 Share on other sites More sharing options...
br0ken Posted March 9, 2009 Share Posted March 9, 2009 HTML is fine. Javascript is what you should be worrying about. As you're building a CMS it is likely you're building it for paying clients you shouldn't have to worry about this too much. Just ensure that all CMS pages are protected by some form of authentication. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780672 Share on other sites More sharing options...
Alexhoward Posted March 9, 2009 Author Share Posted March 9, 2009 Hi Guys, Thanks for the quick replies! I understand the security issues, and yes it will all be login only, however the people i am building it for have no idea of php or mysql, although it is of course posible that someone they know does...? I'm gonna check out that link, then get probably get back to you guys, thanks again! Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780680 Share on other sites More sharing options...
redarrow Posted March 9, 2009 Share Posted March 9, 2009 i don't care what anyone says, there nothing better then, any Clint seeing what going on via a visually selecting items. looks better and it a lot cleaner. do they no html? Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780683 Share on other sites More sharing options...
corbin Posted March 9, 2009 Share Posted March 9, 2009 redarrow, And if the client wants to be able to do more than select a template? You're entirely missing his question. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780686 Share on other sites More sharing options...
redarrow Posted March 9, 2009 Share Posted March 9, 2009 they hire a programmer . or the programmer has modules included in the code. then the client selects that. i just dont like anybody enter anything unless they no what there doing. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780690 Share on other sites More sharing options...
br0ken Posted March 9, 2009 Share Posted March 9, 2009 Redarrow: you barely make sense friend Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780704 Share on other sites More sharing options...
redarrow Posted March 9, 2009 Share Posted March 9, 2009 redarrow, And if the client wants to be able to do more than select a template? You're entirely missing his question. i said this........ they hire a programmer . or the programmer has modules included in the code. then the client selects that. i just dont like anybody enter anything unless they no what there doing. Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-780713 Share on other sites More sharing options...
Alexhoward Posted March 15, 2009 Author Share Posted March 15, 2009 Alright guys, found a good one that works, had to replace the <br /> tags and stripslashes and remove rn but it works http://www.kevinroth.com/rte/demo.htm thanks again Quote Link to comment https://forums.phpfreaks.com/topic/148662-solved-customer-font-styling-backend-cms-help/#findComment-785269 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.