Questions tagged [sort]
The sort tag has no usage guidance.
37
questions
0
votes
1
answer
37
views
Solspace Calendar - Display next 4 events in order of occurence (date/time)
I am replacing an existing channel:entries tag pair which was displaying upcoming events, to now use the Solspace Calendar plugin (previous post here)
All I want to do is display the next 4 upcoming ...
0
votes
1
answer
54
views
Ordering/sorting channel entries by Calendar date
I have a channel (event) that is being used to display 'events', which is being ordered on the page by a date field (e_date).
I have now added Solspace Calendar (e_calendar) as a new field to replace ...
2
votes
2
answers
272
views
How can I sort entries by ascending integers?
I am trying to use a custom field sort_order to order entries by setting the Field Content type of a Text Input to Integer.
I'm using EE2.
Expected behavior:
Entry 1 with a sort_order of 10
Entry 2 ...
0
votes
3
answers
36
views
Sorting "About Us" Page
I'm using "v2.9.2 - Build Date: 20141004" of EE and currently have an "About Us" page where I have a photo of company staff.
Currently the only way to put this into a desired order is to change the "...
0
votes
1
answer
66
views
EE2.2.0 | sort="asc" only shows 2 entries where sort="desc" shows all
There is a page with 6 entries that are supposed to show but only shows 2 when sorted in ascending order. I sort in descending order and all 6 entries show. What is going on here?
{exp:channel:...
1
vote
0
answers
157
views
Relationship field orderby/sort listing lowercase after caps?
I'm currently running EE 2.9.2 on a site. I have a relationship field that takes all selected entries and sorts them by a custom channel field for the display title.
I've used this specific call:
{...
1
vote
1
answer
43
views
Channel Entry sorting refuses to sort in the right order?
I have a Channel with a field called {tour_starting_price}. It's a text input field, with Type set as Number. It only ever stores integers.
I have created a simple template that looks like this:
<...
0
votes
3
answers
1k
views
Overriding ORDERBY and SORT on channel:entries and output entries in order given by embedded entry_id list
Is it possible to ignore the ORDERBY/SORT parameters in an exp:channel:entry tag and display the entries as given in a list of IDs?
I have a embedded template where I pass down a list of entry IDs to ...
0
votes
1
answer
30
views
Expresso Store - display entries based on an availability
The items (products) come up in alpha order currently. Is there a way to push all of the “Not in Stock” items to the end of the list when displaying entries?
0
votes
0
answers
26
views
sort entries numerically with letters last
I need to sort entries numerically on a specific field (which might include text strings) and force all the entries with a text (not integer) appearing in that field to the end of the result set.
i.e....
0
votes
2
answers
53
views
Slow loading, multiple conditionals from multiple channels + sorting solution?
so i have a page that is slow to load.
I have tried various alterations to this code but nothing has seemed to work for me. I read that 'Switchee' may be a solution, but i am not so sure.
So I have ...
1
vote
1
answer
127
views
Channel Images - order by image ID?
I am an expressionengine novice, so apologies if my question reflects that. I'm looking for a way to display images in a specified order (i.e. not by date, size, etc.), such as by ID. I've searched ...
1
vote
1
answer
65
views
How to deal with 'sort by' on author field (playa) where there are multiple authors
I have a project where we display a table of books and a column in that table represents a playa field where 1 or more related authors may be selected. I would really like to then be able to sort on ...
1
vote
1
answer
52
views
Matrix rows out of order when outputting
I'm outputting some images using a Matrix field, but they are outputting on frontend in a random order. I'm trying to output according to rows they are currently in.
I tried using sort and orderby ...
0
votes
0
answers
352
views
Anyone know why orderby would not be working?
The orderby parameter seems to be giving some strange results on a site I'm building. It appears to be outputting 2, 3, 4 then 1. Any ideas why that would be?
Here's my code:
{exp:channel:entries ...
1
vote
2
answers
200
views
Order by considering two fields?
{exp:channel:entries channel="ranking" order="points" sort="desc"}
{team} | {points} | {goals_scored} | {goals_against}
{/exp:channel:entries}
The code works fine,but when there are two teams ...
1
vote
1
answer
203
views
Sorting Low Search results across multiple channels
We've got two channel, Images and Videos, that we're combining in search results. Searching by keyword works great. So does sorting by entry_date and title. But we'd also like to sort by other fields.
...
1
vote
1
answer
148
views
Foreign Character showing Question Mark Diamonds
I have a problem, I have romainian character into the titles, but this code :
{exp:channel:entries channel="filme" orderby="title" sort="asc" dynamic="off" limit="1000"}
<?php
$letter = strtoupper(...
1
vote
1
answer
45
views
Manually arrange product placement in cartthrob
I am wondering if there is a way to make certain items appear first within a category, regardless of default item order?
I would like particular items, buried within several pages because item order ...
0
votes
1
answer
222
views
Sorting and filtering items in Cartthrob
I've been trying to find a proper way to do this but no luck so far. How does one go filtering products in Cartthrob. For example if the user wants to change the number of products displayed by ...
0
votes
1
answer
101
views
Headings from Grid Column Values
Is there a method where I could generate a heading using a grid column value?
My grid is output as a table sorted by the column “sport” with values like “hockey, baseball, soccer” etc.
So as I loop ...
1
vote
1
answer
180
views
how to revert to default sort order if segment doesn't exist?
I have one particular page that is being sorted according to the 3rd segment. If that segment doesn't exist, I'd like to have orderby revert to it's default. Basically, if {segment_3} doesn't exist, ...
1
vote
1
answer
138
views
Help with sorting MATRIX values in Super Search results
I'm using matrix extension to get the lowest value of a column in a search. The problem that I have is to sort results:
this is my code:
{exp:super_search:results channel="my_channel"}
{...
2
votes
1
answer
52
views
What is the best way to tag images for use in other channels?
Here is my scenario: I have over 1,000 untagged images that I need to be able to sort and search in order to use in my entries.
I am looking at tagger by DevDemon but then I can only look for one ...
1
vote
1
answer
49
views
Problem displaying data when sorting
I'm trying to output a custom field from a channel that stores a formatted date, which gets used for a jQuery datepicker.
I'm using the following code;
{exp:channel:entries channel="events" dynamic="...
1
vote
1
answer
59
views
Alphabetise pre-populated select field
I have a channel where each entry has a field called "Brand". This coincides with an entry title in a different "brands" channel. The best way I've found to set this up is to use a select field type ...
0
votes
2
answers
207
views
Ordering CartThrob products by price when some have options
I'm working on a small CartThrob site at the moment. The site uses 'points' rather than real currency.
Products are stored in the "products" channel which contains a custom field for the points value ...
0
votes
2
answers
83
views
Can I (a) rename sticky to something like member, or recreate sticky functionality with a channel field?
I want a checkbox called members and when a lodging is searched for, I want members to display first and the rest to be alphabetized underneath. I know I can do this via the sticky function, but the ...
0
votes
2
answers
70
views
Creating a chronological list from 2 channels and sorting by 2 different fields
I'm building a loyalty scheme system in which customers log purchases they have made and when approved they are allocated points. These points are used to 'purchase' rewards.
I have most of the ...
1
vote
1
answer
178
views
Channel entries tag sort by P&T Field Pack Dropdown values
I've got a P&T field for US states set up with values and labels like this:
AL : Alabama
AK : Alaska
AZ : Arizona
AR : Arkansas
CA : California
CO : Colorado
etc...
I need to group entries by ...
1
vote
1
answer
473
views
sort by category
I am outputting a list of channel entries. Each entry has 2 category assignments but I need to sort the list alphabetically by one of the categories.
Here is my current code that sorts alphabetically ...
1
vote
1
answer
399
views
Custom sorting of channel entries
I need to allow custom sorting of a channel entries loop, so I'm currently achieving this by using segments and URLs like this: mywebsite.com/products/sort/date/asc and mywebsite.com/products/sort/...
1
vote
3
answers
435
views
Order entries by month and year
I need to order blog posts by year and month so the output would be someting like...
June 2013
Blog Title 1
Blog Title 2
May 2013
Blog Title 3
Blog Title 4
December 2012
Blog Title 5
How can I ...
1
vote
0
answers
118
views
Matrix field sorting/filtering in the frontend
Is there a proper way to do this? Say I want to have a list of restaurants, and I want to filter them by city AND by type of restaurant. Is this easily done? I'm guessing it would have to be AJAX ...
0
votes
2
answers
671
views
next / previous entry linking
I am trying to create links to the next and previous entries NOT using pagination.
I tried the plugin Next / Previous Links Anywhere from McFly but it is not working as described and no longer ...
3
votes
2
answers
460
views
Three different statuses - sort each status differently
I have a three different statuses displaying within one main channel entries wrapper. I would like the first status to be ordered randomly, and the other two statuses will be sorted alphabetically by ...
0
votes
2
answers
325
views
Low Search: Sort existing results set
I'm having a little bit of difficulty trying to sort a search result set returned by Low Search
The user has the option to enter keyword(s) as well as choose many search parameters, but result ...