The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [filter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
46 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....
2
votes
2answers
30 views

Link to Page & Pre-Filter Portfolio Items

Joomla 3.9.10 I am using this template. I would like to create a link on my home page that when clicked, will take the user to the portfolio page and display a pre-selected tab.. For example my link ...
0
votes
0answers
18 views

Search tools labels

I am using Search Tools and noticed that labels in filter form fields are not rendering, despite being present in xml. I also noticed that there are no labels in standard filters, (like on User ...
0
votes
2answers
35 views

Server name removed from text when submitting JForm TinyMCE editor field

I'm working a custom Joomla module that has a JForm with an editor field. My users use this form to edit and send some email messages to our customers. The field is prefilled by the system with some ...
1
vote
2answers
52 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
70 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
217 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
573 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('...
3
votes
1answer
165 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
127 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
232 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
178 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
391 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
72 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'))) ...