rollerworks-graveyard / RollerworksMultiUserBundle

Multi user management for the FOSUserBundle - DISCONTINUED!!
MIT License
56 stars 21 forks source link

Overriding registration template does not work #58

Closed csvan closed 10 years ago

csvan commented 10 years ago

Attempting to override the Registration template (have not tried others as of yet) fails under either of these configurations:

  1. The desired template is implemented under app/Resources/RollerworksMultiUserBundle as per the instructions. In this case, nothing at all happens - the standard FOSUB template is rendered.
  2. The desired template is configured under the "registration" heading of the user system in config.yml. In this case, then new template is correctly loaded, but no form is rendered in the fos_user_content block.

Case 2 above does work, however, if you manually call {{ form(form) }}, either inside or outside the fos_user_content block.

sstok commented 10 years ago

Using the first will not work, as the actual templates are in a sub-directory (UserSys).

Did you extend a template from the RollerworksMultiUserBundle? or did you extend your own layout file.

https://github.com/rollerworks/RollerworksMultiUserBundle/blob/master/docs/overriding_templates.md