Hot answers tagged

4

Try Reefine: http://devot-ee.com/add-ons/reefine. It allows you to filter by almost anything and supports the Store custom field.


4

I think you're on the right track. I'd create a Matrix column that is a dropdown or multiselect. Then output those variables as CSS classes or data attributes and handle the sorting on the client side using something like this: http://mixitup.io/#Documentation. <ul id="filters"> {your_matrix_field} <li data-filter="{matrix_select_col_name}>{...


3

With Low Search, you do not "form a URL", but rather you create a search form that you can submit, which will generate the URL for you. How you create the elements in your form depends on what types of filters you will need and how you set up your channels and fields. For the alphabet, you can use the Field Search filter, but you'd have to hard-code the ...


3

You'll need to write a custom fieldtype to achieve this - I can't think of any existing fieldtypes that could accomplish this for you. So in your fieldtype, you'd query exp_playa_relationships for all parent_entry_id's where where child_entry_id was equal to the entry_id associated with ee()->session->userdata('member_id'). (Not sure how Profile:Edit ...


2

Sounds like Numeric Matching with the search="" parameter may help. This is a parameter for the channel:entries tag. If you have a field containing numeric data, you may use greater-than or less-than operators to search through them. search:numeric_field="<20" search:numeric_field=">20" search:numeric_field="<=20" search:numeric_field=">...


2

Render out the pagination in one block, framing the 2 styles of pagination: {paginate} <div id="top-pagination"> Showing results {abp_entry_from}-{abp_entry_to} of {abp_total_entries}. Show: 10 20 30 per page </div> <div id="bottom-pagination"> {pagination_links} <ul> {previous_page}<li><a href="...


2

We're using checkboxes for the categories, but I'm assuming it's similar... In the search form: {categories show="1|2|3|4" limit="4"} <div class="checkbox"> <label><input type="checkbox" name="categories[]" value="{category_id}" {checked}> {category_name} Products</label> </div> {/categories} Then in the ...


1

Low Search doesn't have specific support for Channel Files (CF), so whether the two play nicely together depends on how CF stores its (searchable) data. If CF stores its data in the native channel_data table, then you can use the Field Search filter to search for substrings like .pdf etc. If it does not, then a custom filter/extension would be needed to add ...


1

Depends on what you're filtering. Low Search will filter channel entries. Use the Categories filter to filter by (sub)categories; You can use the Keywords filter in conjunction with the Field Search filter to filter by keywords and the File Type, if the file type is stored in a dedicated channel field. Whether you can “list them based on their category” ...


1

Yes, It is possible for sure. Follow the steps. 1) create a checkbox field named "featured" and pass the checkbox options i.e, "yes". 2) check the checkbox in entry which you want to set as featured. 3) on fornt-end code of your {exp:channel:entries} pass parameter search:featured="yes" This will bring the entries only you checked as "yes" in backend.


1

Yes, by using separate orderby and sort parameters, eg: {low_search:url orderby="foo|bar" sort="asc|desc"}


1

You can use search:field_name parameter to filter the entries. For job type, search:job_type="=[JOB TYPE]" for exact match. For salary range, its needed if its numeric field so that you can use parameter like search:numeric_field=">=20" and search:numeric_field="<=20" See documentation here.


1

Thanks Low! Mo Variables worked perfectly. I used the following to select the post channel: <form method="post" action="{path='tour-calendar/{segment_2}'}"> <input type="hidden" name="csrf_token" value="{csrf_token}" /> <select name="channel"> <option {if post:channel == "a|b|c"} selected="...


1

Couple of options here. You could use Mo' Variables to get to the {post:channel} variable and use that in a conditional to add the selected attribute to your options. You could also use Dynamo, which offers even more functionality for dynamic parameters. If you want to go all out, choosing a proper search/filtering add-on would be the way to go. Options ...


1

No, you definitely do not need to create a calendar for every type of category. You can put all the events into one calendar and filter by category. Just use the category parameter on the {exp:calendar:events} tag. {exp:calendar:events category="1"} Instead of hardcoding the category ID you'll probably want to pass it in via a segment variable. Depending ...


1

Remember you can always use Dynamic Parameters to sort data on the fly - https://ellislab.com/expressionengine/user-guide/add-ons/channel/dynamic_parameters.html


1

It turned out it was being sent to my index.php page instead of my news.php page. I put this in the config file and it worked $config['playa_site_index'] = "/news.php";


1

One method is to check which checkboxes are checked, build a URL containing multiple tags which is recognized by Tag (see the Tag documentation about multiple tags in the URL when using {exp:tag:entries}), and redirect to this URL. Here's an example: Assuming you have these three example tag checkboxes: <input type="checkbox" name="tag[]" value="foo">...


1

Why not just order the matrix field by the date column in descending order and apply a limit of 3? That would give you what you need.


1

From a 50K foot view this approach seems feasible. Obviously when you have that many different nested relationships, you'll need to be conscious of performance and the number of queries on any given page, but that's something you can somewhat manage with your nesting/embedding technique and caching. I'm working on a site with a similar problem where we have ...


1

Date Field Filter works with the {exp:channel:entries} tag, so the native use of {date_heading} in {exp:channel:entries} should apply here. See the EE documentation. However, {date_heading} is for entry_date, not a custom Date field. How about PHP for this then? Basically, display a heading when the first occurrence of a year is encountered, and store it in ...


1

The problem with your second block of code is that the option values for the category select field is a URL, when it should be category data, such as a category_id, category_url_title or category_name. Let's say your first search with the first dropdown sends you to http://mysite.com/event/results/search&category=sports On this result page, you can ...


1

My recommendation would be Channel Images from dev demon which should achieve what your looking for.


Only top voted, non community-wiki answers of a minimum length are eligible