Easy support for JS embeding plugin

Bug #1019586 reported by Greg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Committed
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)
Changed in phpdevshell:
importance: Undecided → Wishlist
assignee: nobody → Greg (gregfr)
Greg (gregfr)
Changed in phpdevshell:
status: New → In Progress
Revision history for this message
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)
Changed in phpdevshell:
status: In Progress → Fix Committed
Greg (gregfr)
Changed in phpdevshell:
milestone: none → 3.2.1-stable
Revision history for this message
Greg (gregfr) wrote :
Greg (gregfr)
Changed in phpdevshell:
milestone: 3.2.1-stable → 3.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.