Closed (fixed)
Project:
Calendar Systems
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Feb 2010 at 09:07 UTC
Updated:
18 Aug 2013 at 08:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
sinasalek commentedComment #2
rezvani63 commentedTrying....
Comment #3
rezvani63 commentedComment #4
farshid commentedHi,
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
Comment #5
sourcesoft commentedLooks 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.
Comment #6
farshid commentedHi
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 ;)
Comment #7
sinasalek commentedMarked
Comment #8
sinasalek commented@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.
Comment #9
sinasalek commentedbasic implementation commited
Comment #10
ctyar commented@sinasalek
i fixed the custom date formats as i promised
Comment #11
sinasalek commentedThanks @shrgholami , commited
Comment #12
sinasalek commentedTagged
Comment #13
sinasalek commentedMoving to 3.x roadmap
Comment #14
sinasalek commentedViews date filter support implemented
Comment #15
sinasalek commentedOpening again, Contextual filter integration is not yet available
Comment #17
sinasalek commentedImplemented for both core date and date module's fields
Comment #18
sinasalek commentedComment #19
sinasalek commentedContextual filters has been implemented, there are some issue when using year or year-month which will be fixed in future versions