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
Once you set up a field for one content type it is available for any other content type. If you mean, can it automatically show up in other content types, then no, it can't. But it's easy to add. It shows up in a dropdown list.
jns
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Tom Holmes Jr. Sent: Tuesday, November 27, 2007 1:57 PM To: support@drupal.org 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/ ]
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@tomholmes.net To: support@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/ ]
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@netlinkindia.com Date: Wednesday, November 28, 2007 4:22 pm Subject: Re: [support] CCK Common Fields To: support@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@tomholmes.net To: support@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/ ]
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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Sarah.Vardy@student.griffith.edu.au Sent: Wednesday, November 28, 2007 1:33 AM To: support@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@netlinkindia.com Date: Wednesday, November 28, 2007 4:22 pm Subject: Re: [support] CCK Common Fields To: support@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@tomholmes.net To: support@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/ ]
Hi Everyone,
On 4.7 I was able to view comments by IP address. This let me htaccess out the spam flooders and reduced the spam big time. I can't seem to figure out how to do this in 5.x and the spam has become worse and worse.
Any ideas are appreciated.
Thanks, Allen
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@jflmedia.com Date: Thursday, November 29, 2007 5:56 am Subject: Re: [support] CCK Common Fields (date) To: support@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@drupal.org [mailto:support- bounces@drupal.org] On Behalf Of Sarah.Vardy@student.griffith.edu.au Sent: Wednesday, November 28, 2007 1:33 AM To: support@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@netlinkindia.com Date: Wednesday, November 28, 2007 4:22 pm Subject: Re: [support] CCK Common Fields To: support@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@tomholmes.net To: support@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/ ]
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@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@jflmedia.com Date: Thursday, November 29, 2007 5:56 am Subject: Re: [support] CCK Common Fields (date) To: support@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@drupal.org [mailto:support- bounces@drupal.org] On Behalf Of Sarah.Vardy@student.griffith.edu.au Sent: Wednesday, November 28, 2007 1:33 AM To: support@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@netlinkindia.com Date: Wednesday, November 28, 2007 4:22 pm Subject: Re: [support] CCK Common Fields To: support@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@tomholmes.net To: support@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/ ]
Hey Brian,
Thanks for that.
Another question - is there a way with a custom content type to generate a printable view?
Or is there a module that can just get the content of the view without the other formatting and display that?
=) Sarah
----- Original Message ----- From: Brian Choc bchoc@t4tcolorado.org Date: Thursday, November 29, 2007 9:45 am Subject: Re: [support] CCK Common Fields (date) To: support@drupal.org
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@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@jflmedia.com Date: Thursday, November 29, 2007 5:56 am Subject: Re: [support] CCK Common Fields (date) To: support@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@drupal.org [mailto:support- bounces@drupal.org] On Behalf Of Sarah.Vardy@student.griffith.edu.au Sent: Wednesday, November 28, 2007 1:33 AM To: support@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@netlinkindia.com Date: Wednesday, November 28, 2007 4:22 pm Subject: Re: [support] CCK Common Fields To: support@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@tomholmes.net To: support@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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
I found an answer for it.
The printable module.
Thanks for your help =)
Sarah
----- Original Message ----- From: Brian Choc bchoc@t4tcolorado.org Date: Thursday, November 29, 2007 9:45 am Subject: Re: [support] CCK Common Fields (date) To: support@drupal.org
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@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@jflmedia.com Date: Thursday, November 29, 2007 5:56 am Subject: Re: [support] CCK Common Fields (date) To: support@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@drupal.org [mailto:support- bounces@drupal.org] On Behalf Of Sarah.Vardy@student.griffith.edu.au Sent: Wednesday, November 28, 2007 1:33 AM To: support@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@netlinkindia.com Date: Wednesday, November 28, 2007 4:22 pm Subject: Re: [support] CCK Common Fields To: support@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@tomholmes.net To: support@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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi, Can anyone help me? I keep getting this error when I try to update a feed through the news aggregator on my drupal site: The feed from test seems to be broken, because of error "Space required" on line 64. Any help would be great! =) Sarah
Thanks everyone for the very helpful information. I'm just starting with the CCK and it's a learning experience. I'm gonna use it on my laptop and get used to it before I use it at work on my work test system.
If I create one content type, and setup fields, the next content type will get to choose some of those same fields. Hence after adding 50 content types ... many of the content types will have unique fields particular to that content type. Also many of the content types, and in my case, ALL the content types, will have 4 or 5 of the same fields.
If that's the way it works, I am happy with that. I am not gonna recommend drupal changes the way CCK works .... no way! :-D
I've looked at other CMS systems where the content data is stored in XML data, and content types are object-oriented. That means you create a common content type with shared fields, and then every other content type extends that one.
Just different ways of handling content ... but again, I was just curious how CCK works like that. Thanks again for all the information! Viva la Drupal! ;-)
Tom
Tom Holmes Jr. wrote:
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