Jump to content

Content Item Class


CodingJungle
 Share

Go to solution Solved by bfarber,

Recommended Posts

create() method calls the buildCreateForm(), which you can overload in your item class, to define say the form's class (ipsForm_vertical is the default),  say you want to switch it to ipsForm_horizontal or add additional class's, etc. 

However, in the content/controller.php, edit(), inits the form class, and there isn't an easy way to switch the form's style class, other than overloading the entire method and recreating it. it would be helpful if edit also used the  buildCreateForm() method or another one that we can overload to do what we want with the form for edit.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...