R
R
realnin2015-12-16 02:44:28
DLE
realnin, 2015-12-16 02:44:28

How to connect two .tpl files to php?

In general, the question is this. About DLE. Template files on tpl. Index.php and index.tpl are responsible for the main page, search.php and search.tpl are responsible for the search file. In general, I brought a search filter to the main page, and I don’t want to transfer all the $tpl->set('{functions}' functions to index.php ... How can I include the index.tpl file in search.php so that in index .tpl did all the functions written in search.tpl work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question