dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Editable CMS-like field in HTML5?

  1. #1
    Join Date
    Jul 2014
    Posts
    3

    Editable CMS-like field in HTML5?

    Greetings everyone. I'm more like a designer than a webmaster and I've spent a month designing something unique and artistic in HTML5&JS for a customer. It's responsive and works in every navigator, platform and operating system. Gosh, it's like it has its own life.

    Today I receive an email from my customer saying he wants editable fields in a section of the contact/pricing subpage. I can't say no, it's my best customer. If I had a gun in my mouth right now I would pull the trigger.

    The deadline is very soon and I have no time to remake the whole website for Wordpress or any other CMS management system. Is there any way to place an applet, a script, or whatever, into the HTML code and make it easy to edit for her? Like an addon, wordpress based, allowing me to grab text from somewhere else (like a blogger site she can easily log in?) and place it in the exact spot of my website where she wants it?

    I would say there must be a way, I'm just too ignorant and confused to find it. I beg your help.

    Thank you.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,160
    The simplest solution is to change the page involved to .php so you can add some code that will either query a database or read a file containing the client's content. From there, you just need to provide an admin page that will let him edit the content using CKEditor or some other HTML/rich-text tool.

    This isn't an uncommon task, so if you search a couple of the scripts directories you could probably find something pre-built, but I don't have any suggestions as to what you should use to search on. "user page editor" or something, perhaps.

  3. #3
    Join Date
    Jul 2014
    Posts
    3
    Quote Originally Posted by rtrethewey View Post
    The simplest solution is to change the page involved to .php so you can add some code that will either query a database or read a file containing the client's content. From there, you just need to provide an admin page that will let him edit the content using CKEditor or some other HTML/rich-text tool.

    This isn't an uncommon task, so if you search a couple of the scripts directories you could probably find something pre-built, but I don't have any suggestions as to what you should use to search on. "user page editor" or something, perhaps.
    Very appreciated. I will look for what you suggested. Also, I will edit this post with the prebuilt solution once I find it so it can help others in the future.

  4. #4
    Join Date
    Jul 2014
    Posts
    3
    No edit button. Seems like this forum prefers hardcore order over freedom.

    Fixed it myself. Used this small code: http://chechi.be/midas/simple-cms.zip

  5. #5
    Join Date
    Oct 2013
    Posts
    609
    Quote Originally Posted by pinguinoz View Post
    No edit button. Seems like this forum prefers hardcore order over freedom.
    Freedom has nothing to do with it. Post count does, although I don't know what that number is...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles