Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9022471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:31:07+00:00 2026-06-16T05:31:07+00:00

My CI2 app is using the wiredesigns modular layout. I have a two modules

  • 0

My CI2 app is using the wiredesigns modular layout.

I have a two modules called item and product in a a folder called modules like so:

/application
    /modules
        /item
        /product

In Item I have a controller called item which starts like this.

class Item extends MX_Controller
{
    //code here
}

What do I need to do to make my products controller extend my item controller in a different module

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:31:08+00:00Added an answer on June 16, 2026 at 5:31 am

    My guess is you are trying to keep your code “DRY” (http://en.wikipedia.org/wiki/Don't_repeat_yourself) which in CI means using a common controller like a My_Controller (see: http://ellislab.com/codeigniter/user-guide/general/core_classes.html).

    Check out Phil Sturgeon’s take: http://philsturgeon.co.uk/blog/2010/02/CodeIgniter-Base-Classes-Keeping-it-DRY.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Codeigniter 1.7.2 and HMVC (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home). I have these files and they
I'm developing a php application using CodeIgniter2, this application resides in: /public_html/community/ -application -system
I am building an application using the latest copy of Codeigniter 2.0. My application
I have a block of code I'd like to put in my CI 2.x
Using CI 2.1.1 and the native Cart library If I insert an item (with
I have a blog-type app built on CI 2.1.0. When I add $this->output->cache(5); to
I have created custom build tasks in my project file to run my nUnit
I am currently dealing with globalization in my app. Part of it is working
How do you set up CI2 to allow extending of multiple models? I can
I have following type of data, means combination of factors P1 <- c(a, a,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.