Add Global Switch
Gman - September 25, 2007 - 18:43
| Project: | Hovertips and Clicktips |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Adding an Admin setting to globally turn on or off the inclusion of the js/css. Since many pages may not use the hovertip functionality, it would be good to turn off the extra includes and call '_hovertip_init()' from inside the theme or other custom code. Very simple update but will allow better performance on pages without hovertip, if the dev uses '_hovertip_init()'.
| Attachment | Size |
|---|---|
| hovertip_global_switch.patch | 1.02 KB |

#1
super! this is a much welcome addition. thanks :)