This topic is locked
[SOLVED]

 Multi-Select with Checkboxes Plugin

10/22/2013 2:33:56 AM
PHPRunner General questions
T
Tayyab Ilyas author

Hello,
I saw following link and found a very nice Multi-Select with Checkboxes Plugin, can we implement this in PHPRunner, if yes any guideline.
http://jsfiddle.net/MNqaT

C
cgphp 10/22/2013

You can build your own custom plugin following this tutorial http://xlinesoft.com/phprunner/docs/how_to_create_your_own_edit_control.htm

T
Tayyab Ilyas author 10/23/2013

Dear Cristian,
Thanks for the link. I have a question, if a jquery function requires :
jquery-ui.min.js

jquery-ui.css
Do i need to download these files also or i can use these files from phprunner files somewhere (as i think phprunner must be having these files somewhere)
In continuation of above question i am trying to work on this plugin to implement in PHPRunner
http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/#filter
Taking ideas from examples and multipleselect plugin i have tried to implement, its shows properly on add page but once its loaded one time it does not load again and page do not perform any task such as back to list or save etc and record is not saved.
Thanks you for your support.

Sergey Kornilov admin 10/23/2013

I'm not really sure what sort of help we can provide based on this info.

T
Tayyab Ilyas author 10/24/2013

Let me rephrase my first question:
If a plugin needs standard jquery files such as below, do i need to save these files in plugin directory (keeping structure) or are these files already exisit in PHPRunner somewhere so i can use that path:
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css"; />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>;

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js">;

[/code]
[font="arial, sans-serif"]

C
cgphp 10/24/2013

jQuery library is loaded by PHPrunner so you don't have to loaded it again. You have to include the jQuery UI library and the relative styles instead.