php - Sulu CMS - custom form -


how add custom form sulu cms (example: complex contact form) , save values database? there example? documentation not mention custom development.

regards,

as long forms static (meaning content manager not able choose fields appearing), can described in symfony documentation.

there 2 (probably more) different possibilities include symfony forms:

the first 1 create own route , controller, working symfony forms in other symfony application.

the second 1 use template system of sulu described in our documentation. can add few fields content management around form content manager can use. in template defined in <view> tag of xml can again use symfony form stuff. if need special information system can change <controller> tag of xml, pass more data content management.

there ideas concerning more sophisticated form manager floating around, that's far being published.


Comments