Answer the question
In order to leave comments, you need to log in
Why doesn't the server see the .tpl file?
I installed a server on an Ubuntu virtual machine, installed LAMP. Uploaded the site to the var/www/ folder.
Displays an error message: Error: [Template [menu/before.tpl] not found!], [no number specified]
The before.tpl file is in the menu folder. I set the rights to the folder to 777 and set the file to 777. I did not find a solution to the problem on the Internet.
Answer the question
In order to leave comments, you need to log in
tpl is a symbol, you can use any extension ... at least index.tamagichi .
tpl is an abbreviation for the word TemPLate in
order for tpl to work, you need to register it in php and then display it on the page,
you can buy / download the Ruskov course there in detail it tells how to use tpl on pages
Did you plan it yourself or did someone "kind" teach it?
function __construct($url, $lng, $templates=array( 'before' => 'menu/before.tpl', 'after' => 'menu/after.tpl', 'listitem_out' => 'menu/out.tpl', 'listitem_in' => 'menu/in.tpl', 'listitem_on' => 'menu/on.tpl')) {...}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question