Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [filter]

The tag has no usage guidance.

0
votes
1answer
33 views

JLayout Search Tool not populating filters and inputbx

I am converting the searchbar in one of my components to JLayout Search Tools searchbars to become more ready for J!4. Everything is working fine but it is not populating the filters. In view.html....
1
vote
2answers
41 views

Filtering product query with two sets of filters. (J2Store)

I have two disjointed sets of product filters, $special_filters and $other_filters. I'm trying to retrieve the products from the database which match any of the filters in $special_filters AND any of ...
1
vote
1answer
42 views

Why does Joomla remove html tags from submitted text even when filter types are set to raw?

I'm trying to retrieve and save a html formatted text submitted thru a Joomla editor field. I went thru some of the available docs (https://docs.joomla.org/Retrieving_request_data_using_JInput#...
1
vote
1answer
130 views

in Joomla 3.8 default search tools do not respond in my own component and cannot set and get state of the filters

I try to get some help from you to spot what I am doing wrong (what I am missing) on applying search tools and filters in the admin of Joomla 3.8 in my own component. I am pulling my hairs out since ...
1
vote
1answer
262 views

Manually render filter form fields in layout

I am using the searchtools filters in the front end of a custom component. So I am displaying the fields in my template : <?php echo JLayoutHelper::render('joomla.searchtools.default', array('...
4
votes
1answer
130 views

Tags filter field - how to add custom “placeholder”?

I have added a tags filter in my component's list with multiple enabled. <field name="tag" type="tag" label="-Select a Tag-" description="Filter by Tags" multiple="...
0
votes
0answers
113 views

Joomla 3.7.2 Smart Search Filters Uneditable

Just updated a site from 2.5 to 3.7.2 and now I can't access my smart search filter settings. When I go into one of them I'm supposed to see selections and checkboxes. See link. https://docs.joomla....
0
votes
2answers
216 views

How to preserve HTML input via wysiwyg into custom html module?

I am getting strange behavior while trying to add custom html via a custom html module. My markup is getting altered and the behavior is affected as a result. I want to have an anchor tag wrapped ...
2
votes
1answer
121 views

when calling “JRequest::get('FilterForm')” result is empty

When calling the method $this->filterForm = JRequest::getVar('FilterForm');, I get an empty result. But checking the com_banners component on the same system shows a result. What can I do to get ...
2
votes
1answer
305 views

State is not populated to my View

I have followed the article on the Joomla Developer Sites to create a sorting filter for my list (https://docs.joomla.org/Adding_sortable_columns_to_a_table_in_a_component). But I cannot get it work. ...
2
votes
1answer
65 views

Filter an IP address

I've written the following to get the user IP: private function getIpAddress() { $server = JFactory::getApplication()->input->server; if (!empty($server->get('HTTP_CLIENT_IP'))) ...