Open Source PHP RAD Framework with UI.

Easy support for JS embeding plugin

Reported by Greg on 2012-06-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Wishlist
Greg

Bug Description

They are more and more nice javascript addition for website. For example:

http://o2v.net/blog/jquery-formlabels-plugin
http://designwithpc.com/Plugins/ddSlick
...

These products are client-only and don't interfere with the framework inner working. Using them is usually easy but can be made easier by slightly altering the controller so we can write embedding plugin (such as we do for tinyMCE) that can automatically provide them to the pages.

Greg (gregfr) on 2012-06-30
Changed in phpdevshell:
importance: Undecided → Wishlist
assignee: nobody → Greg (gregfr)
Greg (gregfr) on 2012-07-04
Changed in phpdevshell:
status: New → In Progress
Greg (gregfr) wrote :

The idea is that neither the controller or the view should be bothered with the javascript code or path ; just add a line like this in the controller :

    $this->template->activatePlugin('ddSlick');

Creating such a plugin is really easy (just two files, config.xml and a class file).

At some point the library creators will probably want to maintain these plugin themselves ;)

Greg (gregfr) on 2012-07-04
Changed in phpdevshell:
status: In Progress → Fix Committed
Greg (gregfr) on 2012-07-27
Changed in phpdevshell:
milestone: none → 3.2.1-stable
Greg (gregfr) wrote :
Greg (gregfr) on 2013-06-09
Changed in phpdevshell:
milestone: 3.2.1-stable → 3.5
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers