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 tomodules
array in theyour_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
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.
Re: Awesome!
Thanks
if (!Yii::app()->syte->installed) , CWebApplication.syte is undefined
if we should also config the components section ?
Re: if (!Yii::app()->syte->installed) , CWebApplication.syte is undefined
Sorry, i forgot that.
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 ^-^ ;
RE: hehe still wrong !
Just redownload the package.
Thanks.
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.
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.
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
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.