A
A
Art Art2021-01-15 13:11:30
PHP
Art Art, 2021-01-15 13:11:30

Dynamic data change in Smarty?

In one of the plugin templates, I call the following construction , it displays everything, but I need it so that when changing the branch (that is, when clicking on the button of another branch), me, this construction above changed the branch variable, and changed the data that the plugin displays? how can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2021-01-15
@SilenceOfWinter

ajax. it is more convenient when an ajax request returns a json object, the data from which is used to form the content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question