I am very pleased to announce the release of my video training course through Packt Publishing called "Beginning Yii".
Learn the Yii framework in minutes
The course is designed for anyone wanting to learn Yii, whether new to frameworks or converting from another.
Eight chapters, each having five videos of between 3 and 5 minutes, take you through the basics of the Yii Framework, building a web application step-by-step.
Save 60% - introductory offer $14 / £8.80 / €10.80
[size=2]Nice! Video format is one the best! [/size]
I bought the course yesterday and am working my way through it now and I must say it is really well put together. I am learning more than I would in hours of reading books.
Top job Chris!
I have been following along with the yii course but i am stuck because the theme supplied does not seem to work.
i have been over and over the code and can not see the problem.
you set up the theme half way through video 3-2 .
i have added the code in to the main.php file
and copied all the files bt i am having no luck solving the issue.
I’ve found some info on this post
As stated, what I did to get it working was to copy the main.php layout file to the layout folder of the theme.
Then, I added
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/screen.css" media="screen, projection" />
to reference the theme’s screen.css
Chris : how do you get it to work without this hassle ?
Another thing I just noticed Chris :
On video 3.3 at 3:27, you add a private variable on line 29 of the photo model.
However, that is in between the PHPdoc and the function for the model function:
class Photo extends CActiveRecord
* Returns the static model of the specified AR class.
* @param string $className active record class name.
* @return Photo the static model class
public static function model($className=__CLASS__)
I’m sure you’ll agree that’s not very good practice