NetAssoBlog

200gr Web, a dash of marketing a hint of law ...
maxim

Calendar Plugin Flexicontent

June 14

skin-calendarflex

I developed a plugin we need for our Flexicontent that allows you to enter dates using a calendar. You will say that it exists already, but yes I have improved a little in principle to adding a few options.

I based the script for mootools Aeron .



Here are the possibilities of this new plugin:

  • Skinning system, you can use one of three existing skins or create your own.
  • Fully multilingual (currently available in French and English)
  • Ability to view calendars from January to September
  • Choice of display format and input (support "d, D, j, l, N, W, S, F, m, M, N, Y, y 'see php :: date () )
  • Managing the minimum number of days between two dates
  • List management of dates to constrain the input (list or SQL)
  • Constraint entry (date earlier or later)
  • Different navigation style
  • Ability to select the starting day of the week
  • ...

Download


A few screens and some explanations on the plugin Flexicontent Calendar:

Other styles:

Dashboard I-heart-ny
skin-dashboardi-heart-ny

Parameter List:

parametres

Number of calendar: Determines the number of calendar to display

Style: Select the style sheet to apply

Type: Select one of the standard types for entering dates

Custom type: You can create a custom input type. You can enter a date in several zones, each zone is either of type "select" or "input". In the case of an area "select", it is imperative that the custom list and be informed. The format of an area using the standard PHP :: date () . A type to be built with the following format:
type_zone1 format1 ::%% :: type_zone2 format2 ...
Example:
% input% ld :: select :: MY
full-language-support

Custom List: List of values ​​that can appear in areas "select" and which also indicates the input constraints. It is possible to use a list of date value format (Ymd) separated by commas. Or a SQL query that returns a list of dates.

Minimum days between two dates: Specifies the minimum number of days that there must be between two dates where we display multiple calendars.
multiple-calendar-select

Style Navigation: navigation mode selection during the course of the calendar month by month and year or no navigation possible. style-navigation

Selectable dates: Limit the selection of dates based on a past or future reference.

Custom selectable dates: Enter an integer value, positive or negative reference to determine the past or future which will limit the selection.

Start day: Determines the starting day of the week

Position (x, y): Tweak for repositioning the calendar display by changing the x and y axis.

Field separator: The character that separates the display of different areas. null = no characters.


Feel free to tell me about your experience with this plugin and any bugs you may encounter.


Category: Uncategorized

Comments

On 04/07/2010 at 21:54, nera said:

nera

it looks great! thanks so much for the plugin, love the skin : Star:

On 05/07/2010 at 16:58, Maxim said:

maxim

Thank's for your feeback ;)

On 14/07/2010 at 17:30, vlester said:

vlester

Hello,
I installed the plugin and then I created a field in which I attributed to a type but the calendar does not appear, it's just a field of type Text. : (
An idea?
Thank you!

On 15/07/2010 at 08:59, Maxim said:

maxim

That way no immediate idea ... can you tell me the parameters you've set up?

On 15/07/2010 at 13:02, vlester said:

vlester

I installed the plugin, have turned, have created a new field Calendar, I left all the defaults and I have set a type of articles.
Did I miss a step?
This is actually a good equivalent of the date field but with a date insertion easier?

On 15/07/2010 at 13:57, Maxim said:

maxim

The plugin works great when installed with the basic parameters. According to your description of things that should work perfectly.
Do you have conflicts Javascript on your page?

On 21/09/2010 at 16:46, Piperchick said:

Piperchick

Will this work with pre-1900 dates?

I have a history site and anything Before 1900 Does not show in FLEXIcontent. I Have Had a custom "This Day in History" Which does work unit built on pre-1900 dates in the Sami field.

On 21/09/2010 at 16:56, Maxim said:

maxim

Yes without problems, it Will Work with re-1900 dates.

On 26/10/2010 at 14:37, Steph said:

Steph

I am afraid to go too late, the link is dead! I have tested well with a date in 13 billion (bigbang), I'll get a plugin on numeric field with input mask and display
good day and cheers for the tutorials!
:)

On 27/10/2010 at 09:29 AM, Maxim said:

maxim

We had changed some time ago the platform for downloading and I forgot to update the link. This is corrected it is operational again.

On 02/11/2010 at 12:53, with-gn said:

with-gn

Hello,
I have exactly the same problems as Vlester.
Installation and configue impeccable but only shows a text field in the forms of articles!
Did you find a cause?
Javascript conflict?

On 10/12/2010 at 3:38, crickeur said:

crickeur

Hello, good evening
Months as I have the same concern for this pluging, it displays a text field.

On 10/12/2010 at 09:27, Maxim said:

maxim

Hello,
Probably because a conflict of JavaScript, use Firebug to get some more information.

On 13/12/2010 at 01:22, crickeur said:

crickeur

By opening and looking at the firebug console I have found this error

calendarflex is not defined

Line 57

If it helps ;)

On 13/12/2010 at 11:56, Maxim said:

maxim

