The HMVC (Hierarchical-Model-View-Controller) pattern decomposes the client tier into a hierarchy of parent-child MVC (Model-View-Controller) layers.
Questions tagged [hmvc]
426 questions
0
votes
1 answer
Codeigniter HMVC MY_Form_validation from library
Whatever I do I cant seem to use the dob function in my MY_Form_validation... please note the _register_verify is inside my User library, and not a controller, so I'm using $CI and not $this...

Jimmy Howe
- 185
- 1
- 1
- 13
0
votes
2 answers
How to pass two or more parameters while calling a module in codeigniter HMVC (MX)
I'm using HMVC Modular Extension for CodeIgniter https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home .
call it inside your SITE view easily
Modules::run('modulename/controller/method')
We can pass single parameter…

Mansoorkhan Cherupuzha
- 1,761
- 1
- 24
- 45
0
votes
1 answer
Access JavaScript functions from scripts loaded from ajax
I have a project in PHP using CodeIgniter in an HMVC approach.
Now, I run into a problem where I'm really confused what to do next.
Here's my situation:
I have a view which looks like this:
//logs_v_month.php

Bryan CS
- 601
- 6
- 19
0
votes
1 answer
Using Module Views
I'm using the HMVC modular separation for my Codeigniter application and trying to figure out how I can attempt this with my template I have set up. There could possibly be a better way to handle this and I'm not sure of it but if anyone can suggest…

Kevin Smith
- 731
- 2
- 7
- 21
0
votes
1 answer
Modular Separation
I'm using the HMVC modular separation for my Codeigniter application and trying to figure out how I can attempt this with my template I have set up. There could possibly be a better way to handle this and I'm not sure of it but if anyone can suggest…

Kevin Smith
- 731
- 2
- 7
- 21
0
votes
2 answers
Protecting HMVC modules from users not logged in
I'm developing a website using HMVC patterns and CodeIgniter.
I have some modules which should never be accessable if a user is not logged in.
When a user logs in, it sets a session is_logged_in
Now, I tried this code and it seems to work as it…

Patrick Reck
- 11,246
- 11
- 53
- 86
0
votes
2 answers
Locating a View File in An HMVC approach
I am using codeigniter for my application and developing with HMVC approach with the added package here:
https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc
I have a custom template I created for my views and in my content view…

Kevin Smith
- 731
- 2
- 7
- 21
0
votes
2 answers
Codeigniter module in localhost
I have setup virtualhost on my local machine at home.
I have created a codeigniter setup, which has modules. The main index.php page works, but when I try to get to my module it is not found.
So this works: local.mysite, but this doesn't: …

Becs Carter
- 1,250
- 1
- 12
- 27
0
votes
2 answers
CodeIgniter HMVC user specific module structure
Im using CI-HMVC stock.
Id like to have a module structure like this:
application
modules
userabc
moduleA
controllers
models
views
moduleB
...
…

Chris Jackson
- 718
- 1
- 6
- 14
0
votes
1 answer
How does a view at HMVC output its data?
I'm currently reading a lot about HMVC and try to learn it. Haven't used it so far because I'd like to understand it before I'm trying to code something (I wanna try to make a lil mini framework just to understand everything before I use some big…

gobnepla
- 644
- 1
- 5
- 16
0
votes
1 answer
Finding the best template library with CI HMVC
I recently moved to HMVC structure in my project, and I want to find the best solution for template library.
I have the latest version of CI (2.1.3) and HMVC (5.4)
I'm looking for template library, which:
support HMVC structure
have active…

Max
- 664
- 1
- 6
- 19
0
votes
1 answer
How to route all module of HMVC to single controller CI
i use HMVC with CI last version andi want to route all module of HMVC to a controller CI
If i use
$route[‘admin/(:any)’] = “admin/”;
$route[’(:any)’] = “index/index/$1”;
$route[’(:any)/(:any)’] = “index/index/$1/$2”;
$route[’(:any)/(:any)/(:any)’]…

amic
- 85
- 7
0
votes
1 answer
CodeIgniter load controller within a controller HMVC
I'm using http://github.com/philsturgeon/codeigniter-template/ for the templates
and I trying to load other controller view to actual view as a partial.
My main problem is that I cant append meta data (javascripts, css) from other controller to the…

FDisk
- 8,493
- 2
- 47
- 52
0
votes
1 answer
Codeigniter HMVC Modular Error
I'm new to CI + MX and I tried the Modules::run(); style but I can't seem to let it work.
Here's my directory…

Bryan CS
- 601
- 6
- 19
0
votes
2 answers
rout the admin controllers in with HMVC
i have a problem with HMVC
i have admin controller in all my modules like this
- modules
- users
- controllers
- admin.php
- users.php
- views
- admin_create_user.php
- admin_view_users.php
…

Ahmed
- 558
- 1
- 4
- 22