CodeIgniter Forums
Modular Extensions - HMVC version 5.2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Modular Extensions - HMVC version 5.2 (/showthread.php?tid=8901)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


Modular Extensions - HMVC version 5.2 - El Forum - 08-25-2010

[eluser]AndyBC[/eluser]
I love ya, man!

(I have wired you a small contribution via http://wiredesignz.co.nz/)

Best regards
AndyBC


Modular Extensions - HMVC version 5.2 - El Forum - 08-26-2010

[eluser]wiredesignz[/eluser]
Thanks AndyBC, much appreciated.


Modular Extensions - HMVC version 5.2 - El Forum - 09-07-2010

[eluser]Unknown[/eluser]
In 5.3.3 and 5.3.3b4c7c40f085f don't load models. When load a module(1) that has a view in which is loaded another module(2) (modules::run()) that Modules.php returs (function find($file, $module, $base,)) name of the previous module $module="name 1 module".

In Modules.php, line 169 'libraires'.


Modular Extensions - HMVC version 5.2 - El Forum - 09-08-2010

[eluser]wiredesignz[/eluser]
Each controller has a separate loader ($this->load) which has it's own $_module variable. Every item is loaded using the $_module name first unless you specify to load from a different module.
Example:
Code:
$this->load->view('module_name/view_name');



Modular Extensions - HMVC version 5.2 - El Forum - 09-15-2010

[eluser]thiesdiggity[/eluser]
Any one know why I would be getting the following error on Ubuntu?

Code:
Fatal error: Class 'CI' not found in ..../application/libraries/Modules.php on line 87

What we are doing is calling a Controller function within a view.

It works on our dev Windows server but it does not on our production Ubuntu. Any insight would be greatly appreciated!


Modular Extensions - HMVC version 5.2 - El Forum - 09-15-2010

[eluser]thiesdiggity[/eluser]
Please disregard my last post. We had some old files in the library directory that was causing the problem.


Modular Extensions - HMVC version 5.2 - El Forum - 08-05-2011

[eluser]PermanaJ[/eluser]
I'm getting error when trying to autoload ion_auth library

application/config/autoload.php
Code:
$autoload['libraries'] = array('database', 'template', 'asset', 'ion_auth/ion_auth');

folder structure:
Code:
application/
  ...
  modules/
    ion_auth/
      ...
      config/
        ion_auth.php
      ...
    tester/
      controllers/
        tester.php

I try to var_dump($this->ion_auth) on tester.php and get error message:
Quote:The configuration file ion_auth.php does not exist.

Even if I manually $this->load->library('ion_auth/ion_auth') and remove the autoload, It still error. How to solve this?

I download codeigniter from link on codeigniter.com and download Modular Extension from bitbucket