[support] Allowed Values and Content types
Ryan LeTulle
bayousoft at gmail.com
Thu Sep 23 00:49:38 UTC 2010
Roger,
Have you tried using a node reference CCK field for question 1. Why do you
need to use a view to create select list options?
Ryan LeTulle
bayousoft.com <http://www.bayousoft.com>
twitter.com/bayousoft <http://www.twitter.com/bayousoft>
On Wed, Sep 22, 2010 at 6:57 PM, Roger <arelem at bigpond.com> wrote:
> Thanks Steve, I have no PHP knowledge or skills, wouldn't know how or
> where to start.
> Thanks anyway
> Roger
>
> On 09/21/2010 03:16 PM, support-request at drupal.org wrote:
> > If you notice under the "Allowed values list" area there is a PHP code
> text area (collapsed by default). In there you can put PHP code that
> dynamically generates your list of options for the list. Your code just
> needs to return a keyed array of the options for the list.
> >
> > Steve
> >
> > On Sep 20, 2010, at 4:46 PM, Roger wrote:
> >
> >
> >> > I have a number of content types which apparently cannot be
> concatenated
> >> > because I can't create appropriate Select Lists from any field in a
> >> > content Type.
> >> > One such contains names and contact details.
> >> >
> >> > I find that drupal seems to be limited to creating select lists from
> >> > only the Title field of a content type which means no Select List on
> >> > first name or Last name, city or post code.
> >> > This seems to be a severe limitation in setting up an input form
> content
> >> > type.
> >> >
> >> > Q1.
> >> > When creating a new content type, is there a way to create a select
> list
> >> > drop down from any or every field in a content type with out hard
> coding
> >> > the "Allowed Values"?
> >> >
> >> > Q2. Can a view be used to create Select List drop down fields for a
> new
> >> > content type?
> >> >
> >> > Who should be contacted with suggestion for Drupal UI improvement.
> >> >
> >> > thanks in advance
> >> > Roger
> >>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100922/030f1b84/attachment.html
More information about the support
mailing list