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…
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
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…
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…
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…
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…
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:…
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…
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…
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'] =…
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…
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…
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):
Class:
class profile_setting extends MY_Controller {
public function __construct()
{
parent::__construct();
}
public function index()
{
echo $this->table()->breadcrump;
}
public function table(){
…