Source language: Translate to:

Date Picker Plugin

Questions, announcements and information regarding PlugIns for NeoAppBuilder

Moderator: Neosoft Support

Date Picker Plugin

Postby luishp » Thu Jan 07, 2016 1:22 pm

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!
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 357
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Date Picker Plugin

Postby HPW » Thu Jan 07, 2016 11:10 pm

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
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Date Picker Plugin

Postby Neosoft Support » Mon Jan 11, 2016 8:19 pm

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
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Date Picker Plugin

Postby luishp » Tue Jan 12, 2016 1:48 am

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.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 357
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Date Picker Plugin

Postby anton » Sun Jan 17, 2016 10:19 am

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.
User avatar
anton
 
Posts: 51
Joined: Fri Oct 19, 2012 9:21 pm


Return to NeoAppBuilder PlugIns

Who is online

Users browsing this forum: No registered users and 1 guest