Hi! I have seen I cannot add php code to the files with .tpl extension. I wanted to add a php include in the template.
I also want to know how to add php code to the template because I wanted to add an option like "send this picture to a friend by e-mail" in "viewpic.tpl" and some things like that.
please help me
thanks,
A.Mel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I have seen I cannot add php code to the files with .tpl extension. I wanted to add a php include in the template.
I also want to know how to add php code to the template because I wanted to add an option like "send this picture to a friend by e-mail" in "viewpic.tpl" and some things like that.
please help me
thanks,
A.Mel
Ive got the same problem: need help!!!
phpautogallery uses smarty as template engine.
http://smarty.php.net
please take a look at the documentation there.
(e.g. http://smarty.php.net/manual/en/language.function.include.php.php\)