×
This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Use loose coupled layout to display all our JForms
Walt Sorensen
Senior Member
Posts: 54
9 år 6 måneder dager siden #840
av Walt Sorensen
Use loose coupled layout to display all our JForms opprettet av Walt Sorensen
With Joomla 1.6+ we should strive for a more loosely coupled layout to display all our JForms
Here is a tutorial on how this can be done, so that the view iterates the JForm XML fields and fieldsets rather than needing to specify every field.
www.ostraining.com/blog/how-tos/developm...-started-with-jform/
Here is an example Joomla 2.5+ component that includes this decoupled xml form and view layout
github.com/thg303/AqJform
Why this is important? By using this loosely coupled layout we can modify our JForm XML without the need to mess around with our layouts.
Here is a tutorial on how this can be done, so that the view iterates the JForm XML fields and fieldsets rather than needing to specify every field.
www.ostraining.com/blog/how-tos/developm...-started-with-jform/
Here is an example Joomla 2.5+ component that includes this decoupled xml form and view layout
github.com/thg303/AqJform
Why this is important? By using this loosely coupled layout we can modify our JForm XML without the need to mess around with our layouts.
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Walt Sorensen
Senior Member
Posts: 54
9 år 4 måneder dager siden #891
av Walt Sorensen
Besvart av Walt Sorensen i emne Use loose coupled layout to display all our JForms
Looking more at the JForm documentation a simpler method would be to use
renderFieldset
() which will render each field set in your form.
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Tid til å lage siden: 0.053 sekunder