Yii Framework Forum: How To Load Extensions & More From Somewhere Else? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Load Extensions & More From Somewhere Else? Rate Topic: -----

#1 User is offline   Deltawar 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 20-November 12

Posted 30 March 2013 - 06:37 AM

Hello I have used yii for some small sites and like how it works so want to use it for a larger project but am unsure if its suitable for what I want to achieve.

Basically I want to use one core installation to drive multiple sites.

e.g

core/ (contains yii and all extensions I have ever made)
sites/<sitename>/protected (has all the standard folders in protected but can somehow call pre-made extensions in 'core' or create site specific new one for <sitename>)
sites/<sitename>/htdocs (css/layout/images etc)


This way when I update/improve an extension or component in core I dont have to do it for each individual site.



Is this possible with Yii/suitable? Or should I look to another FW or make my own? (trying to avoid making my own as I like a lot of the yii features.)
0

#2 User is offline   JFReyes 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 508
  • Joined: 28-October 09
  • Location:Puerto Rico

Posted 30 March 2013 - 10:20 AM

Yes it is! Take a look at this wiki article and at this and this sections of the Guide.
José
0

#3 User is offline   Deltawar 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 20-November 12

Posted 30 March 2013 - 11:23 AM

View PostJFReyes, on 30 March 2013 - 10:20 AM, said:

Yes it is! Take a look at this wiki article and at this and this sections of the Guide.



thank you :) I'll have a read up on it :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users