Questions tagged [codeigniter-hmvc]

CodeIgniter library for creating modular extensions.

CodeIgniter library for creating modular extensions.

125 questions
1
vote
2 answers

how to access more than 2 controllers data into a single controller in codeIgniter

I am stucking in a code .I have 5 different Controllers page in admin folder like controller_A.php ,controller_B.php ,controller_C.php ,controller_D.php ,controller_E.php , Now I want to access method or function of 4 controller A ,B ,C ,D into…
Maneesh Sharma
  • 63
  • 1
  • 12
1
vote
0 answers

code igniter HMVC + REST setup

i have already set up a HMVC (i learned my setup from https://www.youtube.com/channel/UCkzjsv1ymTmdGpWTtZ7nM5A/videos ) and using it on my program. but i need it to re-code it into a RESTful type. i have a MY_Controller.php file
kev_m
  • 325
  • 7
  • 30
1
vote
1 answer

CodeIgniter 3.0.6 and WireDesignz HMVC - Call to a member function on null

I have CodeIgniter 3.0.6 running with WireDesignz HMVC. When running modules::load('page/com_Page')->_GetPage(); I get online a Call to a member function _GetPage() on null But locally it is working. The directory structure is as…
PostMans
  • 338
  • 5
  • 18
1
vote
0 answers

How to route URIs to application/controllers & still use Module::run in CI3 with HMVC

I only use the modules for partial views, they are never routed to directly. Instead I have main controllers inside application/controllers and views inside application/views/ which execute Modules::run($moduleName, $params); This invokes the module…
E.A.T
  • 848
  • 11
  • 24
1
vote
1 answer

Use controller from another controller CodeIgniter and HMVC

I want to load a function from another controller. This is my structure: - modules --orderpages ---controllers ----WebshopCore.php ----WebshopController.php My function insertItemInCart in WebshopController.php is called. But when i want to execute…
da1lbi3
  • 4,369
  • 6
  • 31
  • 65
1
vote
1 answer

Modules::run() throwing error: "Unable to locate the specified class: Session.php"

I am using CodeIgniter 3 with wiredesignz HMVC. I have a controller that renders a view. If I call Modules::run('OtherModule/Controller/Action) from within that view, it shows the following message at the bottom: Unable to locate the specified…
Gentle153
  • 327
  • 2
  • 5
  • 15
1
vote
2 answers

hmvc Message: Undefined property: CI::$Templates code igniter

Hi am watching this video https://www.youtube.com/watch?v=DS0GeknUkds for setting up my hmvc templates. i am already trying to call other modules but i got the error Severity: Notice Message: Undefined property: CI::$Templates Filename:…
kev_m
  • 325
  • 7
  • 30
1
vote
1 answer

code igniter hmvc templates not working

I have this templates folder in my new hmvc project that I am setting up. For my controllers Template.php codes
kev_m
  • 325
  • 7
  • 30
1
vote
2 answers

Codeigniter calendar how to get multiple events per day

I am currently working on codeIgniter 3 calendar library where I can add new rows of information to database on each day of the month If a day has 2 rows that are inserted I should be able to see the two calendar events on that day. 2015-12-25 has…
user4419336
1
vote
1 answer

Codeigniter & HMVC Calendar Not Inserting Correct Date?

I am using the CodeIgniter Calendar class and I can click on any day and enter text, but when I click on date in January 2016 and the insert data it does not enter the correct date. It inserts 2015-12-01 and should insert date 2016-1-1 Just can not…
user4419336
1
vote
1 answer

Codeigniter 3 HMVC wiredesignz showing 404 error

I downloaded HMVC files from here and set up my CI 3 installation using these file Place the MX folder in application/third_party folder Place the files in application/core MY_Loader & MY_Router $config['modules_locations'] =…
Maneesh M S
  • 332
  • 1
  • 4
  • 20
1
vote
1 answer

During HMVC installation an error occurred, how to remove?

I am new to codeigniter HMVC structure, following this link for installation. https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src Have performed all steps but when reached on step 12 it shows error. Steps: Start with a clean…
Imran Qamer
  • 2,253
  • 3
  • 29
  • 52
1
vote
1 answer

Access sub folder of module in HMVC Codeigniter

I have a sub folder for uploads in my module. I am using HMVC extension for codeigniter. The structure of my application is following: modules --mymodule ----/controllers ----/models ----/views ----/uploads -------/images How can I access the images…
1
vote
0 answers

codeigniter HMVC + Smarty: can we call module view routine from template

Just started using HMVC module extension and Smarty with Codeigniter. In HMVC, we can call module functions from a view to generate a specific view (in my case a modal dialog for login in case user is not logged in):
pankaj
  • 1,316
  • 3
  • 16
  • 27
1
vote
4 answers

How to get function return array single line ? Below my code

Class: class profile_setting extends MY_Controller { public function __construct() { parent::__construct(); } public function index() { echo $this->table()->breadcrump; } public function table(){ …
Yes Kay Selva
  • 584
  • 4
  • 14
1 2
3
8 9