Comments

sinasalek’s picture

Status: Active » Postponed
rezvani63’s picture

Assigned: sinasalek » rezvani63
Status: Postponed » Active

Trying....

rezvani63’s picture

Assigned: rezvani63 » Unassigned
farshid’s picture

StatusFileSize
new14.22 KB

Hi,

This is a work in progress... most of the code is borrowed from the fabulous-complicated date module, so maybe it is not efficient/good designed/...

any way, I have added support to date widgets for CCK date fields, limited though it works some how.... + views intgration both in this so called module ;)

INSTRUCTIONS:

FOR CCK DATE FIELD:
after install go to some content types and add a new date field. select "Select List Calendar System Extras" for the widget this is like select widget but using the calendar systems date for the dropdowns. in my tests and development I have used "Y/m/d" for the "Custom input format" choose calendar systems extras for: "Default Display" and you should be good to go.

FOR VIEWS:
you could build a node view, add the field you have added in previous step and then select a custom format for display... like: "l d F , Y" to make sure things are working just fine... you can also select other date fields like node creation/modification fields.

I have packed things in a module called calendar_systems_extras attached to this post. Thats it for now, we need to make the code better some how... it is too dirty... and yet there is no support for filtering in views and also using arguments....

Please let me know if you are able to use this and any problems .... of course :)

have a nice coding...
Farshid Pourlatifi

sourcesoft’s picture

Looks good mate :) compared to http://drupal.org/node/838676 most of the job is done here.
It's still got some dirty coding but seems to be working now. Sandbox this so we can be updated and see you flying around pushing.

farshid’s picture

Hi

There is much to do and so little time, fortunately I need this on my projects and sooner or latter I should spend some time on it.
any way looking into future ;)

sinasalek’s picture

Issue tags: +6.x-1.6 roadmap

Marked

sinasalek’s picture

@farshid did u sandbox it? i'm going to include this in the upcoming release, if you improved it i appreciat it if you send me the latest version.

sinasalek’s picture

basic implementation commited

ctyar’s picture

@sinasalek
i fixed the custom date formats as i promised

sinasalek’s picture

Thanks @shrgholami , commited

sinasalek’s picture

Tagged

sinasalek’s picture

Moving to 3.x roadmap

sinasalek’s picture

Status: Active » Fixed

Views date filter support implemented

sinasalek’s picture

Opening again, Contextual filter integration is not yet available

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sinasalek’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Implemented for both core date and date module's fields

sinasalek’s picture

Status: Closed (fixed) » Postponed
Issue tags: +Roadmap
sinasalek’s picture

Status: Postponed » Closed (fixed)

Contextual filters has been implemented, there are some issue when using year or year-month which will be fixed in future versions