I am working on a website that is created with hardcoded includes. There is no database underlying this site. Repeat, there is NO database.
I have set up the content area of each page to be an editable div in a local copy of the site. It works. I click on the page, I edit, things change. Hooray! (using CKEditor does break the 2 column layout of the page, but that's not tremendously important right now)
What I don't understand is how the edits made inline are supposed to be captured and then saved to the page file. ??? I searched your site, I searched stackoverflow, I searched google, but all the results that come back assume that the site being worked on is run on a database, so the answers are irrelevant.
Is there any information available anywhere in your support documents or elsewhere that explains, without assuming that I know 10 prior steps that you don't mention, how to get what is edited inline to be saved to the page, which is a hardcoded php file?
Please advise. Thank you.
CKEditor can't do that on its
CKEditor can't do that on its own. You'd have to create a backend script that grabs the changes, then opens, edits and saves the HTML file, all on the server. The script doesn't need to use a database but it must be able to open HTML files and save them back when CKEditor content is sent through form or AJAX.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Any tips on where to find information about how to do this?
Ideally in PHP?
Were you able to figure out
Were you able to figure out how to do this? If so, would you mind sharing the PHP? Just don't want to reinvent the wheel here.