Has anyone had trouble with displaying the date field in CCK nodes

cant seem to get mine working thought original it was a views issue but then notice that values arent appearing in the node for my CCK nodes

what setup are you using

Comments

karens’s picture

Status: Active » Closed (duplicate)

I assume this is related to the issue you reported at http://drupal.org/node/98072. Since these are both basically the same report, please don't start two separate issues for them. I am closing this one as a duplicate. You can add more details to your original report, if necessary. Plus, I can't possibly debug this without more information. CCK dates work fine for others both in nodes and in views, so it appears to be a setup problem. Please go to the other issue and follow the suggestion there as a starting point.

somes’s picture

Yes I do admit to a lack of information on the issue but its rather hard to figure out where I can start to debug as I’m using a basic setup that is generating no error messages. Hence the problem as others seem not to have an issue I was wondering what a default setup for a working version of the date module with the CCK module(Im guessing this might be where my problem is and not with views as previously stated)

Any ideas on how I can debug from my end – guess this should work out of the box but it isn’t at my end

Tks
M

karens’s picture

I don't expect you to know how to debug this, I just am trying to tell you we're only going to use one of the issues you opened to work on this. I already made a suggestion for how to debug this in the other thread (http://drupal.org/node/98072.). So please switch to that issue and try what I suggested there and then report back, on that thread, since I've closed this issue as a duplicate. Don't worry about the fact that the title in that issue might not be right, the title can be changed. But it really confuses me to have two open issues about the same problem :-)

Thanks.

deekayen’s picture

Title: CCK and date » Date not displaying on view tab
Component: Code » User interface
Status: Closed (duplicate) » Needs review
StatusFileSize
new770 bytes

I think this was a separate bug, but wasn't clearly described. This one has more to do with CCK, the other with Views. As part of the date.module commit that later became 4.7.x-1.1, the date_field() hook changed a lot. Specifically related to this bug, it removed the view case which displayed the date on the node's view tab and replaced it with a validate case. This patch adds the view case back in.

I tracked down the removal of the view case in CVS revision 1.13.2.23, which notes a bug id, but has no patch attached to get context on the code changes:

#80592 adding from/to date capability, add theming for multiple and from/to dates, pull all date form and display elements out into theme functions, simplify database handling by making all columns accept null values, move validation from the widget to the field. This is step one in the process of adding handling for repeat dates. Requires database update.

karens’s picture

Status: Needs review » Closed (won't fix)

I'm not making changes to the 4.7 or 5.1 versions. I'm officially recommending you move to the 5.2 version now. If you have problems in that version you can check for existing issues or add new ones. Feature requests are now getting posted to the D6 version to be back-ported to 5.2.