Hello everyone
I need your help with saving content that has been edited outside the Admin-Panel.
I have developed a NodeJS tool with which I can edit the content of a page.
To do this, the database table Tcms_content_props is simply updated at the appropriate place using SQL. This works perfectly. However, the edited content is only displayed when the page is saved by clicking on the button in the admin panel. I assume that this triggers a hook that synchronizes the page. Is there a way to completely update the page without having to go to the Admin-Panel?
Thank you very much
Kerockx
Save in the DB edited Content without Admin-Panel
Re: Save in the DB edited Content without Admin-Panel
I don't think it's good practice to do what you do for multiple reasons.
Consider leveraging the existing API's (which I don't know if they exist for your use case). Else walk through the code and check what happens when page content is updated by an admin.
Consider leveraging the existing API's (which I don't know if they exist for your use case). Else walk through the code and check what happens when page content is updated by an admin.