php - Symfony Templates within Templates -
sorry if seems incredibly simple. new symfony.
i want have template/view "contains" other views. so, following example, imagine on /dashboard/ show both "statistics" , "inbox". want code each of these within separate actions/methods.
<?php class dashboardactions extends sfactions { public function executeindex(sfwebrequest $request) { // load statisticssuccess // load inboxsuccess // render them both "within" index template } public function executestatistics(sfwebrequest $request) { // render statisticssuccess } public function executeinbox(sfwebrequest $request) { // render inboxsuccess } }
thanks assistance can provide!
make "statistics" , "inbox" components. sure reference documentation of version of symfony you're using.
Comments
Post a Comment