Welcome Guest, Not a member yet? Register   Sign In
Matchbox nested modules
#1

[eluser]Tomasz OleĊ›[/eluser]
Hi,

I installed Matchbox library and it works fine, what I want to ask is that if anyone have used the library with nested modules or if it is even possible ? What I would like to achieve is something like this:

Code:
modules (1)
  - module_1 (2)
    - controllers (3)
    - models (3)
    - views (3)
    - module_1_1 (3)
       - controllers (4)
       - models (4)
       - views (4)

    ....

Any help is welcome Smile

Best regards,
Tom
#2

[eluser]esra[/eluser]
Not with that directory structure using the standard file distribution, but you should be able to do this:

Code:
modules (1)
  - module_1 (2)
    - controllers (3)
      - module_1_1 (4)
    - models (3)
      - module_1_1 (4)
    - views (3)
      - module_1_1 (4)

To use the above, the subdirectory under controllers/ needs to be included in the url after the module name.

An alternate solution is to modify Matchbox's Loader.php to support your requirements.




Theme © iAndrew 2016 - Forum software by © MyBB