[3.2][RC] JQuery UI Datepicker (helper ext)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
martti
Registered User
Posts: 855
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

[3.2][RC] JQuery UI Datepicker (helper ext)

Post by martti »

Extension Name: JQuery UI Datepicker (helper ext)
Author: martti
Extension Description:
This phpBB extension provides loading of the JQuery UI Datepicker for use by other extensions.
Extension Version: 0.2.0
Requirements: PhpBB 3.2.1+ PHP 7.1+
Extension Download: https://github.com/marttiphpbb/phpbb-ex ... master.zip The files are to be put in ext/marttiphpbb/jqueryuidatepicker
Github repository: https://github.com/marttiphpbb/phpbb-ex ... datepicker
Languages: en (ACP only) The translation of the datepicker widget is provided by JQuery UI. See the available translations.

Templates: all
Screenshots:

ACP:

Image

Image

Other theme and translation (Dutch):

Image

How to use (for extension developers):

In your controller:

Code: Select all

$ext_manager = $phpbb_container->get('ext.manager');

if ($ext_manager->is_enabled('marttiphpbb/jqueryuidatepicker'))
{
    $listener = $phpbb_container->get('marttiphpbb.jqueryuidatepicker.listener');
    $listener->enable();
}
Last edited by martti on Wed Sep 12, 2018 10:27 am, edited 2 times in total.
User avatar
martti
Registered User
Posts: 855
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] JQuery UI Datepicker (helper ext)

Post by martti »

martti wrote:
Thu Jul 19, 2018 5:28 am
How to use (for extension developers):

In your controller:

Code: Select all

$ext_manager = $phpbb_container->get('ext.manager');

if ($ext_manager->is_enabled('marttiphpbb/jqueryuidatepicker'))
{
    $listener = $phpbb_container->get('marttiphpbb.jqueryuidatepicker.listener');
    $listener->enable();
}
This code will load the files for the datepicker. The javascript part you still have to do yourself.

The purpose of this extension:
  • Not pollute your own extension with dependency software For maintainability, focus, clarity and flexibility it is better to containerize code (In the case of phpBB: small extensions that focus on doing one thing).
  • Provide configuration for the style of the datepicker
  • Automatically load a translation file for the datepicker in case the user language is not English.
DHiort
Registered User
Posts: 6
Joined: Thu Feb 26, 2015 6:56 am

Re: [3.2][RC] JQuery UI Datepicker (helper ext)

Post by DHiort »

Hello,

I may be stupid here but I cant find a way to add events to the calendar :(
I installed the following:

Calendar Mono 0.5.0
Calendar Mono Input 0.6.0
Calendar Month View 0.8.0
Menu Items
User avatar
ViolaF
Registered User
Posts: 1517
Joined: Tue Aug 14, 2012 11:52 pm

Re: [3.2][RC] JQuery UI Datepicker (helper ext)

Post by ViolaF »

it seems you're "out of topic"

search.php?keywords=calendar&fid%5B0%5D=456
User avatar
martti
Registered User
Posts: 855
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] JQuery UI Datepicker (helper ext)

Post by martti »

DHiort wrote:
Sat Feb 08, 2020 4:29 pm
Hello,

I may be stupid here but I cant find a way to add events to the calendar :(
I installed the following:

Calendar Mono 0.5.0
Calendar Mono Input 0.6.0
Calendar Month View 0.8.0
Menu Items
It is a bit off-topic here because this extenstion is only a helper extension for the other extensions of the Calendar Set.

See here an overview of all the extensions needed for a basic calendar.

Then configure in the ACP the calendar extension settings under the "Extensions" tab. Most defaults are probably ok but you must select at least one forum in "Calendar Mono Input" to be able to make topics "calendar events".
Post Reply

Return to “Extensions in Development”