Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Posts
    571
    Thanks
    25
    Thanked 28 Times in 28 Posts

    CMS - Styling Content & Security

    I made a very simple CMS for my clients to easily edit and update sites I make for them.

    As of right now my update content area is just a form "textarea", but I would like to add options so they can bold, underline, add links ext... Does anyone know of an easy way to add these features?

    One last question, does anyone have any security tips I should implement?

  • #2
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    Search for 'javascript rte editor'.

    Security for what? Login, page access, etc.

  • #3
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    What, would you be wanting something like a WYSIWYG - ( What you see is what you get ) editor. These can be easily incorporated usually with some simple JavaScript. Just try doing a search for 'WYSIWYG' in Google.

  • #4
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I would recommend if you have not done so already using encryption. Sorry if thats a bit obvious.

  • #5
    New to the CF scene
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There're so many open source cms, why not download one?

  • #6
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I think i speak for myself and many other coders on this website when i say this. People make their own website applications / services because they don't like what is currently available on the market.

  • #7
    New Coder
    Join Date
    May 2007
    Location
    Manchester, UK
    Posts
    72
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by the-dream View Post
    I think i speak for myself and many other coders on this website when i say this. People make their own website applications / services because they don't like what is currently available on the market.
    Or haven't bothered checking to see if what they're trying to create has been created already.

    Or have a case of not-invented-here-syndrome.

    I'm not arguing, merely supplying other alternatives
    Every PHP programmer of any skill level should set error_reporting(E_ALL); at the top of their scripts or in their php.ini

  • #8
    Regular Coder
    Join Date
    Jul 2007
    Posts
    571
    Thanks
    25
    Thanked 28 Times in 28 Posts
    I'm making it because I want to increase my knoweledge in PHP and making a CMS forces me to use lots of different skills. So basicly I'm doing it as a learning experience. Beside the-dream is right, Although their are tons of CMS on the market I wanted something extremely simple and easy to implement into all the website I make. Since I am making this CMS I will know how everything functions and will make installing it into sites I make a breeze :-).

  • #9
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    Quote Originally Posted by Ahri View Post
    Or haven't bothered checking to see if what they're trying to create has been created already.

    Or have a case of not-invented-here-syndrome.

    I'm not arguing, merely supplying other alternatives
    Or don't want a bloated piece of code with poor code quality.

  • #10
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts
    I've used TinyMCE a few times before when building a simple CMS to manage page content. I'd check it out and see if it suits your needs.

  • #11
    Regular Coder
    Join Date
    Mar 2007
    Location
    Quebec
    Posts
    261
    Thanks
    6
    Thanked 7 Times in 7 Posts
    Security tip: always sanitize user-inputted data!

    Also custom error messages are a good idea. That way if an error occurs with the script or database, a bad guy won't be able to learn anything based on the error. It's also user-friendly for those non-computer whizzes.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •