Yii 1.1: syte-yii

Syte as a Yii Framework Module
10 followers

This is the Syte project as a Yii Framework Module

Requirements

PHP OAuth extension

Usage

  • Download the package here
  • Unpack it and copy the syte folder to your_web_app/protected/modules/
  • Add the syte module to modules array in the your_web_app/protected/config/main.php
  • Add to components array:

array(
 'components' => array(
   'syte' => array(
     'class' => 'syte.components.SyteApplicationComponent',
   ),
 ),
);
  • Open http://localhost/your_web_app/?r=syte and follow the installation instructions

Resources

Syte - https://github.com/rigoneri/syte/

Total 9 comments

#12024 report it
androok at 2013/02/20 10:34pm
RE: RE: updates

No problem. I'll see if I can find some time this week and add some stuff in my fork and send you a pull request.

Thanks for the great extension

#12022 report it
TXGruppi at 2013/02/20 07:40pm
RE: updates

androok,

at the moment i can't update this project.

if u have any update send me a pull request.

PS: Sorry about possible english mistakes.

#12021 report it
androok at 2013/02/20 05:28pm
updates

Do you plan on updating this at all to provide some parity with the python based 'syte' project?

I was just wondering because if not I may send you some pull requests in the future with some updates. I've been meaning to add wordpress API usage as an option for the 'blog' component but I haven't yet had time.

#9186 report it
TXGruppi at 2012/07/26 10:06pm
RE: hehe still wrong !

Just redownload the package.

Thanks.

#9185 report it
yiqing95 at 2012/07/26 10:03pm
hehe still wrong !

you give this : 'class' => 'syte.components.SyteApplicationComponent', but it works till i modify it to the following

'syte' => array(
        'class' => 'application.modules.syte.components.SyteApplicationComponents',
    ),

SyteApplicationComponents why add the "s" to component . it's strange ^-^ ;

#9183 report it
TXGruppi at 2012/07/26 08:11pm
Re: if (!Yii::app()->syte->installed) , CWebApplication.syte is undefined

Sorry, i forgot that.

#9182 report it
yiqing95 at 2012/07/26 07:10pm
if (!Yii::app()->syte->installed) , CWebApplication.syte is undefined

if we should also config the components section ?

#9181 report it
TXGruppi at 2012/07/26 05:49pm
Re: Awesome!

Thanks

#9180 report it
androok at 2012/07/26 05:41pm
Awesome!

Going to try this out today when I get home. I'll be sure to post updates!

I think your install instructions mean to point the user to download the package from here not from the original python project though.

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet
  • Yii Version: 1.1
  • License: Other Open Source License
  • Developed by: TXGruppi
  • Category: Others
  • Votes: +4
  • Downloaded: 0 times
  • Created on: Jul 26, 2012
  • Last updated: Jul 26, 2012
  • Tags: module syte