Aug 24, 2011 at 10:49 PM
Edited Aug 24, 2011 at 10:50 PM
My scenario is one where I have an "Event" content type. I want to add a datetime field to it and then in my driver have the ability to query for events both in the past and in the future. There are two problems:
1.) Installing the datetimefield from the gallery causes an error:
Package installation failed.
There was an error installing the requested package. This can happen if the server does not have write access to the '~/Modules' or '~/Themes' folder of the web site. If the site is running in shared hosted environement, adding
write access to these folders sometimes needs to be done manually through the Hoster control panel. Once Themes and Modules have been installed, it is recommended to remove write access to these folders.
Version string portion was too short or too long.
In addition to that error displaying in red, I also see the green 'Orchard.Module.Contrib.DateTimeField 0.6.3' installed successfully
This error only happens in one instance of my Orchard, not my other instance, so it's got to be something on our end, but I hoped someone might have seen that error and knew what it meant.
2.) To potentially make #1 a moot point, in doing some searching, I stumbled upon the link below (involving some guy and Bertrand) that indicates you can't do a query on content items filtering by a field on the item, and that you should use a content
part. Did I understand that correctly? I'll basically have to create a date/time part that allows for date input and join to that to filter past/future events?
Here's the link I mentioned