Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: different minicals on main view and date input fields

different minicals on main view and date input fields 15 years 2 months ago #44

  • vhollo
  • vhollo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Clicking the calendar's date-select minical calls the SSMinical() function which resists in Web2Cal-1.2-min.js. This function uses options set in web2cal.support.js, like language settings and Web2CalConstants.START_OF_WEEK variable.

(By the way, what Web2CalConstants.USE_BASE_FOR_POPUP variable is for? It's not in the docs.)

Date-selector minical on the New Event form calls a different function which resists in dateselector.js. Using the same css-classes it looks the same, but this function doesn't use the language- and other settings SSMinical() does, set in the file web2cal.support.js, and thus it's not customizable the same way.

My idea was to call SSMinical() instead of DatePicker() in setupNewEvt() function to make things coherent and easily customizable.

Please Log in to join the conversation.

Last edit: by vhollo.

Re:different minicals on main view and date input fields 15 years 2 months ago #45

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
SSMinical is a part of web2cal. Where as dateselector is a 3rd party date util.
You can check eyecon.ro. SSMinical was meant to be used within web2cal. dateselector package was used in examples. However, we modified the CSS so they look alike. You can use any external date package. Not limited to dateselector.js. Style it in any fashion.

BTW, Web2CalConstants.USE_BASE_FOR_POPUP is not very commonly used and not tested feature. When the new event form is shown as popup, setting Web2CalConstants.USE_BASE_FOR_POPUP=true, will mask only the calendar and not the whole page. Please note, this feature is not tested and it is missing documentation. There are no plans of supporting it in the near future unless people need it.


Does this help?

Please Log in to join the conversation.


Team Web2Cal.

Re:different minicals on main view and date input fields 15 years 2 months ago #46

  • vhollo
  • vhollo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
No, it doesn't.
After I got my minical customized on the main page, I want to use the same minical on the New Event form.
Will you implement it or not?

Please Log in to join the conversation.

Re:different minicals on main view and date input fields 15 years 2 months ago #47

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
What kind of customizations?

Please Log in to join the conversation.


Team Web2Cal.

Re:different minicals on main view and date input fields 15 years 2 months ago #48

  • vhollo
  • vhollo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
SSMinical gets language-customization and the starting day of the week from the file web2cal.support.js.
Nothing more than that I wish to have in the New Event form's start/end date minical.

Please Log in to join the conversation.

Re:different minicals on main view and date input fields 15 years 2 months ago #49

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Ok, Now I understand. Currently our priorities are to deal with web2cal. Eventually, we may extend SSMinical to behave more like traditional date pickers. For Now, you can customize dateselector or there are many packages which support multi-language and start of week.

Apologize for the inconvenience

vhollo wrote:

SSMinical gets language-customization and the starting day of the week from the file web2cal.support.js.
Nothing more than that I wish to have in the New Event form's start/end date minical.

Please Log in to join the conversation.


Team Web2Cal.
  • Page:
  • 1
Time to create page: 0.072 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US