Jump to content

Creating a symfony form and then displaying it through a hook


Recommended Posts

Hi! 

I'm quite new to both prestashop and symfony. I got the task to create a module that effectively adds a form into the order views (i'd use the "displayAdminOrderMain" hook), but i didn't really understand how to render the forms with a hook. I followed the official symfony documentation, but i didn't see anything about calling the function that generates the form, nor how to place my form where i want it to be with http routing. I tried understanding the way of creating symfony forms, but after 2 days of trying i figured i might as well ask here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...