Filter Fields in Alphabetical order

More
12 years 2 weeks ago #31525 by pconstantino
Hi,

I shearched the forum for a solution but i did not find any solution.

My website has 3 custom text fields that i want to order alphabetically.

The website is: www.autarquicas2013.pt/candidatoslista

Can anyone help me?

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #31528 by ggppdk
Yes
1. change the type of fields to type textselect and
2. apply this fix (to r1576)
remove function:
function getFilter(...) {
}

from textselect.php

NOTE after doing a step 1. do these:
a. go to field configuration,
b. enable sql usage for filter creation
c. add " ORDER by text DESC" to the SQL query

NOTE: future FC version will merge text and textselect fields

regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #31535 by pconstantino
Thank you so much.

It works perfectly.

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #31536 by ggppdk
In fact the "Custom Filter Creation" of text select field makes sense to be included in all fields,

e.g. besides default creation of the filter these parameters with custom SQL along with option for display filter as
- as range
- as toggle buttons


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.400 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline