evBenji Posted July 25, 2010 Share Posted July 25, 2010 Hi I have built a website for a football club. It is made up of about 20 php files. The club is a community and everyone want to add stuff. Which is great and i want them to. But by no way can i let them use ftp, or mess with code, or be administrators etc etc no way. I do have cutenews running but its truly no good and its final appearance is poor. Anyhow smply i got a guy who wants to add names to a "best players" table which sits in a css div How can i let him without giving him access to everything else??? Quote Link to comment Share on other sites More sharing options...
dustinmm80 Posted July 29, 2010 Share Posted July 29, 2010 Use some Javascript. On double-click inside the div replace the content of the div with a form containing a textbox(or textarea) containing the content. Then just handle the form's submit and save the info to your database. If you don't have a database, you need one. Quote Link to comment Share on other sites More sharing options...
petroz Posted July 29, 2010 Share Posted July 29, 2010 Integrate mysql and a few forms and you can have complete control. Quote Link to comment Share on other sites More sharing options...
evBenji Posted July 30, 2010 Author Share Posted July 30, 2010 I definitly want a kind of editing area in the div. Something like CKeditor would be great. But how the hell does one actually integrate the editor??? im just getting past a being a beginner in php however my idea would be to have a File MAnagement login script to files select the file which opens the CKeditor make changes save and then its done. thats the algorithm but any ips on where to start??? Javascript tip you'll have to expalin more mate. Quote Link to comment 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.