Revision #2 has been created by koleto on Feb 20, 2011, 1:00:00 AM with the memo:
change extension of the layout view file main.cpp to main.php
« previous (#1) next (#3) »
Changes
Title
unchanged
Understanding "Assets"
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
assets
Content
changed
[...]
Yii::getPathOfAlias('xxii.assets') );
return $this->_assetsUrl;
}
....
// xxii/views/layouts/main.cp
hp
<link rel="stylesheet"
type="text/css"
href="<?php echo $this->module->assetsUrl; ?>/css/main.css"/>
...[...]