widget with CI loader |
[eluser]umefarooq[/eluser]
if we can load libraries, helper with CI loader why not widget with CI loader, so i played little with library function of CI loader and create widget function now you can load widget same as library, helper or view Code: $this->load->widget('widget_name'); widget will return output you can print in you main layouts. check out attachment, need some comments from CI community. Edited Modular widgets Modular widgets will work with modular separation(HMVC) just you have to create widgets folder in module folder widget will be call in same way, now you can access model and views of same module with CI loader no need to create view or model folder in widgets with old version guys please find widgets on this link widget with CI loader |
Messages In This Thread |
widget with CI loader - by El Forum - 07-19-2010, 01:12 PM
widget with CI loader - by El Forum - 07-19-2010, 08:42 PM
widget with CI loader - by El Forum - 07-20-2010, 10:40 AM
widget with CI loader - by El Forum - 07-30-2010, 01:50 PM
widget with CI loader - by El Forum - 07-30-2010, 04:48 PM
widget with CI loader - by El Forum - 09-01-2010, 07:23 PM
widget with CI loader - by El Forum - 09-02-2010, 03:49 AM
widget with CI loader - by El Forum - 09-27-2010, 02:50 AM
widget with CI loader - by El Forum - 09-27-2010, 03:31 AM
widget with CI loader - by El Forum - 10-28-2010, 08:28 PM
widget with CI loader - by El Forum - 10-29-2010, 12:46 PM
widget with CI loader - by El Forum - 10-29-2010, 02:08 PM
widget with CI loader - by El Forum - 10-30-2010, 10:30 AM
widget with CI loader - by El Forum - 10-31-2010, 08:27 PM
widget with CI loader - by El Forum - 10-31-2010, 11:18 PM
widget with CI loader - by El Forum - 11-08-2010, 05:02 AM
widget with CI loader - by El Forum - 11-09-2010, 10:12 PM
widget with CI loader - by El Forum - 11-10-2010, 05:19 AM
widget with CI loader - by El Forum - 01-18-2011, 05:35 AM
widget with CI loader - by El Forum - 01-23-2011, 08:29 AM
widget with CI loader - by El Forum - 01-24-2011, 03:28 AM
|