how to make smarty's display function return to a variable - by user327396 In smarty is it possible or is there any kind of function to render a template and return the result? for example: $rendered_content = $smarty->render("content.html") Read the article