Welcome Guest, Not a member yet? Register   Sign In
Views Within Modules
#3

Okay, what I was working with was a framework someone said they had working on GitHub so I started over with a new project.

I followed the instructions here to create a module: https://codeigniter.com/user_guide/general/modules.html

The only difference with my project is I have a users module instead of "acme" and I don't have something like "Blog" underneath my users module, it just goes straight into the controllers, models, views, etc.

The documentation says the structure of the module should be nearly identical to that of the app folder, which is fine, but it doesn't specify how to get those files created. Do I just copy them from the app folder and away I go?

I've tried that, but it doesn't quite work.

I'm just trying to get modules set up with their own controllers and view folders and nothing seems to work.
Reply


Messages In This Thread
Views Within Modules - by rmartin93 - 03-18-2021, 12:31 PM
RE: Views Within Modules - by iRedds - 03-18-2021, 06:04 PM
RE: Views Within Modules - by rmartin93 - 03-19-2021, 07:10 AM
RE: Views Within Modules - by rmartin93 - 03-19-2021, 07:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB