Answer the question
In order to leave comments, you need to log in
How to split smarty templates into subfolders?
Essence of the question.
In the templates folder there are 3 files
index.tpl footer.tpl header.tpl
I want to put them in a folder
For example, there will be a registration page, I
create a reg folder , I
put these files in it, when called in the site.ru/reg address bar (these index.tpl should work footer.tpl header.tpl)
and so on for each page
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question