SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 311 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

This
control has some JavaScript associated with it that automatically submits the form
when the JavaScript onChange event is fired.
A complete description of the grid.state type is available earlier in this chapter.
$lists is an array because, if we are implementing more than one filter, we can
easily add all of these filters to a single attribute within the view, ready for the layout
to use. Alternatively, we could use a different view attribute to deal with each filter.
Now that we have a form control we need to display it. We do this in the template,
as this example demonstrates:







lists['state']; ?>

Chapter 8
[ 233 ]
It is normal to use a table with one row and two cells to display filters and search
controls. The left-hand cell is used to display the search and the right-hand cell is
used to display the filter drop-down selection boxes.
As with most things in Joomla!, there are no strings attached as to how we
implement filtering and searching.


Pages:
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
wełna mineralna rockwool Projektowanie wnętrz