For a project i am working on we have a user listing that uses the new admin generator functionality. We previously used the 1.0 admin generator and decided to upgrade.
This application has different permission levels (company owners & general system owners). To avoid copying functionality we want use the same "user listing" (admin generated) action for those only with different criteria. For this we are overriding the buildCriteria method. This is a piece of cake. Now, how can we distanciate the 2 different list views ? To explain : - Normal User Listing (for company owner) : /user - Admin User Listing (for system admins) : /user?view=admin Now the problem is the generated templates (_pagination.php & _list_th_tabular.php) do not pass this parameter when paging or changing sorting. There should be a simple way to avoid this ? I already tried manually overriding the different templates, but every change in generator.yml would mean you'd have to update/rewrite those templates. Any thoughts ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
