PDA

View Full Version : include template


lama69
01-05-2006, 04:35 PM
Hi,

I am a newbie with Smarty. I created a new template and I need to call a function in a php file. I have a problem to set tpl in my php file

My template classified.tpl is very basic
Content visible to registered users only.

I created my php fileContent visible to registered users only.

I have the following error message
Content visible to registered users only.
So can you tell me how to call my template? I saw in submit.php and index.php a ID variable but I think I do not need.

Thanks