Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.5
Component:
Views Integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Aug 2009 at 19:23 UTC
Updated:
28 Feb 2012 at 21:17 UTC
Jump to comment: Most recent
Comments
Comment #1
markus_petrux commentedLook at the list of filters. If you have a Text/Number field, you should see 2 filters for it. Choose the one suffixed with "- Allowed values".
Comment #2
mcaden commentedWhoa, totally missed that. Thanks a ton.
Comment #3
kbk commentedAdded a few tags for forum explorers such as myself.
Comment #4
chien_fu commentedIt seems that the "allowed values" item is only there if there are infact allowed values..
What if I want it to autopopulate a drop-down with all of the current possible values (distinct)?
Comment #5
Anonymous (not verified) commentedI too need to expose a filter for a CCK field that has no allowed values. I want the dropdown to be of the stored, entered values though...
has anyone accomplished this?
Comment #6
chien_fu commentedswitching to active for refinement of request.. interested in this functionality with NO allowed values.
Comment #7
hanskuiters commented+1. Need to fill the dropdown filter with the values of a specific cck field
Comment #8
kirilius commentedI need that too. In my case the allowed values are dynamically determined by the site activities. Basically the drop-down should be populated from a result of another view.
Comment #9
bandelier commentedI've been searching long & far for some help on how I can display a filtered view in a select/dropdown, and control where the "onselect" would take the user. Only thing I have found is that by using the Ctools module combined with Views, you have the option of selecting "Jump Menu" under Basic Settings -> Style. This displays all filtered results in a dropdown list, but alas - you don't seem to have control over where this list goes unless you use a very poorly documented style method (http://drupal.org/node/622740#comment-3976794) which allows an over-ride on the nid so that the selection goes to that node.
My example: I have a long list of companies I want to display in a drop-down - and if someone selects from this list, I want them to be directed to a page/node which I control. This would be the first step in a custom user registration process. If their company is in the list, I don't want them to duplicate the content type, I simply want them to attach themselves to that node. If their company is not in the drop-down, I want them to then fill out the additional information/company information as a content profile - wherein they become the owner of the node.
This has been rattling me for weeks on end - I know there is a solution which allows for control over a drop-down populated by a query, but cannot find it for the life of me.
Comment #10
groovypower commentedSubscribing
Comment #11
pieterdcThanks markus_petrux, I also didn't know we had that option.
Comment #12
peterulf commentedSubscribing
Comment #13
Anonymous (not verified) commented+1.
if you set options programmatically instead of doing it in the CCK, it defaults a box and I need to define a dropdowns select list (programmatically also I guess)
Comment #14
jefflogan commentedI agree it would be useful for this new feature... to avoid having to do something like the below form alter each time:
Comment #15
bsandor commentedSubscribing
Comment #16
paulgemini commentedsubbing!
Comment #17
irishjays commentedYes indeed, I have a list of automobiles that changes, but I need the make model and year to be drop down selectable, anyone come across a solution to that prob
Comment #18
kgeographer commentedsubscribing
Comment #19
sorensong commented+1
Comment #20
chrisla commentedMine switches from a select box to a drop-down if I toggle the "Force single" option on.