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 8577533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:10:52+00:00 2026-06-11T20:10:52+00:00

How to add extensions that developed as modules in yii? can any one explain

  • 0

How to add extensions that developed as modules in yii?
can any one explain extensions as Yii modules and extensions as Yii behavior

Refer

  • 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-11T20:10:54+00:00Added an answer on June 11, 2026 at 8:10 pm

    The first part of your Q is a duplicate with this q: https://stackoverflow.com/questions/12008314/modules-in-yii-explain

    regarding the “How to Use Modules” part. Modules are may be the easiest way there to extend yii, since all you need to do is two tiny steps:

    1. Extract the code under base directory /protected/modules.
    2. Declare the used module in the application configuration:
    return array(
      ...
      'module' => ('moduleName', 'some argument', 'another argument'),
      ...
    );
    

    I haighly recommend taking a look at the docs above then User-Module (as code sample) to get a better understanding to yii modules.

    As for “Extending Yii by Behaviors“, i have been confused myself for a while about that, until i had a chance to use the Multi-Lingual_Behavior

    There is no typical way for extending Yii with behaviors, simply because there are multiple options (as you can see in the docs here & here) for using (attaching) behaviors to components (application, models, controllers, …etc)

    That said, most of yii-extensions there are supported with good Usage docs that are enough in most cases to get them working.

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

Sidebar

Related Questions

Is there any way I can add a static extension method to a class.
I'm one of the developers of TryAgain , a Firefox add-on, that displays a
I'd like to write a gmail extension that would add a button on the
I have developed a magento extesnions that allow customers to upload their products to
I'm working on an installer that needs to add several files to AVR Studio
I am currently working on a web add-on that does certain things depending on
I need to add a new MIME mapping for .woff file extensions to IIS
I am trying to add an icon that displays next to the name of
I have developed an asp.net control that inherits from the gridview and its called
I'm writing a Firefox extension (add-on) to allow users to annotate any page with

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.