Hi, Right basically i have a file which shows the last 5 posts/threads. My problem is that i want to include it in the overall_footer.tpl which is not a PHP file. At the moment to get the script to work i am just including the files like: <?php include "latestposts.php"; ?> Code (markup): Which works but what i need to to assign the results to a smarty variable so i can insert into overall_footer.tpl Cheers, Adam
only if you like cake . Yes thats how it should be done. It is untested but it should work. Do refer to the code in viewtopic.php. You'll find it variables assigned in this fashion.