You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
How to dynamically add a new component/ section/ block using PHP Ajax and allow selecting properties from the database.
For example, I need to add a component that displays a list of news articles from a specific news category. When the category changes, the component needs to be updated, and if possible, how to store these properties in the database instead of static HTML to increase the flexibility of the component when the news data changes.
The text was updated successfully, but these errors were encountered:
You can use the event to send any new parameter change through ajax call and get the new html from the server and update the page.
If you want to save the properties to database you can use the same ajax call to save the properties as json and set a unique id to the html element to link the properties to the element.
Hi,
How to dynamically add a new component/ section/ block using PHP Ajax and allow selecting properties from the database.
For example, I need to add a component that displays a list of news articles from a specific news category. When the category changes, the component needs to be updated, and if possible, how to store these properties in the database instead of static HTML to increase the flexibility of the component when the news data changes.
The text was updated successfully, but these errors were encountered: