Page 1 of 1

Date Picker Plugin

PostPosted: Thu Jan 07, 2016 1:22 pm
by luishp
This plugin converts any Text Input object in a fancy Date Picker

Sample App:
http://sinlios.com/neoappbuilder/plugins/datepicker

I do not share the plugin yet as it needs some images to work properly. Currently the Plugin Generator does not offer a way to package them.
When running the App, the folder to store images is different than in the compiled publication. This makes quite impossible for the plugin to work fine in both scenarios right now.
Please NeoSoftware, be aware of this problem as it limits a lot the Plugin Generator possibilities.

Thanks!

Re: Date Picker Plugin

PostPosted: Thu Jan 07, 2016 11:10 pm
by HPW
Hello,

Nice one!

One thing: On a IE8 (non HTML5) nothing appears. Is there a way to display: Sorry, you are using a inkompatibel browser

Regards

Re: Date Picker Plugin

PostPosted: Mon Jan 11, 2016 8:19 pm
by Neosoft Support
When running the App, the folder to store images is different than in the compiled publication. This makes quite impossible for the plugin to work fine in both scenarios right now.


I'm not sure the best way to deal with that. Where does the library you're using want the images to be stored?

One thing: On a IE8 (non HTML5) nothing appears. Is there a way to display: Sorry, you are using a inkompatibel browser


There are lots of things that won't display correctly in IE8. However, there are ways to detect the browser in JavaScript:

http://stackoverflow.com/questions/2400935/browser-detection-in-javascript

Re: Date Picker Plugin

PostPosted: Tue Jan 12, 2016 1:48 am
by luishp
I'm not sure the best way to deal with that. Where does the library you're using want the images to be stored?


The paths differs a lot from one library to another, but I can edit them to point to the correct path.
Right now there is not a path to point to when testing the app. Only when compiled.
I think the best solution would be to have a new tab in Plugin Creator to add complete folders.
That folders and any subfolder within should be added to the App root, no matter what file types are inside.

This way it is possible to create quite more complex Plugins loading all kind of assets at run time and even calling PHP funtions.

Regards.

Re: Date Picker Plugin

PostPosted: Sun Jan 17, 2016 10:19 am
by anton
luishp wrote:
This way it is possible to create quite more complex Plugins loading all kind of assets at run time and even calling PHP funtions.
Regards.

I absolutely agree with luishp. Adding plug-in files of different formats would be just fine. I'm working on plug-in works with php functions. To be able to work with MySQL.

Still I would like to make a few suggestions about Plugin Generator:

1. Add fields to specify a separate version of the plugin.
2. Add the ability to specify what applications can be used plugin.
Some plug-ins can be interpreted in functional web application, and not be able to operate on mobile platforms, etc.
3. In the "Define Parameters" to add another type of field to COLOR in NeoAppBuilder user has a choice of color.
4. In the "Define Parameters" to realize the possibility of creating a field of view - Combobox, with its values.
Thereby simplifying the users work with the plugin.
5. Create a button duplication with all parameters. Sometimes, the syntax is very similar, and it would be convenient.