× 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

9 jaren 5 maanden geleden #840 door Walt Sorensen
Use loose coupled layout to display all our JForms werd gestart door 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.

Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.

9 jaren 4 maanden geleden #891 door Walt Sorensen
Beantwoord door Walt Sorensen in topic 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.

Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.

Tijd voor maken pagina: 0.049 seconden
Gemaakt door Kunena

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.