Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1465

Joomla! 4.x Coding • Re: LayoutHelper::render('joomla.searchtools.default', array('view' => $this)) results in an error.

$
0
0
Yes, I've had this a few times, though not recently, so my memory might be wrong here.

I think you're missing a filter definition form, something like "filter_<main_form_name>.xml" in your "forms" directory and you need to load that in your htmlView file with something like

Code:

$this->filterForm    = $this->get('FilterForm');
You need to have the search field in the xml of course.

Statistics: Posted by MarkRS — Tue Jun 04, 2024 5:26 pm



Viewing all articles
Browse latest Browse all 1465

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>