Questions tagged [hmvc]

The HMVC (Hierarchical-Model-View-Controller) pattern decomposes the client tier into a hierarchy of parent-child MVC (Model-View-Controller) layers.

426 questions
0
votes
1 answer

Accessing SilverStripe custom config variable from controller that extends page

Basically everything works if I hard code the URL in my Ajax_Controller, but I want it to access the URL from the CMS field I created. Thanks in advance. (please ignore when I don't close my braces - just trying to copy / paste efficiently) In…
strantheman
  • 151
  • 1
  • 11
0
votes
1 answer

hmvc, modular seperation, modular extension, concept clarification

I've been reading about modules for codeigniter for quite a while and have decided to dive into it. I've gotten the basic concept, each module is a seperate "MVC", hence ease in maintaining, adding, etc, but need a little help understanding proper…
Ahmed-Anas
  • 5,471
  • 9
  • 50
  • 72
0
votes
1 answer

Can I extend the core helpers within a package in Code Igniter?

I'm building my own base to use on multiple sites that I will be building. And I've made a package for that. But I want to extend the CI helpers in that package (not in the app) - helpers such as url_helper, html_helper etc. I've put a config folder…
Ciprian Mocanu
  • 2,166
  • 3
  • 25
  • 44
0
votes
1 answer

Drivers vs Controllers (MVC)

I am working with Codeignitor 2.x and I was originally using controllers as modules (though not completely HMVC), in that I had a Top Level controller that would call other lower level controllers. My thinking was that because these lower level…
BayssMekanique
  • 894
  • 1
  • 14
  • 27
0
votes
1 answer

Module specific routing using hmvc in code igniter?

I am using Code igniter with HMVC, We are creating drop-in modules. One thing I am a bit stuck on though is the routing. I can add $route['gallery/categories'] = 'gallery/categorieseditor'; $route['gallery/categories/(:any)] =…
Hailwood
  • 89,623
  • 107
  • 270
  • 423
0
votes
1 answer

Getting 404 using Codeigniter 2.1 - HMVC 5.4

This is my first hmvc attempt and it's going wrong... I'm trying to separate my site zones through different modules. My intention then is control the access using ion_auth for hmvc. Thats my initial structure: /application /modules <-- hmvc …
Courier
  • 63
  • 1
  • 10
0
votes
1 answer

Codeigniter & HMVC Controller Structure for 3rd degree Controllers

I'm using HMVC extension on Codeigniter. My problem is mostly about url structure and don't want to make routing. HMVC works with: /modules /manage /controllers /language language.php on this URL:…
ActuallyMAB
  • 224
  • 1
  • 10
0
votes
1 answer

Using append_metadata() method in a module controller

I use Modular Extensions HMVC and Template library by Phil Sturgeon. How can I use $this->template in a module's controller. I want to load some module's javascript files in the head of the html layout with the append_metadata() method. An example…
0
votes
1 answer

How to create a search widget module for CodeIgniter using HMVC Modular Extensions

Can someone give me a best approach in using HMVC Modular Extension in CodeIgniter. I like my modules to be stand alone like a plugin. so my modules have its own controller,model,view and libraries,config etc.. So when I want to reuse the module in…
John Kenn
  • 1,607
  • 2
  • 18
  • 31
0
votes
2 answers

How can I use "HMVC" in kohana phpframework?

I have a project want to use kohana framework, and the composition of this project like: test1 (this is one module in my project)     classes         controller         model     views test2 (this is the other module in my…
Liuxds
  • 15
  • 4
0
votes
1 answer

Using callback function in custom authentication library in codeigniter HMVC architecture

I am developing an application using codeigniter HMVC architecture. I am pretty new to HMVC and have just started to explore it. Recently I began to transform my code into HMVC from MVC in codeigniter. I have developed a custom authentication…
SanksR
  • 5
  • 2
0
votes
1 answer

In HMVC how to send model change event to multiple views?

I can see several ways of doing this. Have a reference to a single controller in the model. Model sends event to this controller and other controllers get to know it through the hierarchy and passes on to views Have all interested controllers be…
Can't Tell
  • 12,714
  • 9
  • 63
  • 91
0
votes
2 answers

how to check controller name before it loaded?

I am working on a task in which I have used HMVC. In it I have to check each controller name and compare it with database value before it loaded every time. Is there any way to accomplish this task.
Jaydeepsinh Jadeja
  • 391
  • 2
  • 10
  • 20
0
votes
1 answer

do events in a database using codeigniter

I am trying to send an activation link to given mail, if user clicks that activation link in his mail then his account is activated , this much I have done successfully.. I am doing this thing by setting a flag initially in the database to 0 if the…
avinashse
  • 1,440
  • 4
  • 30
  • 55
0
votes
1 answer

Creating Forms using HMVC codeigniter

I am trying to create a form using HMVC in codeigniter but it is showing Fatal error: Call to undefined function form_open() error I included Controller.php , Modules.php and MY_Router.php in application/library folder, again it is showing error..…
avinashse
  • 1,440
  • 4
  • 30
  • 55