Hi, I'm new to programming. Would someone please help me with the following? In tpl files (template), I see something like $toparticles, {$pagelink}, etc, and it shows the top articles and page link on that page. Can someone tell me where those $code located? I'm really confused and don't even know how to explain. Did anyone understand my question? Thank you,
they are assigned in php files. IE: home.php // pretty sure you are using smarty $smarty->assign('pagelink','http://127.0.0.1/'); // the url is assigned to the variable 'pagelink' $smarty->display('home.tpl'); PHP: home.tpl The main page is: {$pagelink} Code (markup):