8 years ago
2
Topic

Hello

I Want to add a dropdown field using search generic plugin..i have made 4 new fields and i want to take those fields into dropdown ..when i select a dropdown list then then it's search related to taht article...

For example i have made four new fields for students year and i want to show those fields into search dropdown when i select year 2014 then all article related to that year should be shown or filter according to years

Thank you

Get a VIP membership
154 Posts
WebOne
8 years ago
1
Level 1

It's not so clear from your question what you want to do. Search Generic is a text input field, not a dropdown.

You can add multiple fields to your search, and if the fields are not already dropdown (eg: SELECT->SIMPLE) then you can often make dropdowns with the SELECT-DYNAMIC field, where depending on the type of dropdown, you may need to use an SQL Query to pull data in from your database.

Eg:

I have a text field with storage field -  year

I make another select dynamic field with the same storage field - year


8 years ago
0
Level 2

We have student portal.. all the students have their pass out and ongoing year enrolled with them. What we are looking for to filter the students by year .. like if student joined the institute on 2015 when we search it will come first... the student enrolled in 2014 it will show the list of student who were enrolled in 2014.

In short...

when I search, I see students from all institutes? Also, can I filter by year?

I have used year as the cck content field.

i hope this will clear what we are looking if not please advice?

Thank You 

Get a Book for SEBLOD