Hello,
Indeed I have seen whence came the error, it was because relative paths. I corrected this anomaly and have made available the new package (version 1.01) in the download.

On 13/12/2010 at 19:47, crickeur said:

crickeur

thank you very much, I'm glad to be able to advance the schmilbkick ..... (L)

On 28/12/2010 at 18:33, Steph said:

Steph

Good evening, I was happy to discover the 1.1 or 3 error messages do not allow me to retain any entry through calendar.php:
Undefined variable: html line 121 ...
Undefined variable: tsValueCalendar line 212 ...
Undefined variable: dateValue line 216 ...

I understand that my field wants a value for work ... I also asked him to provide : D
I first emptied the caches Joomla and browser creates a new field test (time from the old???) scrupulously respected the tutorial (prefilled), no conflict javascript (I publish all content in flexible frontend ) ... my BackEnd remains with three lines in the header!?!?

Happy Holidays qd same : Drink:

On 28/12/2010 at 18:57, Maxim said:

maxim

Hello,
It appears that your setup is very restrictive because the mistakes you my returns reflect only variables that are not initialized.
What is your value in your php.ini to error_reporting?

On 28/12/2010 at 19:16, Steph said:

Steph

on the variable $ html line 121, by deleting the period (.) liaison, for now I remove the error message ... I will regret later pe ...?
on tsValueCalendar: mktime syntax is in order, I am php 5.2.9 and I try to give a value to dateValue live in the code ... no success
I waded short enough for tonight!
Good evening all the world

On 28/12/2010 at 19:18, Steph said:

Steph

:) Maxime goodnight, I did not know you connected at this time:
= On report_memleaks
; Report_zend_debug = 0

On 28/12/2010 at 19:20, Steph said:

Steph

error_reporting = E_ALL

On 28/12/2010 at 19:31, Steph said:

Steph

setting my PHP.ini seems no more classic, thank you you look at my question, I have to hang under the threat of my (L) wife (6) I wish you a happy holiday with your family, the web is only one facet of reality ... but I'll come back soon!
Steph

On 29/12/2010 at 09:50, Maxim said:

maxim

Version 1.02 available. I initialized the variables that seem problematic. Tell me if it gets better.

On 30/12/2010 at 19:04, Steph said:

Steph

there remains an error message: Notice: Undefined variable: tsValueCalendar on line 212 ...
-> The field does not save tjrs
-> I'm learning the way what "set variables"
-> Thank you

On 03/01/2011 at 10:06 AM, Maxim said:

maxim

Hello and happy new year in passing,
I corrected your mistake (which is not really a) line 212 -> version 1.03.
However I do not think it is because of this that the value does not save. At home everything works fine in different environment. Trying to see if you have no Javascript errors somewhere.

On 04/03/2011 at 15:39, Eric said:

Eric

Hello,

After downloading and installing without error, I perceive only the pluging with no settings loaded (I do not even visualize the parameter list).
I have not found the tutorial : S
Thank you for the help

Eric

On 04/03/2011 at 19:06, Maxim said:

maxim

Hi, I just think that would manage the params of the plugin via plugin management joomla. You just turn the level that has the. Then go FLEXIcontent, and add a calendar type fields ;) Here you have all params you are looking for ....

On 09/03/2011 at 21:05, Toposiguiste said:

Toposiguiste

"You just turn the level that has the. Then go FLEXIcontent ... "

Where is FLEXIcontent Admnistration in Joomla? After activating the plugin, FLEXIcontent not added to the list of components. 8)

Thank you

On 09/03/2011 at 22:12, Toposiguiste said:

Toposiguiste

It's good, had to be installed Flexicontent.

Unfortunately even after intsallation it does not work. There was an error Here is what happens:

Warning: Invalid argument Supplied for foreach () in ... \ components \ com_flexicontent \ helpers \ route.php on line 102

On 10/03/2011 at 12:53, Maxim said:

maxim

Hello,
Indeed our plugins only work for FLEXIcontent, it is imperative that it be installed.
Your error is probably due to a module or a plugin is not compatible with FLEXIcontent.
Also remember to update the links to your menus. For more support on FLEXIcontent I suggest you go on the forums.
http://www.flexicontent.org/forum/

On 23/05/2011 at 23:32, Oce said:

Oce

Hello,
Just a little way to say thank you for sharing this plugin.
] O)
By cons before download, The address is required field it really neccessary : S . Recess except if you want sent me a bottle of champagne ;)
Good luck : Star:: Star:: Star:: Star:

On 16/07/2011 at 10:05, mkolar said:

mkolar

Thanks for your plugin, it's really usefull! : Star:: Star:: Star:: Star:: Star:

The email will not be displayed

Example of website

Your comment:

| -)] O);): |: War:: Star:: S: Pizza:: Pig:: Phone:: P: Monk:: Listen:: Jail:: Idea:: Happy:: Halloween:: Haha:: Girl:: Ghost:: Drink:: D: Crazy:: Cold:: Cloudy:: @:): (: $8)(L)(A)(L)(6)