These are chat archives for GetmeUK/ContentTools
var_dump( $_POST );
@JGallardo if you're saving to file then you;ll need an equivalent in PHP to the
def save_page(): method in the Saving strategies tutorial. That method basically does the following:
article_bodythen we search for
<!-- editable article_body -->...<!-- endeditable article_body -->with the HTML string and replace it with the content in our region name to content map received from the server.
Does that help clear the process up? I can't see any server-side code in the pastebin you try to implement the steps above in PHP I'll gladly review any code and try to help (you'll have to forgive my limited PHP knowledge).
ok so i don't have too much experience with databases :/ i usually get stuck somewhere with a gap in information. Which is what is happening here.
I created this test project. what do I need to modify to make this actually save?