[support] CCK Common Fields (date)

Brian Choc bchoc at t4tcolorado.org
Wed Nov 28 23:45:08 UTC 2007


In your View, go to Filters and add a "Node: Type" Filter.   Select "Is 
One Of" and then pick the node type(s) you want in your View.

Brian



Sarah.Vardy at student.griffith.edu.au wrote:
> hey sharon
>  
> thanks for the tip.
>  
> just wondering, do you know how to get just the results of one content 
> type using a view? ie I just want to view the current 'article' 
> postings for the current month not all the nodes that have been posted 
> in the month.
>  
> any help would be grand =)
>  
> sarah
>  
>
>
> ----- Original Message -----
> From: Sharon Sbarsky <SSbarsky at jflmedia.com>
> Date: Thursday, November 29, 2007 5:56 am
> Subject: Re: [support] CCK Common Fields (date)
> To: support at drupal.org
>
> > The Date Module is *very* useful for this. You can set it up to define
> > its "granularity" (i.e. I use it for the same purpose and only define
> > year and month.) You have lots of control over the display and input
> > formats, and you can use the field for sorting or filtering.
> >
> >  
> >
> > I wish that I knew about this module from the start. :-)
> >
> >  
> >
> > The only problem is that since I specify that the display is "F
> > Y" (i.e.
> > November 2007), if I don't enter a month, it'll show up as "January."
> > There may be a way to fix that, but it isn't high on my priority list
> > yet.
> >
> >  
> >
> > Sharon
> >
> > Webmistress
> >
> > www.jvibe.com
> >
> >  
> >
> > ________________________________
> >
> > From: support-bounces at drupal.org [mailto:support-
> > bounces at drupal.org] On
> > Behalf Of Sarah.Vardy at student.griffith.edu.au
> > Sent: Wednesday, November 28, 2007 1:33 AM
> > To: support at drupal.org
> > Subject: Re: [support] CCK Common Fields
> >
> >  
> >
> > Can anyone tell me how to set up metadata fields with cck in the first
> > place?
> >
> >  
> >
> > I want to set a year and a month metadata field for a custom content
> > type called News article.
> >
> >  
> >
> > Any help would be great.
> >
> >  
> >
> > Sarah =)
> >
> > ----- Original Message -----
> > From: Shyamala <shyamala at netlinkindia.com>
> > Date: Wednesday, November 28, 2007 4:22 pm
> > Subject: Re: [support] CCK Common Fields
> > To: support at drupal.org
> >
> > > You can predefine the  date_created, date_modified,
> > > user_created,
> > > user_modified, url
> > > values for both content type, use, computed field, or pass
> > > values to the
> > > create form to populate these fields.
> > >
> > > These are possibilities. If you could elaborate on the when
> > the
> > > two content
> > > types are created and how they are linked. What is the order
> > of
> > > creation...
> > > I could help.
> > >
> > > Shyamala
> > > ----- Original Message -----
> > > From: "Tom Holmes Jr." <tom at tomholmes.net>
> > > To: <support at drupal.org>
> > > Sent: Wednesday, November 28, 2007 12:27 AM
> > > Subject: [support] CCK Common Fields
> > >
> > >
> > > > I'm looking to implement Drupal 5.3 and I'm going to be
> > using
> > > the CCK to
> > > > create some different content types.
> > > >
> > > > Two or more of my content types will have the same metadata
> > > field names
> > > > and types:
> > > > for example: date_created, date_modified, user_created,
> > > user_modified, url
> > > >
> > > > Is there a way I can set this up so that my content types
> > will
> > > ALWAYS> get these shared fields ...
> > > > or do I just have to setup those fields seperately with each
> > content> > type I create?
> > > >
> > > > Thanks!
> > >
> > >                          Tom
> > > >
> > > > --
> > > > [ Drupal support list | http://lists.drupal.org/ ]
> > >
> > > --
> > > [ Drupal support list | http://lists.drupal.org/ ]
> > >
> >
> >


More information about the support mailing list